MCP.so
ログイン

Remote MCP Server on Cloudflare

@whoesli

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

whoesli

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

Remote MCP Server on Cloudflare is a template for deploying a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It allows AI clients like Claude Desktop to call tools hosted on Cloudflare’s edge network via SSE transport.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with 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 in the Claude config file using npx mcp-remote http://localhost:8787/sse. Deploy to Cloudflare with npx wrangler kv namespace create OAUTH_KV, add the KV namespace ID to wrangler.jsonc, and run npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for global edge deployment.
  • Includes OAuth login flow.
  • Uses SSE transport for MCP communication.
  • Provides a math tool (add) as an example.
  • Integrates with MCP Inspector for testing.
  • Works with Claude Desktop via a local proxy.

Use cases of Remote MCP Server on Cloudflare

  • Hosting custom MCP tools for AI assistants on a serverless platform.
  • Testing MCP tool development locally before deploying globally.
  • Connecting Claude Desktop to remote tools for extended functionality.

よくある質問

1

How do I run the MCP server locally?

Clone the repo, install dependencies, and run `npx nx dev remote-mcp-server`. Access the server at `http://localhost:8787/`.

2

How do I connect Claude Desktop to the remote server?

Add a configuration entry in Claude Desktop’s config file with command `npx mcp-remote` and args `["https://worker-name.account-name.workers.dev/sse"]`.

3

How do I deploy the server to Cloudflare?

Create a KV namespace with `npx wrangler kv namespace create OAUTH_KV`, add its ID to `wrangler.jsonc`, then run `npm run deploy`.

4

What transport does the server use?

It uses SSE (Server-Sent Events) as the transport protocol.

5

How do I debug connection issues?

Restart Claude, try connecting directly via `npx mcp-remote http://localhost:8787/sse`, or clear cached auth files by removing the `~/.mcp-auth` directory.

コメント

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