MCP.so
ログイン

Remote MCP Server on Cloudflare

@Ruagewei

Remote MCP Server on Cloudflare について

概要はまだありません

基本情報

カテゴリ

クラウドとインフラ

ランタイム

node

トランスポート

stdio

公開者

Ruagewei

設定

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

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

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

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

FAQ from Remote MCP Server on Cloudflare

What dependencies are required?

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

How does authentication work?

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

Where is OAuth data stored?

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

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).

What transport does the server use?

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

コメント

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