MCP.so
ログイン

Remote MCP Server on Cloudflare

@yoyooyooo

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

yoyooyooo

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

{
  "mcpServers": {
    "cf-mcp-server-yoyooyooo": {
      "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 provides a ready-to-deploy MCP (Model Context Protocol) server running on Cloudflare Workers, complete with OAuth login. It allows developers to host MCP tools remotely and connect them to MCP clients such as Claude Desktop or the MCP Inspector.

How to use Remote MCP Server on Cloudflare?

Clone the repository (git clone git@github.com:cloudflare/ai.git), install dependencies (npm install), and run locally with npx nx dev remote-mcp-server. To connect a client, use the SSE endpoint (e.g., http://localhost:8787/sse for local, or your deployed Workers URL). Deploy to Cloudflare by creating a KV namespace (npx wrangler kv namespace create OAUTH_KV), adding the ID to wrangler.jsonc, and running npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Deploy an MCP server on Cloudflare Workers
  • OAuth-based login for secure access
  • SSE transport for client connections
  • Local development with hot‑reload support
  • Compatible with MCP Inspector and Claude Desktop

Use cases of Remote MCP Server on Cloudflare

  • Hosting custom MCP tools for AI assistants like Claude
  • Rapid prototyping of MCP servers with Cloudflare’s edge network
  • Adding OAuth‑protected tool access to remote AI workflows
  • Testing MCP integrations using the official MCP Inspector

よくある質問

1

How do I run the server locally?

Clone the repo, install dependencies, then run `npx nx dev remote-mcp-server`. The server will be available at `http://localhost:8787/`.

2

How do I connect the MCP Inspector to my server?

Run `npx @modelcontextprotocol/inspector`, switch the transport type to `SSE`, and enter `http://localhost:8787/sse` (or your deployed URL) as the server URL. A mock login screen will appear — use any email and password to log in.

3

How do I connect Claude Desktop to the server?

Add an entry to Claude Desktop’s configuration file with the `mcp-remote` command pointing to your server’s SSE endpoint. Example: `"command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"]`. Claude will open a browser for OAuth login.

4

How do I deploy the server to Cloudflare?

Create a KV namespace (`npx wrangler kv namespace create OAUTH_KV`), add its ID to `wrangler.jsonc`, then run `npm run deploy`. Your server will be live at `worker-name.account-name.workers.dev/sse`.

5

How can I debug connection issues?

Restart Claude, or test the server directly with `npx mcp-remote http://localhost:8787/sse`. If needed, clear the auth cache with `rm -rf ~/.mcp-auth`.

コメント

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