MCP.so
ログイン

Remote MCP Server on Cloudflare

@Ruagewei

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

Ruagewei

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

{
  "mcpServers": {
    "remote-mcp-server-ruagewei": {
      "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 sample implementation that runs a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It is intended for developers who want to host MCP tools remotely and connect MCP clients such as Claude Desktop.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, then run locally with npx nx dev remote-mcp-server. For deployment, create an OAuth KV namespace with npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, then run npm run deploy. Connect an MCP client by pointing it to the SSE endpoint (e.g., http://localhost:8787/sse locally or https://worker-name.account-name.workers.dev/sse when deployed). Use the MCP Inspector or configure Claude Desktop with the mcp-remote command and the SSE URL.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth login
  • Supports local development and remote deployment
  • Connects via SSE transport to MCP clients
  • Includes a math tool example for calculations
  • Uses a Cloudflare KV namespace for OAuth data

Use cases of Remote MCP Server on Cloudflare

  • Host a remote MCP server accessible over the internet
  • Connect Claude Desktop to a cloud-hosted MCP tool
  • Develop and test MCP tools locally before deploying
  • Provide OAuth-secured MCP endpoints for clients

よくある質問

1

What dependencies are required?

Node.js, npm, and a Cloudflare account. The project uses wrangler for deployment.

2

How does authentication work?

It uses OAuth login. Locally a mock login screen appears; when deployed, real OAuth is handled.

3

Where is OAuth data stored?

In a Cloudflare KV namespace called OAUTH_KV, which must be created before deployment.

4

How do I connect Claude Desktop?

Edit the Claude Desktop configuration file to add an MCP server entry with command `npx mcp-remote` and the SSE URL (e.g., `https://worker-name.account-name.workers.dev/sse`).

5

What transport does the server use?

Server-Sent Events (SSE) via the `/sse` endpoint.

コメント

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