Remote MCP Server on Cloudflare
@irvinebroque
关于 Remote MCP Server on Cloudflare
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"remote-mcp-server-6": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Remote MCP Server on Cloudflare?
A template project to run a remote Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It allows developers to expose MCP tools over HTTP/SSE and connect them to clients like Claude Desktop.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies with npm install, then run locally with npx nx dev remote-mcp-server. For remote deployment, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, and run npm run deploy. Connect clients (MCP Inspector, Claude Desktop) using the server’s SSE endpoint (e.g., http://localhost:8787/sse locally or https://worker-name.account-name.workers.dev/sse after deployment).
Key features of Remote MCP Server on Cloudflare
- Provides a remote MCP server on Cloudflare Workers.
- Includes OAuth login for authentication.
- Supports local development with hot-reload.
- Uses SSE (Server-Sent Events) transport.
- Works with MCP Inspector and Claude Desktop.
- Deployable via wrangler CLI.
Use cases of Remote MCP Server on Cloudflare
- Running a math tool server that Claude Desktop can call remotely.
- Prototyping and testing MCP tools locally before deployment.
- Exposing custom MCP tools to authorized users over the internet.
- Leveraging Cloudflare’s global edge network for low-latency tool invocation.
FAQ from Remote MCP Server on Cloudflare
What runtime or dependencies are required?
Node.js and npm are required for local development. Cloudflare Workers runtime is used for production, with Wrangler CLI for deployment.
How does authentication work?
The server uses OAuth login. When connecting a client (e.g., MCP Inspector or Claude Desktop), a browser window opens for user/password authentication. Locally, a mock login screen accepts any email and password.
Where does authentication state live?
OAuth data is stored in a Cloudflare KV namespace (OAUTH_KV), which you create before deployment.
What transport protocol does the server use?
The server communicates via Server-Sent Events (SSE) over HTTP, exposing an endpoint at /sse.
Are there known limitations?
The OAuth implementation locally uses a mock login; production OAuth setup may require additional configuration. In rare cases, clearing ~/.mcp-auth can resolve connection issues.
云与基础设施 分类下的更多 MCP 服务器
K8s MCP Server
alexei-ledK8s-mcp-server is a Model Context Protocol (MCP) server that enables AI assistants like Claude to securely execute Kubernetes commands. It provides a bridge between language models and essential Kubernetes CLI tools including kubectl, helm, istioctl, and argocd, allowing AI syste
Awesome DevOps MCP Servers
rohitg00A curated list of awesome MCP servers focused on DevOps tools and capabilities.
AWS MCP Servers
awslabsOpen source MCP Servers for AWS
MCP Server Kubernetes
Flux159MCP Server for kubernetes management commands
container-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
评论