MCP.so
ログイン

Remote MCP Server on Cloudflare

@garrettHensley

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

garrettHensley

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

{
  "mcpServers": {
    "remote-mcp-server-garretthensley": {
      "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 starter template that lets developers run a Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It enables AI assistants like Claude Desktop to connect to and call MCP tools hosted remotely on Cloudflare’s edge network.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Use the MCP Inspector (with SSE transport) or configure Claude Desktop via the mcp-remote proxy pointing to the server’s /sse endpoint. Deploy to Cloudflare with npm run deploy after creating a KV namespace for OAuth state.

Key features of Remote MCP Server on Cloudflare

  • Runs as a Cloudflare Worker with server‑sent events (SSE) transport
  • Includes OAuth login for authenticated access
  • Local development with hot‑reload and MCP Inspector support
  • Connects Claude Desktop via a lightweight local proxy (mcp-remote)
  • Example math tool demonstrates tool listing and calling
  • Deploys to a public workers.dev URL

Use cases of Remote MCP Server on Cloudflare

  • Host a remote MCP server for multiple AI assistant clients
  • Add custom, edge‑deployed tools to Claude Desktop
  • Prototype and test MCP servers locally before global deployment
  • Provide authenticated tool access via OAuth on Cloudflare’s network

よくある質問

1

What transport protocol does the server use?

It uses SSE (Server‑Sent Events) over HTTP. Clients connect to the `/sse` endpoint.

2

How do I connect Claude Desktop to this server?

Add an `mcpServers` entry in Claude Desktop’s config that runs `npx mcp-remote <server‑url>/sse` as a command with `args` pointing to the remote or local SSE URL.

3

Can I run the server locally before deploying?

Yes. Run `npx nx dev remote-mcp-server` and access `http://localhost:8787/`. Use the MCP Inspector or Claude Desktop’s local proxy to test tools.

4

How do I deploy to Cloudflare?

First create a KV namespace with `npx wrangler kv namespace create OAUTH_KV` and add its ID to `wrangler.jsonc`. Then run `npm run deploy`.

5

Does the server enforce authentication?

Yes, it includes an OAuth login flow. When connecting from a client (Inspector or Claude Desktop), a browser window opens for user/password authentication.

コメント

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