MCP.so
ログイン

Remote MCP Server on Cloudflare

@MCP-Mirror

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

MCP-Mirror

Remote MCP Server on Cloudflare について

Mirror of

Remote MCP Server on Cloudflare の設定

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

{
  "mcpServers": {
    "Laity624_my-mcp-server": {
      "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 to deploy an MCP server on Cloudflare Workers with OAuth login. It is designed for developers who want to run a remote MCP server that can be accessed by MCP clients such as Claude Desktop.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Use the MCP Inspector to test the server by connecting via SSE to http://localhost:8787/sse. Deploy to Cloudflare with npm run deploy after creating a KV namespace. Connect Claude Desktop by editing its config to use npx mcp-remote pointing to your server’s /sse endpoint.

Key features of Remote MCP Server on Cloudflare

  • Deploy an MCP server on Cloudflare Workers
  • Include OAuth login for authentication
  • Develop and test locally with MCP Inspector
  • Connect directly to Claude Desktop via a proxy

Use cases of Remote MCP Server on Cloudflare

  • Run a remote MCP server with an authentication layer
  • Test MCP tools locally using the Inspector
  • Connect the server to Claude Desktop for AI tool access
  • Explore deploying MCP servers on a serverless platform

よくある質問

1

How do I develop the server locally?

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

2

How can I test the server with MCP Inspector?

Start the Inspector with `npx @modelcontextprotocol/inspector`, set Transport Type to SSE, enter `http://localhost:8787/sse` as the URL, and connect. A mock login screen appears; enter any email and password to proceed.

3

How do I deploy the server to Cloudflare?

First run `npx wrangler kv namespace create OAUTH_KV` and add the namespace ID to `wrangler.jsonc`. Then run `npm run deploy` to publish the Worker.

4

How do I connect Claude Desktop to the server?

In Claude Desktop, go to Settings > Developer > Edit Config and add an entry with the command `npx mcp-remote` and args pointing to your server’s `/sse` URL (e.g., `https://worker-name.account-name.workers.dev/sse`). Restart Claude.

5

What transport and authentication does the server use?

The server communicates via SSE (Server-Sent Events). Authentication is handled via OAuth, with a mock login screen for local development.

コメント

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