Remote MCP Server on Cloudflare
@artiveloper
关于 Remote MCP Server on Cloudflare
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"naver-api-mcp-server": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Remote MCP Server on Cloudflare?
A template and guide for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to host MCP servers that can be accessed by remote clients like Claude Desktop and 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. To connect clients, use the MCP Inspector with SSE transport on http://localhost:8787/sse, or configure Claude Desktop by adding an mcp-remote proxy in its settings JSON. Deploy to Cloudflare by creating an OAUTH_KV namespace with npx wrangler kv namespace create OAUTH_KV, adding the ID to wrangler.jsonc, then running npm run deploy.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers with full OAuth login
- Supports SSE (Server-Sent Events) transport
- Works with MCP Inspector for local testing
- Connects to Claude Desktop via a local proxy
- Deployable to a public
workers.devURL - Uses KV namespace for OAuth state management
Use cases of Remote MCP Server on Cloudflare
- Host a math tool server that Claude can call remotely
- Develop and test MCP tools locally before deploying
- Connect any MCP-compatible client to a Cloudflare-hosted server
- Add OAuth‑protected MCP endpoints for secure AI agent integration
FAQ from Remote MCP Server on Cloudflare
How do I run the server locally?
Clone the repo, install dependencies, and run npx nx dev remote-mcp-server. The server will be available at http://localhost:8787/.
How do I connect the MCP Inspector to my server?
Start the inspector with npx @modelcontextprotocol/inspector, switch transport type to SSE, and enter http://localhost:8787/sse as the server URL. A mock login screen appears; any email/password works locally.
How do I connect Claude Desktop to my remote deployed server?
Update Claude’s configuration JSON to use the mcp-remote command with your workers.dev URL appended with /sse. For example: "args": ["mcp-remote", "https://worker-name.account-name.workers.dev/sse"].
How do I deploy the server to Cloudflare?
Run npx wrangler kv namespace create OAUTH_KV, add the returned namespace ID to wrangler.jsonc, then execute npm run deploy. Your server will be live at a workers.dev URL.
What should I do if something goes wrong?
Restart Claude, try connecting directly with npx mcp-remote http://localhost:8787/sse, or clear cached auth data with rm -rf ~/.mcp-auth.
开发工具 分类下的更多 MCP 服务器
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
nuxt-mcp / vite-plugin-mcp
antfuMCP server helping models to understand your Vite/Nuxt app better.
Golf
golf-mcpProduction-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents
test
prysmaticlabsGo implementation of Ethereum proof of stake
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
评论