MCP.so
ログイン

Remote MCP Server on Cloudflare

@allenzhou101

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

allenzhou101

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

{
  "mcpServers": {
    "remote-mcp-server-allenzhou101": {
      "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 guide to set up a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It is for developers who want to deploy and connect to MCP servers from remote clients.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, and run locally with npx nx dev remote-mcp-server. Connect the MCP Inspector using SSE at http://localhost:8787/sse or configure Claude Desktop via npx mcp-remote with the same URL. Deploy to Cloudflare with npm run deploy after creating an OAuth KV namespace.

Key features of Remote MCP Server on Cloudflare

  • Remote MCP server running on Cloudflare Workers
  • OAuth login for authentication
  • Supports SSE transport for MCP clients
  • Connect via MCP Inspector for testing
  • Integrates with Claude Desktop for tool usage
  • Local development with hot-reload

Use cases of Remote MCP Server on Cloudflare

  • Deploying a remote MCP server accessible over the internet
  • Testing MCP tools locally with the inspector
  • Connecting Claude Desktop to a remote MCP server for tool calling
  • Using OAuth-protected MCP endpoints in production
  • Developing and debugging MCP servers with Cloudflare KV for OAuth state

よくある質問

1

What does Remote MCP Server on Cloudflare do?

It provides a template and instructions to run an MCP server on Cloudflare Workers with OAuth login, allowing remote clients to list and call tools.

2

What are the runtime dependencies?

You need Node.js and npm to install dependencies, and Nx is used to run the server locally. Cloudflare Workers is the deployment platform, and an OAuth KV namespace is required for OAuth state storage.

3

Where does OAuth data live?

OAuth data is stored in a Cloudflare KV namespace named `OAUTH_KV`, which you create during deployment.

4

What transport protocol does the server use?

The server uses Server-Sent Events (SSE) as its transport protocol. Clients connect using an SSE URL, e.g., `http://localhost:8787/sse` or a workers.dev URL.

5

How do I debug connection issues?

Restart Claude, or test the connection directly on the command line with `npx mcp-remote <URL>`. Clearing `~/.mcp-auth` files can help in rare cases.

コメント

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