MCP.so
ログイン

Remote MCP Server on Cloudflare

@milianks

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

milianks

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

A starter project to deploy a remote MCP server on Cloudflare Workers with OAuth login. It uses SSE transport and supports tools like a math calculator for use with MCP clients (e.g., Claude Desktop).

How to use Remote MCP Server on Cloudflare?

Clone the repo, install dependencies, run locally with npx nx dev remote-mcp-server, then connect via MCP Inspector using SSE at /sse. Deploy with npm run deploy after creating an OAUTH_KV namespace.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth authentication
  • Supports SSE transport for MCP protocol
  • Works with MCP Inspector for local testing
  • Connects to Claude Desktop via a local proxy
  • Easy one-command deployment to Cloudflare

Use cases of Remote MCP Server on Cloudflare

  • Running a remote math tool from Claude Desktop
  • Developing and testing MCP tools using the MCP Inspector
  • Deploying a production MCP server on Cloudflare Workers
  • Prototyping OAuth‑protected MCP endpoints

よくある質問

1

How do I develop locally?

Clone `git@github.com:cloudflare/ai.git`, install with `npm install`, then run `npx nx dev remote-mcp-server` and open `http://localhost:8787/`.

2

How do I connect the MCP Inspector?

Run `npx @modelcontextprotocol/inspector`, switch transport to SSE, and enter `http://localhost:8787/sse` as the server URL. A mock login screen will appear.

3

How do I deploy 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`.

4

How do I connect Claude Desktop?

Edit Claude’s config file to add an entry with `"command": "npx"` and `"args": ["mcp-remote", "<your-url>/sse"]`. Restart Claude to see tools.

5

How do I debug issues?

Restart Claude, or test directly with `npx mcp-remote http://localhost:8787/sse`. If needed, clear cached auth files with `rm -rf ~/.mcp-auth`.

コメント

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