What are the prerequisites to run Remote MCP Server on Cloudflare?
Node.js and npm are required for local development. Deployment requires a Cloudflare account and the Wrangler CLI.
@KenNguyen-34
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"remote-mcp-server-kennguyen-34": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
Remote MCP Server on Cloudflare is a reference implementation for running an MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It enables developers to expose MCP tools over HTTP/SSE and connect them to remote clients such as Claude Desktop.
Clone the repository, install dependencies with npm install, then run locally with npx nx dev remote-mcp-server. For deployment, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, and run npm run deploy. Connect clients via SSE by pointing them to http://localhost:8787/sse (local) or https://worker-name.account-name.workers.dev/sse (deployed). Use the MCP Inspector or mcp-remote proxy to interact with the server.
Node.js and npm are required for local development. Deployment requires a Cloudflare account and the Wrangler CLI.
Start the Inspector with `npx @modelcontextprotocol/inspector`, set Transport Type to SSE, and enter `http://localhost:8787/sse` (local) or the `workers.dev` URL as the server URL. A mock login screen will appear.
Add an entry to Claude Desktop’s config file with `"command": "npx"` and `"args": ["mcp-remote", "http://localhost:8787/sse"]` for local or `"https://worker-name.account-name.workers.dev/sse"` for remote. Restart Claude and a browser login window will open.
Run `npx mcp-remote http://localhost:8787/sse` directly on the command line. If needed, clear cached authorization files with `rm -rf ~/.mcp-auth`.
Yes, authentication state is stored in a Cloudflare KV namespace named `OAUTH_KV`, which you create during setup.
Model Context Protocol (MCP) server for Kubernetes and OpenShift
Development environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
MCP server for Backblaze B2 Cloud Storage: a focused, safe 40-tool surface (17 native B2 SDK, 19 S3 data-plane, 4 analytics) for any MCP-compatible AI client, currently incubating in Backblaze-Labs
Connect Supabase to your AI assistants
评论