Remote MCP Server on Cloudflare
@yoyooyooo
Remote MCP Server on Cloudflare について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"cf-mcp-server-yoyooyooo": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Remote MCP Server on Cloudflare?
Remote MCP Server on Cloudflare provides a ready-to-deploy MCP (Model Context Protocol) server running on Cloudflare Workers, complete with OAuth login. It allows developers to host MCP tools remotely and connect them to MCP clients such as Claude Desktop or the MCP Inspector.
How to use Remote MCP Server on Cloudflare?
Clone the repository (git clone [email protected]:cloudflare/ai.git), install dependencies (npm install), and run locally with npx nx dev remote-mcp-server. To connect a client, use the SSE endpoint (e.g., http://localhost:8787/sse for local, or your deployed Workers URL). Deploy to Cloudflare by creating a KV namespace (npx wrangler kv namespace create OAUTH_KV), adding the ID to wrangler.jsonc, and running npm run deploy.
Key features of Remote MCP Server on Cloudflare
- Deploy an MCP server on Cloudflare Workers
- OAuth-based login for secure access
- SSE transport for client connections
- Local development with hot‑reload support
- Compatible with MCP Inspector and Claude Desktop
Use cases of Remote MCP Server on Cloudflare
- Hosting custom MCP tools for AI assistants like Claude
- Rapid prototyping of MCP servers with Cloudflare’s edge network
- Adding OAuth‑protected tool access to remote AI workflows
- Testing MCP integrations using the official MCP Inspector
FAQ from Remote MCP Server on Cloudflare
How do I run the server locally?
Clone the repo, install dependencies, then 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?
Run npx @modelcontextprotocol/inspector, switch the transport type to SSE, and enter http://localhost:8787/sse (or your deployed URL) as the server URL. A mock login screen will appear — use any email and password to log in.
How do I connect Claude Desktop to the server?
Add an entry to Claude Desktop’s configuration file with the mcp-remote command pointing to your server’s SSE endpoint. Example: "command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"]. Claude will open a browser for OAuth login.
How do I deploy the server to Cloudflare?
Create a KV namespace (npx wrangler kv namespace create OAUTH_KV), add its ID to wrangler.jsonc, then run npm run deploy. Your server will be live at worker-name.account-name.workers.dev/sse.
How can I debug connection issues?
Restart Claude, or test the server directly with npx mcp-remote http://localhost:8787/sse. If needed, clear the auth cache with rm -rf ~/.mcp-auth.
「クラウドとインフラ」の他のコンテンツ
Run Model Context Protocol (MCP) servers with AWS Lambda
awslabsRun existing Model Context Protocol (MCP) stdio-based servers in AWS Lambda functions
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
Cloudflare MCP Server
cloudflareSupabase MCP Server
coleam00Supabase MCP server created in Python.
Firebase MCP
gannonh🔥 Model Context Protocol (MCP) server for Firebase.
コメント