Remote MCP Server on Cloudflare
@MCP-Mirror
关于 Remote MCP Server on Cloudflare
Mirror of
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"LiteraturePro_mcp-server": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Remote MCP Server on Cloudflare?
A template for deploying an MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login, enabling remote MCP clients to connect over HTTP via SSE (Server-Sent Events).
How to use Remote MCP Server on Cloudflare?
Clone the repository (github.com/cloudflare/ai), install dependencies (npm install), and run locally with npx nx dev remote-mcp-server. Then connect the MCP Inspector or Claude Desktop by configuring the SSE endpoint (e.g., http://localhost:8787/sse). Deploy to Cloudflare using npm run deploy after creating an OAuth KV namespace.
Key features of Remote MCP Server on Cloudflare
- Deploy on Cloudflare Workers with OAuth authentication
- Local development with hot‑reload via Nx
- SSE transport for remote MCP client connections
- Compatible with MCP Inspector for testing
- Integrates with Claude Desktop via a local proxy (
mcp-remote) - Includes mock login for local development
Use cases of Remote MCP Server on Cloudflare
- Deploy a secure, remotely accessible MCP server for AI assistants
- Connect Claude Desktop to an MCP tool server hosted on Cloudflare
- Prototype MCP tools locally with full OAuth flow simulation
- Enable multiple remote clients to call server tools over the internet
FAQ from Remote MCP Server on Cloudflare
How do I run the server locally?
Clone the repo, run npx nx dev remote-mcp-server, then open http://localhost:8787/ in a browser.
How can I test the MCP server after deploying?
Use npx @modelcontextprotocol/inspector@latest, enter your workers.dev URL with /sse as the SSE endpoint, and connect.
How do I connect Claude Desktop to the server?
Edit Claude’s configuration file to add an mcpServers entry that uses {"command": "npx", "args": ["mcp-remote", "https://your-worker.workers.dev/sse"]}.
What are the deployment requirements?
A Cloudflare account, Node.js, npm, and Wrangler CLI. You must create an OAUTH_KV namespace and add its ID to wrangler.jsonc.
How do I debug connection issues?
Restart Claude or test directly with npx mcp-remote http://localhost:8787/sse. If needed, clear the files in ~/.mcp-auth with rm -rf ~/.mcp-auth.
云与基础设施 分类下的更多 MCP 服务器
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
tfmcp: Terraform Model Context Protocol Tool
nwiizo🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments. Supports reading Terraform configurations, analyzing plans, applying configurations, and managing state with Claude Desktop integrati
MCP Server Kubernetes
Flux159MCP Server for kubernetes management commands
Supabase MCP Server
supabase-communityConnect Supabase to your AI assistants
Firebase MCP
gannonh🔥 Model Context Protocol (MCP) server for Firebase.
评论