MCP.so
ログイン

Remote MCP Server on Cloudflare

@Cam10001110101

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

Cam10001110101

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

A template to run a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It enables MCP clients to connect to tools over SSE, whether locally during development or remotely after deployment.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run npx nx dev remote-mcp-server to develop locally. For production, deploy using npm run deploy after creating a KV namespace (OAUTH_KV) and adding its ID to wrangler.jsonc. Clients connect via the SSE endpoint (e.g., /sse), and you can use the MCP Inspector or configure Claude Desktop with a local proxy (mcp-remote).

Key features of Remote MCP Server on Cloudflare?

  • Remote MCP server on Cloudflare Workers
  • OAuth login built in
  • SSE transport for client-server communication
  • Local development with live reload
  • Easy deployment via wrangler

Use cases of Remote MCP Server on Cloudflare?

  • Hosting MCP tools accessible from any remote client
  • Rapid prototyping of MCP servers with Cloudflare’s edge infrastructure
  • Connecting Claude Desktop to a cloud-hosted tool server with authentication
  • Testing and debugging MCP tools with the official MCP Inspector

よくある質問

1

How do I develop the server locally?

Clone the repo, run `npm install`, then `npx nx dev remote-mcp-server` to start a local instance at `http://localhost:8787/`.

2

How do I connect the MCP Inspector?

Start the inspector with `npx @modelcontextprotocol/inspector`, set transport to SSE, and enter `http://localhost:8787/sse` (or your deployed URL) as the server URL. Complete the mock login to browse and invoke tools.

3

How do I connect Claude Desktop to the server?

Edit Claude Desktop’s configuration (`claude_desktop_config.json`) to point to the local or remote SSE URL via a local proxy: use the `mcp-remote` command with the appropriate URL and restart Claude.

4

How do I deploy the server to Cloudflare?

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

5

What transport does the server use?

The server uses Server-Sent Events (SSE) for communication. All client connections must specify the `/sse` endpoint.

コメント

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