Remote MCP Server on Cloudflare
@anishone
Remote MCP Server on Cloudflare について
概要はまだありません
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"remote-mcp-server-anishone": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Remote MCP Server on Cloudflare?
Remote MCP Server on Cloudflare is a template to get a remote MCP (Model Context Protocol) server running on Cloudflare Workers with OAuth login. It is for developers who want to deploy and connect MCP tools to clients like Claude Desktop over SSE.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies with npm install, and run locally with npx nx dev remote-mcp-server. Connect via the MCP Inspector by switching transport to SSE and entering http://localhost:8787/sse. Deploy to Cloudflare using npm run deploy after setting up an OAuth KV namespace in wrangler.jsonc. Connect Claude Desktop by configuring the mcpServers JSON with the mcp-remote command and the deployed Workers URL.
Key features of Remote MCP Server on Cloudflare
- Deploy a remote MCP server on Cloudflare Workers.
- Includes OAuth login flow for authentication.
- SSE transport for remote connections.
- Local development with hot reload via Nx.
- Connect to Claude Desktop via a local proxy.
- Debugging support with CLI and credential cleanup.
Use cases of Remote MCP Server on Cloudflare
- Running a serverless math tool MCP server for AI assistants.
- Hosting custom MCP tools and calling them from remote clients.
- Prototyping MCP integrations with OAuth-based user authentication.
- Connecting MCP tools to Claude Desktop in a production-like environment.
FAQ from Remote MCP Server on Cloudflare
How to connect the MCP Inspector to the local 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 will appear; input any email and password to authenticate.
How to connect Claude Desktop to the remote server?
Update Claude Desktop’s configuration file to include an mcpServers entry with the command npx mcp-remote and the args set to your workers.dev URL with the /sse path (e.g., ["https://worker-name.account-name.workers.dev/sse"]).
How to deploy the server to Cloudflare?
Run npx wrangler kv namespace create OAUTH_KV to create a KV namespace, add its ID to wrangler.jsonc, then run npm run deploy to deploy the Worker.
What to do if the connection fails?
Restart Claude, or test the MCP server directly with npx mcp-remote <URL>. If needed, clear cached credentials with rm -rf ~/.mcp-auth.
よくある質問
How to connect the MCP Inspector to the local 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 will appear; input any email and password to authenticate.
How to connect Claude Desktop to the remote server?
Update Claude Desktop’s configuration file to include an `mcpServers` entry with the command `npx mcp-remote` and the `args` set to your `workers.dev` URL with the `/sse` path (e.g., `["https://worker-name.account-name.workers.dev/sse"]`).
How to deploy the server to Cloudflare?
Run `npx wrangler kv namespace create OAUTH_KV` to create a KV namespace, add its ID to `wrangler.jsonc`, then run `npm run deploy` to deploy the Worker.
What to do if the connection fails?
Restart Claude, or test the MCP server directly with `npx mcp-remote <URL>`. If needed, clear cached credentials with `rm -rf ~/.mcp-auth`.
基本情報
「クラウドとインフラ」の他のコンテンツ
🐳 docker-mcp
QuantGeekDevA docker MCP Server (modelcontextprotocol)

Aws Kb Retrieval Server
modelcontextprotocolModel Context Protocol Servers
Supabase MCP Server
coleam00Supabase MCP server created in Python.
Mcp K8s Go
strowkMCP server connecting to Kubernetes
Kubernetes MCP Server
manusaModel Context Protocol (MCP) server for Kubernetes and OpenShift
コメント