Remote MCP Server on Cloudflare
@akramansaritorinit
关于 Remote MCP Server on Cloudflare
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"db-query-mcp-server": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Remote MCP Server on Cloudflare?
A template project for running a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It enables developers to deploy remote MCP servers that can be connected to MCP clients like Claude Desktop or the MCP Inspector.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Deploy to Cloudflare using npx wrangler kv namespace create OAUTH_KV and npm run deploy. Connect MCP clients by providing the SSE endpoint (e.g., http://localhost:8787/sse locally or the Workers URL).
Key features of Remote MCP Server on Cloudflare
- OAuth-based user login for MCP server access
- Local development with hot reload via nx dev
- Seamless deployment to Cloudflare Workers
- SSE (Server-Sent Events) transport for MCP communication
- Works with MCP Inspector for testing tool calls
- Ready-to-use configuration for Claude Desktop integration
Use cases of Remote MCP Server on Cloudflare
- Hosting a remote MCP server for AI agents with authentication
- Testing MCP tools locally with the MCP Inspector
- Connecting Claude Desktop to a cloud-hosted MCP server via OAuth
- Building and deploying custom MCP tool sets on Cloudflare’s edge
FAQ from Remote MCP Server on Cloudflare
What dependencies are required?
Node.js and npm are needed for local development. A Cloudflare account is required for deployment.
How is the MCP server accessed?
Clients connect via SSE at the /sse endpoint. The server uses OAuth for authentication during connection.
Where does user data (e.g., OAuth tokens) reside?
OAuth authentication state is stored in a Cloudflare KV namespace (OAUTH_KV) which must be created before deployment.
What transport does the server use?
It uses Server-Sent Events (SSE) as the MCP transport protocol.
Can I run this server only locally and not deploy?
Yes. The local development setup with npx nx dev remote-mcp-server runs a local server at http://localhost:8787/ for testing.
数据库 分类下的更多 MCP 服务器
MCP Alchemy
runekaagaardA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
MCP Server for Milvus
zilliztechModel Context Protocol Servers for Milvus
mcp-server-qdrant: A Qdrant MCP server
qdrantAn official Qdrant Model Context Protocol (MCP) server implementation

PostgreSQL
modelcontextprotocolModel Context Protocol Servers
MCP MongoDB Server
kiliczshA Model Context Protocol Server for MongoDB
评论