Remote MCP Server on Cloudflare
@MCP-Mirror
关于 Remote MCP Server on Cloudflare
Mirror of
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"Laity624_my-mcp-server": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Remote MCP Server on Cloudflare?
Remote MCP Server on Cloudflare is a template to deploy an MCP server on Cloudflare Workers with OAuth login. It is designed for developers who want to run a remote MCP server that can be accessed by MCP clients such as Claude Desktop.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Use the MCP Inspector to test the server by connecting via SSE to http://localhost:8787/sse. Deploy to Cloudflare with npm run deploy after creating a KV namespace. Connect Claude Desktop by editing its config to use npx mcp-remote pointing to your server’s /sse endpoint.
Key features of Remote MCP Server on Cloudflare
- Deploy an MCP server on Cloudflare Workers
- Include OAuth login for authentication
- Develop and test locally with MCP Inspector
- Connect directly to Claude Desktop via a proxy
Use cases of Remote MCP Server on Cloudflare
- Run a remote MCP server with an authentication layer
- Test MCP tools locally using the Inspector
- Connect the server to Claude Desktop for AI tool access
- Explore deploying MCP servers on a serverless platform
FAQ from Remote MCP Server on Cloudflare
How do I develop the server locally?
Clone the repository, run npm install, then execute npx nx dev remote-mcp-server. The server will be available at http://localhost:8787/.
How can I test the server with MCP Inspector?
Start the Inspector with npx @modelcontextprotocol/inspector, set Transport Type to SSE, enter http://localhost:8787/sse as the URL, and connect. A mock login screen appears; enter any email and password to proceed.
How do I deploy the server to Cloudflare?
First run npx wrangler kv namespace create OAUTH_KV and add the namespace ID to wrangler.jsonc. Then run npm run deploy to publish the Worker.
How do I connect Claude Desktop to the server?
In Claude Desktop, go to Settings > Developer > Edit Config and add an entry with the command npx mcp-remote and args pointing to your server’s /sse URL (e.g., https://worker-name.account-name.workers.dev/sse). Restart Claude.
What transport and authentication does the server use?
The server communicates via SSE (Server-Sent Events). Authentication is handled via OAuth, with a mock login screen for local development.
云与基础设施 分类下的更多 MCP 服务器
Firebase MCP
gannonh🔥 Model Context Protocol (MCP) server for Firebase.
container-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
Kubernetes MCP Server
manusaModel Context Protocol (MCP) server for Kubernetes and OpenShift
MCP Server that interacts with Azure AI Foundry (experimental)
azure-ai-foundryA MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server
Mcp K8s Go
strowkMCP server connecting to Kubernetes
评论