Remote MCP Server on Cloudflare
@heiyhia
Remote MCP Server on Cloudflare について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"remote-mcp-server-heiyhia": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Remote MCP Server on Cloudflare?
A remote MCP server that runs on Cloudflare Workers with integrated OAuth login. It allows developers to serve MCP tools over the internet and authenticate users before tool access.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. For remote access, deploy to Cloudflare using npx wrangler kv namespace create OAUTH_KV and npm run deploy. Connect clients like the MCP Inspector or Claude Desktop via the SSE endpoint (e.g., http://localhost:8787/sse or your workers.dev URL). Use a local proxy (npx mcp-remote) when connecting from Claude Desktop.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers for global, serverless deployment.
- Includes OAuth-based login for secure access.
- Supports SSE transport for MCP communication.
- Works with MCP Inspector and Claude Desktop.
- Provides a local development environment.
- Uses Cloudflare KV for OAuth state storage.
Use cases of Remote MCP Server on Cloudflare
- Hosting custom MCP tools accessible from any internet-connected MCP client.
- Adding authentication to an MCP server without building auth from scratch.
- Rapidly prototyping and deploying MCP tools using Cloudflare's serverless platform.
- Connecting Claude Desktop to a remote MCP server with secure login.
FAQ from Remote MCP Server on Cloudflare
What do I need to run the server locally?
Clone the cloudflare/ai repository, run npm install, then npx nx dev remote-mcp-server. The server will be available at http://localhost:8787/.
How do I connect Claude Desktop to the server?
Configure Claude Desktop's MCP settings to point to a local proxy: set the mcpServers entry with command npx, arguments ["mcp-remote", "http://localhost:8787/sse"] (or the remote URL). Restart Claude and a browser window will open for login.
How do I deploy the server to Cloudflare?
Create a KV namespace with npx wrangler kv namespace create OAUTH_KV, copy its ID into wrangler.jsonc, then run npm run deploy. Your server will be live at a workers.dev URL.
How can I debug connection issues?
Restart Claude, or test the server directly with npx mcp-remote http://localhost:8787/sse. In rare cases, delete the ~/.mcp-auth folder.
How do I connect a remote MCP client (like the Inspector)?
Use the MCP Inspector, set Transport Type to SSE, and enter your deployed workers.dev URL appended with /sse (e.g., worker-name.account-name.workers.dev/sse). Click Connect; you will be redirected to an OAuth login page.
「クラウドとインフラ」の他のコンテンツ
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
K8s MCP Server
alexei-ledK8s-mcp-server is a Model Context Protocol (MCP) server that enables AI assistants like Claude to securely execute Kubernetes commands. It provides a bridge between language models and essential Kubernetes CLI tools including kubectl, helm, istioctl, and argocd, allowing AI syste
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
MCP Gateway
mcp-ecosystem🧩 MCP Gateway - A lightweight gateway service that instantly transforms existing MCP Servers and APIs into MCP servers with zero code changes. Features Docker deployment and management UI, requiring no infrastructure modifications.
AWS MCP
RafalWilinskiTalk with your AWS using Claude. Model Context Protocol (MCP) server for AWS. Better Amazon Q alternative.
コメント