MCP.so
ログイン

Remote MCP Server on Cloudflare

@niwaip

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

niwaip

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

It is a server that implements the Model Context Protocol (MCP) and runs on Cloudflare Workers, complete with OAuth login. It allows remote MCP clients to connect and call tools.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Connect using the MCP Inspector (SSE transport) or configure Claude Desktop with npx mcp-remote pointing to the local or deployed /sse URL. Deploy to Cloudflare using npm run deploy after creating a KV namespace for OAuth state.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for global edge deployment.
  • Includes OAuth login for authentication.
  • Supports SSE (Server-Sent Events) transport.
  • Can be developed locally with the MCP Inspector.
  • Integrates with Claude Desktop via a local proxy (mcp-remote).
  • Uses Cloudflare KV for OAuth state storage.

Use cases of Remote MCP Server on Cloudflare

  • Deploying a remote MCP server accessible over the internet.
  • Providing tool access to MCP clients like Claude Desktop.
  • Developing and testing MCP tools locally before deployment.
  • Creating a math tool server (as shown with an add tool example).

よくある質問

1

How do I connect Claude Desktop to my local MCP server?

Edit Claude Desktop config to use `npx mcp-remote` with the local SSE URL `http://localhost:8787/sse`.

2

What transport type does the MCP Inspector use?

SSE (Server-Sent Events). In the inspector, switch Transport Type to SSE and enter the `/sse` URL.

3

How do I deploy to Cloudflare?

Use `npx wrangler kv namespace create OAUTH_KV`, add the namespace ID to `wrangler.jsonc`, then `npm run deploy`.

4

How can I debug connection issues?

Restart Claude, try connecting with `npx mcp-remote http://localhost:8787/sse` on the command line, or clear `~/.mcp-auth` files.

5

What runtime does this require?

It runs on Cloudflare Workers; local development requires Node.js and npm.

コメント

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