MCP.so
ログイン

Remote MCP Server on Cloudflare

@kamilzafar

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

kamilzafar

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

{
  "mcpServers": {
    "remote-mcp-server-kamilzafar": {
      "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 remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is for developers who want to run MCP tools hosted remotely and connect them to MCP clients like Claude Desktop.

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. Use the MCP Inspector or configure Claude Desktop using npx mcp-remote with the server’s SSE endpoint. Deploy to Cloudflare with npm run deploy after creating a KV namespace with npx wrangler kv namespace create OAUTH_KV.

Key features of Remote MCP Server on Cloudflare

  • OAuth login built in with a mock login screen
  • SSE (Server-Sent Events) transport for MCP communication
  • Deploy to Cloudflare Workers with one command
  • Local development with hot reload via Nx
  • Works with MCP Inspector and Claude Desktop

Use cases of Remote MCP Server on Cloudflare

  • Developers prototyping a remote MCP server with authentication
  • Connecting Claude Desktop to a cloud-hosted MCP tool
  • Testing MCP tools locally before deploying to production
  • Running a math or custom tool server accessible from anywhere

よくある質問

1

What transport type does the server use?

The server uses SSE (Server-Sent Events). In the MCP Inspector, set Transport Type to `SSE` and use the `/sse` endpoint.

2

How do I deploy to Cloudflare?

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

3

How do I connect Claude Desktop to the remote server?

Add a configuration entry using `npx mcp-remote` with the server’s full `workers.dev` URL ending in `/sse`. Restart Claude Desktop.

4

How can I debug connection issues?

Restart Claude Desktop, or test the server directly with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear the `~/.mcp-auth` folder.

5

What are the dependencies for local development?

Node.js, npm, and the Nx build tool. The repository uses `nx` for running the server locally (`npx nx dev remote-mcp-server`).

コメント

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