MCP.so
ログイン

Remote MCP Server on Cloudflare

@MichaelYangjson

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

MichaelYangjson

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

A starter project that runs a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It provides a template for developers to deploy, test, and connect MCP tools to clients such as Claude Desktop or the MCP Inspector over SSE transport.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies with npm install, and run locally via npx nx dev remote-mcp-server. Use the MCP Inspector or Claude Desktop (with npx mcp-remote) to connect to the server. Deploy to Cloudflare by creating an OAUTH_KV namespace with wrangler and running npm run deploy.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers with OAuth-based login
  • Supports SSE transport for MCP clients
  • Includes local development and debugging instructions
  • Integrates with the MCP Inspector for testing
  • Connects directly to Claude Desktop via a remote proxy
  • Provides a deployable server accessible at a workers.dev URL

Use cases of Remote MCP Server on Cloudflare

  • Hosting custom MCP tools accessible from any MCP client over the internet
  • Developing and testing MCP integrations locally before deploying to Cloudflare
  • Enabling Claude Desktop to call remote tools through an authenticated SSE endpoint
  • Learning how to build and deploy a remote MCP server with OAuth flow

よくある質問

1

How do I run the server locally?

Clone the repository, run `npm install`, and then execute `npx nx dev remote-mcp-server`. The server will be available at `http://localhost:8787/`.

2

How can I test the server with the MCP Inspector?

Start the inspector with `npx @modelcontextprotocol/inspector`, switch transport to SSE, and enter `http://localhost:8787/sse` (or your workers.dev URL after deploy) as the server URL. You will be redirected to a login screen before you can list and call tools.

3

How do I connect Claude Desktop to the remote server?

Add an entry to Claude Desktop's config file with command `npx`, args `["mcp-remote", "https://worker-name.account-name.workers.dev/sse"]`. Restart Claude; a browser window will open for OAuth login.

4

What happens if something goes wrong?

Restart Claude, or test the connection manually with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear the auth cache by deleting `~/.mcp-auth`.

5

What runtime or dependencies are required?

Node.js and npm. For deployment, a Cloudflare account and `npx wrangler` are needed to create the OAUTH_KV namespace and deploy the Worker.

コメント

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