MCP.so
ログイン

Remote MCP Server on Cloudflare

@MCP-Mirror

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

MCP-Mirror

Remote MCP Server on Cloudflare について

Mirror of

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

A template for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It provides a ready-to-run MCP server using SSE transport, intended for developers who want to run MCP servers remotely.

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-bearer-auth, then connect using the MCP Inspector or a remote MCP client. Deploy to Cloudflare with npm run deploy. Connect a remote client by pointing it to the workers.dev URL appended with /sse.

Key features of Remote MCP Server on Cloudflare

  • Deploys to Cloudflare Workers for remote access.
  • Includes OAuth login out of the box.
  • Supports local development with npx nx dev.
  • Integrates with the MCP Inspector for testing.
  • Uses SSE (Server-Sent Events) transport.
  • Provides a getToken tool to inspect the Authorization header.

Use cases of Remote MCP Server on Cloudflare

  • Running a remote MCP server that can be accessed from any client.
  • Testing MCP tool calls locally with the MCP Inspector.
  • Connecting Claude Desktop to a remote MCP server via the mcp-remote proxy.
  • Demonstrating how to secure an MCP server with bearer token authentication.

よくある質問

1

How do I deploy the server?

Run `npm run deploy` from the project directory. The server will be published to your Cloudflare Workers account.

2

How do I test the server locally?

After starting the local dev server, open the MCP Inspector (`npx @modelcontextprotocol/inspector`), switch transport type to SSE, enter `http://localhost:8787/sse` as the URL, add a bearer token, and click Connect. Then list tools and run `getToken`.

3

How do I connect a remote client?

Use the MCP Inspector or any MCP client that supports SSE. Provide the full Workers URL (e.g., `worker-name.account-name.workers.dev/sse`) and optionally a bearer token.

4

How do I connect Claude Desktop?

Add an entry to your Claude Desktop configuration using the `mcp-remote` command with the SSE URL and the `Authorization` header. Example: ```json { "command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse", "--header", "Authorization: Bearer {token}"] } ```

5

What should I do if something goes wrong?

Restart Claude, try connecting directly via the command line (`npx mcp-remote http://localhost:8787/sse`), or clear cached authentication files with `rm -rf ~/.mcp-auth`.

コメント

「開発者ツール」の他のコンテンツ