MCP.so
ログイン

Remote MCP Server on Cloudflare

@bright-spark

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

bright-spark

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

{
  "mcpServers": {
    "cloudflare-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 starter repository that gets a remote MCP (Model Context Protocol) server running on Cloudflare Workers with OAuth login. It is intended for developers who want to deploy and connect MCP tools to 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. To connect MCP clients, use the SSE endpoint (e.g., http://localhost:8787/sse locally) with tools like the MCP Inspector or mcp-remote proxy. Deploy to Cloudflare with npm run deploy after creating an OAUTH_KV namespace with Wrangler.

Key features of Remote MCP Server on Cloudflare

  • Remote MCP server hosted on Cloudflare Workers
  • OAuth login built in
  • Local development with hot reload via Nx
  • SSE transport for MCP communication
  • Works with MCP Inspector and Claude Desktop

Use cases of Remote MCP Server on Cloudflare

  • Deploy an MCP server with authentication to a global edge network
  • Connect Claude Desktop to custom MCP tools over the internet
  • Prototype and test MCP servers locally before deploying
  • Use OAuth-protected MCP tools in remote client applications

よくある質問

1

How do I run the MCP server locally?

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

2

How do I connect the MCP Inspector to the server?

Start the inspector with `npx @modelcontextprotocol/inspector`, switch Transport Type to SSE, enter `http://localhost:8787/sse` (or your deployed URL) as the URL, and click Connect. You will be prompted to log in.

3

How do I connect Claude Desktop to the server?

Add an `mcpServers` entry to Claude Desktop’s config file using `npx mcp-remote` as the command and your server’s SSE URL (e.g., `http://localhost:8787/sse` locally or your `workers.dev` URL) as an argument, then restart Claude.

4

How do I deploy the server to Cloudflare?

Create an `OAUTH_KV` namespace with `npx wrangler kv namespace create OAUTH_KV`, add its ID to `wrangler.jsonc`, then run `npm run deploy`.

5

How do I debug connection issues?

Restart Claude, or test directly from the command line with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear the files in `~/.mcp-auth` with `rm -rf ~/.mcp-auth`.

コメント

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