MCP.so
ログイン

Remote MCP Server on Cloudflare

@jalenzz

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

jalenzz

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

A template to quickly set up a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to expose MCP tools over the internet and connect them to clients like Claude Desktop.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with pnpm install, and run locally with npx nx dev remote-mcp-server. Connect via the MCP Inspector (SSE transport) or configure Claude Desktop using the mcp-remote proxy pointing to your local or deployed workers.dev URL.

Key features of Remote MCP Server on Cloudflare

  • Local development with live reload via nx dev
  • OAuth login flow for secure access
  • SSE (Server-Sent Events) transport
  • Deploy to Cloudflare Workers with npm run deploy
  • Connect Claude Desktop via a local proxy
  • Debugging with npx mcp-remote and auth file cleanup

Use cases of Remote MCP Server on Cloudflare

  • Deploy a remote MCP server for testing with the MCP Inspector
  • Connect Claude Desktop to a math‑tool MCP server running on Cloudflare
  • Securely expose custom MCP tools behind OAuth authentication

よくある質問

1

How do I develop the server locally?

Clone the repo, run `pnpm install`, then `npx nx dev remote-mcp-server` and open `http://localhost:8787/` in your browser.

2

How do I connect the MCP Inspector to my server?

Start the Inspector with `npx @modelcontextprotocol/inspector`, set Transport Type to `SSE`, enter `http://localhost:8787/sse` (or your deployed URL), click Connect, and log in with any email/password on the mock login screen.

3

How do I connect Claude Desktop to the server?

Edit Claude Desktop’s configuration file to add an MCP server entry using `npx mcp-remote` with the SSE URL (local `http://localhost:8787/sse` or remote `https://worker-name.account-name.workers.dev/sse`). A browser window will open for OAuth login.

4

How do I deploy the server to Cloudflare?

Run `npx wrangler kv namespace create OAUTH_KV`, add the KV namespace ID to `wrangler.jsonc`, then run `npm run deploy`. Use the resulting workers.dev URL as the MCP server endpoint.

5

What should I do if something goes wrong?

Restart Claude, try connecting directly via `npx mcp-remote http://localhost:8787/sse`, or clear auth files with `rm -rf ~/.mcp-auth`.

コメント

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