Remote MCP Server on Cloudflare
@UXMcCauley
Remote MCP Server on Cloudflare について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"remote-mcp-server-uxmccauley": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Remote MCP Server on Cloudflare?
It is a guide and template for running a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. The server hosts tools (e.g., a math tool) that can be called by MCP clients like the MCP Inspector or Claude Desktop.
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 clients using the SSE endpoint (e.g., http://localhost:8787/sse). Deploy with npx wrangler kv namespace create OAUTH_KV, update wrangler.jsonc, then npm run deploy.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers for remote access
- OAuth login flow integrated
- Example math tool (add) ready to use
- Uses SSE transport for MCP communication
- Supports local development with MCP Inspector
- Can connect to Claude Desktop via
mcp-remoteproxy
Use cases of Remote MCP Server on Cloudflare
- Hosting an MCP server on a global edge network
- Testing MCP tools locally before deployment
- Connecting Claude Desktop to remote MCP tools
- Demonstrating OAuth authentication for MCP servers
- Building and deploying custom MCP tools with Cloudflare Workers
FAQ from Remote MCP Server on Cloudflare
What runtime and dependencies are required?
Node.js and npm are needed for local development. A Cloudflare account and Wrangler CLI are required for deployment.
How does authentication work?
The server uses OAuth login. When connecting via MCP Inspector or Claude Desktop, a browser window opens for user/password login (mock login in local development).
What transport protocol does the server use?
It uses SSE (Server-Sent Events) as the MCP transport, accessed via the /sse endpoint.
How can I debug connection issues?
Run npx mcp-remote http://localhost:8787/sse to test direct CLI connection. Restart Claude or clear ~/.mcp-auth if needed.
Where are OAuth data stored?
OAuth tokens are stored in a Cloudflare KV namespace (OAUTH_KV), created during deployment setup.
「クラウドとインフラ」の他のコンテンツ
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
Cloudflare MCP Server
cloudflareAWS MCP Servers
awslabsOpen source MCP Servers for AWS
Firebase MCP
gannonh🔥 Model Context Protocol (MCP) server for Firebase.
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
コメント