MCP.so
ログイン

Remote MCP Server on Cloudflare

@shannon-morahan

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

shannon-morahan

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

{
  "mcpServers": {
    "remote-mcp-server-shannon": {
      "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 template for deploying a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It enables developers to quickly set up a remote MCP server that can be accessed by MCP clients like Claude Desktop or the MCP Inspector.

How to use Remote MCP Server on Cloudflare?

Clone the repository (git clone git@github.com:cloudflare/ai.git), install dependencies (npm install), and run locally (npx nx dev remote-mcp-server). Deploy to Cloudflare by creating a KV namespace (npx wrangler kv namespace create OAUTH_KV), adding its ID to wrangler.jsonc, then running npm run deploy. Connect via the MCP Inspector using SSE at http://localhost:8787/sse (or your deployed workers.dev URL) or configure Claude Desktop with npx mcp-remote as a proxy.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth login
  • Supports local development and deployment
  • Connects to MCP Inspector via SSE transport
  • Works with Claude Desktop through a remote proxy
  • Includes a mock login screen for local testing

Use cases of Remote MCP Server on Cloudflare

  • Deploy a remote MCP server for AI assistants like Claude
  • Test and debug MCP tools locally with the MCP Inspector
  • Host a production-ready MCP server on Cloudflare’s edge network
  • Integrate OAuth‑protected MCP endpoints into custom workflows

よくある質問

1

What dependencies are required to run this server?

Node.js, npm, and npx are needed for local development. Deployment requires a Cloudflare Workers account and the Wrangler CLI (`npx wrangler`).

2

How do I connect to the server using the MCP Inspector?

Run `npx @modelcontextprotocol/inspector`, switch Transport Type to `SSE`, enter your server’s SSE endpoint (e.g., `http://localhost:8787/sse` locally or your `workers.dev` URL), and click Connect. You will be prompted to log in.

3

How do I connect Claude Desktop to the server?

Edit your Claude Desktop config (Settings > Developer > Edit Config) and add an `mcpServers` entry with `"command": "npx"` and `"args": ["mcp-remote", "http://localhost:8787/sse"]` (or your deployed URL). Restart Claude to see the tools.

4

Where does authentication data (OAuth tokens) live?

OAuth tokens are stored in a Cloudflare KV namespace called `OAUTH_KV`, which is created during deployment (`npx wrangler kv namespace create OAUTH_KV`).

5

What transport protocol does this server use?

The server uses Server‑Sent Events (SSE) as its transport protocol.

コメント

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