Remote MCP Server on Cloudflare
@Rev4nchist
Remote MCP Server on Cloudflare について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"cloudflare-remote-mcp-server-rev4nchist": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Remote MCP Server on Cloudflare?
Remote MCP Server on Cloudflare is a reference implementation that deploys a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It demonstrates how to run a remote MCP server that communicates over SSE (Server-Sent Events) and can be connected to MCP clients such as 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 using npx nx dev remote-mcp-server. Connect via the MCP Inspector by selecting SSE transport and entering http://localhost:8787/sse. For Claude Desktop, configure mcpServers with the mcp-remote command pointing to the SSE URL. Deploy to Cloudflare with npm run deploy after setting up an OAuth KV namespace in wrangler.jsonc.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers for global edge deployment.
- Includes OAuth-based login flow for authentication.
- Uses SSE (Server-Sent Events) transport for MCP communication.
- Provides example tools like math (add) for demonstration.
- Can be developed locally and then deployed remotely.
Use cases of Remote MCP Server on Cloudflare
- Developing and testing a remote MCP server locally with the MCP Inspector.
- Connecting Claude Desktop to a locally running MCP server via a proxy.
- Deploying an OAuth-protected MCP server on Cloudflare Workers for production use.
- Extending the server with custom tools for various MCP clients.
FAQ from Remote MCP Server on Cloudflare
How do I connect the MCP Inspector?
Start the inspector with npx @modelcontextprotocol/inspector, set Transport Type to SSE, enter http://localhost:8787/sse (or your remote URL), and log in with any email/password.
How do I connect Claude Desktop?
Edit Claude Desktop’s config file and add an entry using mcp-remote with the command npx and args ["mcp-remote", "http://localhost:8787/sse"] (or your remote URL). Restart Claude; 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, add the namespace ID to wrangler.jsonc, then run npm run deploy.
How can I debug connection issues?
Try restarting Claude, or connect directly via npx mcp-remote http://localhost:8787/sse. If needed, clear cached auth files with rm -rf ~/.mcp-auth.
What transport type does the server use?
The server communicates over SSE (Server-Sent Events). Clients connect to the /sse endpoint of the server URL.
「クラウドとインフラ」の他のコンテンツ
Run Model Context Protocol (MCP) servers with AWS Lambda
awslabsRun existing Model Context Protocol (MCP) stdio-based servers in AWS Lambda functions
container-use
aluzzardiDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
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.
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute

Aws Kb Retrieval Server
modelcontextprotocolModel Context Protocol Servers
コメント