MCP.so
ログイン

Remote MCP Server on Cloudflare

@BilalAltundag

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

BilalAltundag

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

This guide walks through setting up a remote Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to run an MCP server accessible over the internet and connect it to clients such as Claude Desktop.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, and run locally using npx nx dev remote-mcp-server. To connect clients, use the MCP Inspector with SSE transport (http://localhost:8787/sse) or configure Claude Desktop with the mcp-remote proxy pointing to the same URL. For production, deploy by setting up an OAuth KV namespace and running npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Full OAuth login flow built in.
  • Deploys to Cloudflare Workers for global reach.
  • Uses SSE (Server-Sent Events) transport.
  • Works with MCP Inspector for testing.
  • Connects directly to Claude Desktop.
  • Supports both local and remote operation.

Use cases of Remote MCP Server on Cloudflare

  • Running a private MCP server accessible from anywhere.
  • Integrating custom MCP tools with Claude Desktop.
  • Testing and debugging MCP implementations with the Inspector.
  • Deploying a production-ready remote MCP server on Cloudflare’s edge network.

よくある質問

1

What transport does the server use?

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

2

How do I connect Claude Desktop to the server?

Add a configuration entry in Claude Desktop’s config file using `npx mcp-remote` with the server’s URL (e.g., `http://localhost:8787/sse` or the deployed `workers.dev` URL).

3

How do I deploy the server to production?

Create a KV namespace for OAuth (`npx wrangler kv namespace create OAUTH_KV`), add its ID to `wrangler.jsonc`, then run `npm run deploy`.

4

How can I debug connection issues?

Restart Claude, test directly with `npx mcp-remote <URL>`, or clear cached auth files in `~/.mcp-auth`.

5

What is the OAuth login flow?

The server presents a mock login screen (email/password) during local development; after deployment it uses a Cloudflare Workers OAuth integration.

コメント

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