MCP.so
ログイン

Remote MCP Server on Cloudflare

@shikharbsar

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

shikharbsar

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

{
  "mcpServers": {
    "remote-mcp-server-shikharbsar": {
      "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 server on Cloudflare Workers with OAuth login. It allows MCP clients to connect remotely via SSE and includes a local development workflow.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, run locally with npx nx dev remote-mcp-server, then connect using the MCP Inspector or Claude Desktop via a local proxy (npx mcp-remote). Deploy with npx wrangler kv namespace create OAUTH_KV and npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • OAuth login for remote MCP server access.
  • Supports SSE transport for MCP clients.
  • Deployable to Cloudflare Workers.
  • Local development with mock login.
  • Integration with MCP Inspector and Claude Desktop.

Use cases of Remote MCP Server on Cloudflare

  • Running a remote MCP server that works with Claude Desktop.
  • Prototyping and testing MCP tools locally before deployment.
  • Adding OAuth authentication to MCP server endpoints.
  • Hosting MCP tools on Cloudflare’s global edge network.

よくある質問

1

What dependencies are required?

Node.js, npm, and a Cloudflare account for deployment. Local development uses `npx nx` and the `@modelcontextprotocol/inspector` package.

2

How do I connect Claude Desktop to the remote server?

Update the Claude config file to use `npx mcp-remote` with your server’s `workers.dev` URL (e.g., `https://worker-name.account-name.workers.dev/sse`).

3

How do I troubleshoot connection issues?

Restart Claude, try connecting directly with `npx mcp-remote http://localhost:8787/sse`, or clear the auth cache with `rm -rf ~/.mcp-auth`.

4

What transport does the server use?

The server uses SSE (Server-Sent Events) as its transport protocol, configured at the `/sse` endpoint.

5

How is OAuth handled locally?

During local development, the OAuth flow uses a mock login screen that accepts any email and password. Deployed servers require a real OAuth provider configured via Cloudflare.

コメント

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