Remote MCP Server on Cloudflare
@Codebrahma
Remote MCP Server on Cloudflare について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"remote-mcp-server-codebrahma": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Remote MCP Server on Cloudflare?
A guide and starter template for deploying a remote MCP server on Cloudflare Workers, complete with OAuth login. It is for developers who want to host MCP tools externally and connect them to clients like the MCP Inspector or Claude Desktop.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, run locally with npx nx dev remote-mcp-server, then connect clients via SSE at http://localhost:8787/sse. To deploy, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add the ID to wrangler.jsonc, and run npm run deploy. Configure Claude Desktop by adding an entry to its config file that uses npx mcp-remote <URL>/sse.
Key features of Remote MCP Server on Cloudflare
- Local development with hot reload via nx.
- OAuth login flow with mock login screen locally.
- SSE transport for MCP communication.
- Deploy to Cloudflare Workers with KV storage.
- Connect MCP Inspector or Claude Desktop remotely.
Use cases of Remote MCP Server on Cloudflare
- Develop and test MCP tools locally before deploying.
- Host a public MCP server that clients can call remotely.
- Integrate MCP-based tools into Claude Desktop via a remote proxy.
- Learn how to set up OAuth for MCP on Cloudflare Workers.
FAQ from Remote MCP Server on Cloudflare
What runtime does this server require?
It runs on Cloudflare Workers using the wrangler CLI. Local development requires Node.js and npm.
How do I connect the MCP Inspector?
Start the inspector with npx @modelcontextprotocol/inspector, set Transport Type to SSE, and enter the server URL (e.g., http://localhost:8787/sse). Complete the OAuth login to see and call tools.
How do I connect Claude Desktop to a remote deployment?
Update the Claude configuration file to use npx mcp-remote https://your-worker.your-account.workers.dev/sse as the MCP server. Claude will open a browser window for OAuth login.
What happens during OAuth login?
Locally, a mock login screen accepts any email and password. On the deployed server, OAuth is handled via Cloudflare Workers using a KV namespace for session storage.
What transport protocol does this server use?
It uses Server-Sent Events (SSE) as the transport for MCP communication, as shown by the /sse endpoint.
「クラウドとインフラ」の他のコンテンツ
MCP Server that interacts with Azure AI Foundry (experimental)
azure-ai-foundryA MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server
Run Model Context Protocol (MCP) servers with AWS Lambda
awslabsRun existing Model Context Protocol (MCP) stdio-based servers in AWS Lambda functions
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
Kubernetes MCP Server
manusaModel Context Protocol (MCP) server for Kubernetes and OpenShift
Supabase MCP Server
supabase-communityConnect Supabase to your AI assistants
コメント