MCP.so
ログイン

Remote MCP Server on Cloudflare

@drillan

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

drillan

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

A guide and starter repository for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login, allowing AI assistants like Claude to call tools remotely.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, run locally with npx nx dev remote-mcp-server, then configure the MCP Inspector or Claude Desktop to connect via SSE. Deploy using npm run deploy after setting up a KV namespace.

Key features of Remote MCP Server on Cloudflare

  • Runs MCP server on Cloudflare Workers
  • Includes OAuth login flow
  • Supports SSE transport for remote connections
  • Works with MCP Inspector for testing
  • Integrates with Claude Desktop via a local proxy

Use cases of Remote MCP Server on Cloudflare

  • Deploy a remote math tool for Claude to call
  • Test MCP endpoints locally with the inspector
  • Enable cloud-hosted tools for AI assistants

よくある質問

1

How do I test the server locally?

Run `npx nx dev remote-mcp-server` and open `http://localhost:8787/` in a browser, then connect the MCP Inspector with SSE transport to `http://localhost:8787/sse`.

2

How do I deploy to Cloudflare?

Use `npx wrangler kv namespace create OAUTH_KV`, add the KV namespace ID to `wrangler.jsonc`, then run `npm run deploy`.

3

How do I connect Claude Desktop to a remote server?

Update the Claude configuration file with `npx mcp-remote` and the `https://worker-name.account-name.workers.dev/sse` URL, then restart Claude.

4

What if something goes wrong?

Try restarting Claude, or test the connection directly with `npx mcp-remote http://localhost:8787/sse`. Clearing `~/.mcp-auth` may help.

コメント

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