MCP.so
ログイン

Remote MCP Server on Cloudflare

@meethuhu

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

meethuhu

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

A remote MCP server deployed on Cloudflare Workers with built-in OAuth login, enabling developers to run Model Context Protocol tools over SSE (Server-Sent Events) and connect to them from local or remote clients.

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. Deploy to Cloudflare by creating a KV namespace (npx wrangler kv namespace create OAUTH_KV), adding its ID to wrangler.jsonc, then running npm run deploy. Connect clients via the MCP Inspector or Claude Desktop using an SSE URL (e.g., http://localhost:8787/sse locally or https://worker-name.account-name.workers.dev/sse after deployment).

Key features of Remote MCP Server on Cloudflare

  • OAuth login integrated into the MCP server.
  • Runs on Cloudflare Workers for global availability.
  • Uses SSE transport for remote connections.
  • Local development supported with a mock login screen.
  • Compatible with MCP Inspector and Claude Desktop.
  • Deployable with a single command using Wrangler.

Use cases of Remote MCP Server on Cloudflare

  • Host MCP tools as a remote service accessible over the internet.
  • Connect Claude Desktop to an MCP server without running it locally.
  • Test and debug MCP tools interactively with the MCP Inspector.
  • Deploy edge-hosted MCP servers using Cloudflare’s infrastructure.

よくある質問

1

What Cloudflare services are required?

A Cloudflare Workers KV namespace (created via `wrangler kv namespace create OAUTH_KV`) is required for OAuth storage.

2

How do I connect Claude Desktop to the remote server?

Add a configuration entry in Claude Desktop’s `mcpServers` using `npx mcp-remote` with the SSE URL (e.g., `https://worker-name.account-name.workers.dev/sse`). The server’s OAuth login will open in a browser window.

3

Can I develop and test locally before deploying?

Yes. Run `npx nx dev remote-mcp-server` to start a local instance at `http://localhost:8787/`. Use the MCP Inspector with `http://localhost:8787/sse` to test, and a mock login screen appears for authentication.

4

How do I deploy the server to Cloudflare?

Create a KV namespace with `npx wrangler kv namespace create OAUTH_KV`, add the returned ID to `wrangler.jsonc`, then run `npm run deploy`. The server will be available at a `workers.dev` URL.

5

What transport protocol does the server use?

It uses Server-Sent Events (SSE) via the `/sse` endpoint. All client connections (Inspector, Claude Desktop, CLI) must point to this URL.

コメント

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