MCP.so
ログイン

Remote MCP Server on Cloudflare

@rabbah

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

rabbah

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "remote-mcp-server-rabbah": {
      "command": "npx",
      "args": [
        "nx",
        "dev",
        "remote-mcp-server"
      ]
    }
  }
}

Remote MCP Server on Cloudflare のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Remote MCP Server on Cloudflare?

A template to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login via browser. It is intended for developers who want to run MCP tools remotely and connect them to clients like Claude Desktop or the MCP Inspector.

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. To deploy, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, then run npm run deploy. Connect clients by pointing them to the /sse endpoint of the server (e.g., http://localhost:8787/sse locally or the workers.dev URL after deployment). For Claude Desktop, add an mcp-remote proxy entry in the config file pointing to the SSE URL.

Key features of Remote MCP Server on Cloudflare

  • Serverless deployment on Cloudflare Workers
  • OAuth login flow via browser
  • SSE (Server‑Sent Events) transport for MCP
  • Local development with hot‑reload
  • Works with MCP Inspector and Claude Desktop
  • CLI proxy (mcp-remote) for client connections

Use cases of Remote MCP Server on Cloudflare

  • Quickly prototype and deploy custom MCP tools
  • Connect Claude Desktop to remote tools behind OAuth
  • Demo an MCP server to collaborators without local setup
  • Run computation (e.g., math tools) via a cloud worker

よくある質問

1

What transport does the server use?

It uses SSE (Server‑Sent Events) as the MCP transport layer.

2

How do I connect Claude Desktop to the server?

Add an entry in Claude’s configuration file with `command: "npx"` and `args: ["mcp-remote", "<sse-url>"]` (e.g., `http://localhost:8787/sse` locally or the remote `workers.dev/sse` URL).

3

What dependencies are required to run the server?

You need Node.js, the repository cloned, and npm install. For deployment you also need the Cloudflare Wrangler CLI and a Cloudflare account.

4

How do I deploy the server to Cloudflare?

Run `npx wrangler kv namespace create OAUTH_KV`, add the returned KV namespace ID to `wrangler.jsonc`, then execute `npm run deploy`.

5

What can I do if the server doesn’t connect?

Try connecting directly with `npx mcp-remote http://localhost:8787/sse` on the command line. In rare cases, clear the auth cache with `rm -rf ~/.mcp-auth`.

コメント

「クラウドとインフラ」の他のコンテンツ