Remote MCP Server on Cloudflare
@Rev4nchist
关于 Remote MCP Server on Cloudflare
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"cloudflare-remote-mcp-server-rev4nchist": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Remote MCP Server on Cloudflare?
Remote MCP Server on Cloudflare is a reference implementation that deploys a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It demonstrates how to run a remote MCP server that communicates over SSE (Server-Sent Events) and can be connected to MCP clients such as the MCP Inspector or Claude Desktop.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies with npm install, and run locally using npx nx dev remote-mcp-server. Connect via the MCP Inspector by selecting SSE transport and entering http://localhost:8787/sse. For Claude Desktop, configure mcpServers with the mcp-remote command pointing to the SSE URL. Deploy to Cloudflare with npm run deploy after setting up an OAuth KV namespace in wrangler.jsonc.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers for global edge deployment.
- Includes OAuth-based login flow for authentication.
- Uses SSE (Server-Sent Events) transport for MCP communication.
- Provides example tools like math (add) for demonstration.
- Can be developed locally and then deployed remotely.
Use cases of Remote MCP Server on Cloudflare
- Developing and testing a remote MCP server locally with the MCP Inspector.
- Connecting Claude Desktop to a locally running MCP server via a proxy.
- Deploying an OAuth-protected MCP server on Cloudflare Workers for production use.
- Extending the server with custom tools for various MCP clients.
FAQ from Remote MCP Server on Cloudflare
How do I connect the MCP Inspector?
Start the inspector with npx @modelcontextprotocol/inspector, set Transport Type to SSE, enter http://localhost:8787/sse (or your remote URL), and log in with any email/password.
How do I connect Claude Desktop?
Edit Claude Desktop’s config file and add an entry using mcp-remote with the command npx and args ["mcp-remote", "http://localhost:8787/sse"] (or your remote URL). Restart Claude; a browser window will open for login.
How do I deploy the server to Cloudflare?
Create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, then run npm run deploy.
How can I debug connection issues?
Try restarting Claude, or connect directly via npx mcp-remote http://localhost:8787/sse. If needed, clear cached auth files with rm -rf ~/.mcp-auth.
What transport type does the server use?
The server communicates over SSE (Server-Sent Events). Clients connect to the /sse endpoint of the server URL.
云与基础设施 分类下的更多 MCP 服务器
Awesome DevOps MCP Servers
rohitg00A curated list of awesome MCP servers focused on DevOps tools and capabilities.
Supabase MCP Server
supabase-communityConnect Supabase to your AI assistants
AWS MCP
RafalWilinskiTalk with your AWS using Claude. Model Context Protocol (MCP) server for AWS. Better Amazon Q alternative.
Firebase MCP
gannonh🔥 Model Context Protocol (MCP) server for Firebase.
🐳 docker-mcp
QuantGeekDevA docker MCP Server (modelcontextprotocol)
评论