MCP.so
ログイン

Remote MCP Server on Cloudflare

@stephlow

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

stephlow

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

A remote MCP server that runs on Cloudflare Workers, complete with OAuth login. It enables clients like the MCP Inspector or Claude Desktop to connect to MCP tools over HTTP or SSE.

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. Deploy to Cloudflare using npx wrangler kv namespace create OAUTH_KV and npm run deploy. Connect clients by pointing them to the server’s /sse endpoint.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth login
  • Supports SSE transport for MCP clients
  • Can be developed locally and then deployed
  • Works with MCP Inspector and Claude Desktop
  • Uses a remote proxy (mcp-remote) for HTTP communication

Use cases of Remote MCP Server on Cloudflare

  • Hosting a remote MCP server accessible over the internet
  • Integrating MCP tools with Claude Desktop via a Cloudflare worker
  • Testing and debugging MCP servers locally before deployment

よくある質問

1

How do I run the server locally?

Clone the repo, install dependencies, and run `npx nx dev remote-mcp-server`. Open `http://localhost:8787/` in a browser.

2

How do I connect the MCP Inspector?

Start the inspector with `npx @modelcontextprotocol/inspector`, switch Transport Type to `SSE`, enter `http://localhost:8787/sse`, and click Connect. Use any email/password to log in.

3

How do I connect Claude Desktop to a local server?

Update Claude’s config file (`mcpServers.math`) to use `npx mcp-remote http://localhost:8787/sse`. A browser will open for login.

4

How do I deploy the server to Cloudflare?

Create a 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 the server?

Restart Claude, or connect directly via `npx mcp-remote http://localhost:8787/sse`. To clear OAuth state, delete `~/.mcp-auth`.

コメント

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