MCP.so
ログイン

Remote MCP Server on Cloudflare

@miltonian

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

miltonian

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

A guide and template to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is 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, and run locally with npx nx dev remote-mcp-server. For production, use npx wrangler kv namespace create OAUTH_KV, add the KV namespace ID to wrangler.jsonc, then npm run deploy. Connect clients (e.g., MCP Inspector or Claude Desktop) via SSE at the server’s /sse endpoint.

Key features of Remote MCP Server on Cloudflare

  • Run MCP tools on Cloudflare Workers.
  • OAuth login for authentication.
  • Local development with live reload.
  • Deployable to a public workers.dev URL.
  • Works with MCP Inspector and Claude Desktop.

Use cases of Remote MCP Server on Cloudflare

  • Hosting custom MCP tools accessible from any remote client.
  • Integrating MCP capabilities into Claude Desktop over the internet.
  • Prototyping and testing MCP servers locally before deployment.
  • Sharing MCP tools with team members via a public URL.

よくある質問

1

What runtime does Remote MCP Server on Cloudflare require?

It runs on Cloudflare Workers; local development uses Node.js and the `nx` task runner. The Worker uses KV (OAuth_KV namespace) for OAuth state.

2

How do I connect an MCP client to the remote server?

Use the SSE transport. For the MCP Inspector, set Transport Type to `SSE` and enter `<your-worker-url>/sse`. For Claude Desktop, configure the `mcpServers` JSON with `"command": "npx"`, `"args": ["mcp-remote", "<your-url>/sse"]`.

3

Where does authentication data live?

OAuth tokens and state are stored in the Cloudflare KV namespace named `OAUTH_KV`.

4

Can I run multiple MCP servers on the same Worker?

The README focuses on a single MCP server; multiple tools can be defined within that server, but the setup does not show multi-server support.

5

How do I reset authentication if something goes wrong?

Clear the local auth files with `rm -rf ~/.mcp-auth` and/or restart Claude.

コメント

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