MCP.so
ログイン

Remote MCP Server on Cloudflare

@FrankGoortani

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

FrankGoortani

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

A template for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It lets developers expose MCP tools over HTTP and connect remote clients such as Claude Desktop or the MCP Inspector.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, then run locally via npx nx dev remote-mcp-server. For deployment, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, and run npm run deploy. Connect clients by pointing them to the server’s /sse endpoint (e.g., localhost:8787/sse or a workers.dev URL).

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for global deployment
  • Includes OAuth login for authentication
  • Supports SSE transport for remote MCP clients
  • Provides a local development server
  • Integrates with the MCP Inspector
  • Connects to Claude Desktop via a proxy

Use cases of Remote MCP Server on Cloudflare

  • Deploy MCP tools (e.g., a math tool) to the cloud
  • Connect Claude Desktop to remote tools over the internet
  • Test MCP servers locally with the MCP Inspector
  • Build and iterate on custom MCP servers with minimal setup

よくある質問

1

How do I connect Claude Desktop to my remote MCP server?

Edit Claude’s configuration file to add an MCP server entry using `npx mcp-remote` with your server’s full `workers.dev/sse` URL. The local proxy handles authentication via a browser login.

2

What transport type does the server use?

The server uses Server‑Sent Events (SSE). When connecting via the MCP Inspector, set the Transport Type to `SSE`.

3

How do I debug connection issues?

Restart Claude or test the connection directly with `npx mcp-remote <server‑URL>`. If authentication files cause trouble, clear them with `rm -rf ~/.mcp-auth`.

4

What runtime or dependencies are required?

Node.js is needed for local development and the `mcp-remote` proxy. The server itself runs on Cloudflare Workers via Wrangler.

5

How do I deploy the server?

Create a Cloudflare KV namespace named `OAUTH_KV` using Wrangler, add the namespace ID to `wrangler.jsonc`, and run `npm run deploy`. The server is then available at a `workers.dev` URL.

コメント

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