MCP.so
ログイン

Remote MCP Server on Cloudflare

@younggeeks

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

younggeeks

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

A template for running a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It provides local development, deployment, and integration with MCP clients like Claude Desktop and the MCP Inspector.

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. Deploy to Cloudflare using npx wrangler kv namespace create OAUTH_KV and npm run deploy. Connect clients by pointing them to the server’s /sse endpoint.

Key features of Remote MCP Server on Cloudflare

  • Run an MCP server with OAuth login
  • Develop locally with hot reload
  • Deploy to Cloudflare Workers
  • Connect via SSE transport
  • Integrate with MCP Inspector tool
  • Connect Claude Desktop as a remote MCP client

Use cases of Remote MCP Server on Cloudflare

  • Building and testing a custom MCP server locally
  • Providing a remote MCP endpoint for AI assistants
  • Deploying a secure OAuth-protected MCP server in production
  • Connecting Claude Desktop to a remote MCP server

よくある質問

1

How do I develop the server locally?

Clone the repo, run `npm install`, then `npx nx dev remote-mcp-server`. Open `http://localhost:8787/` in your browser.

2

How do I connect the MCP Inspector to my server?

Start the inspector with `npx @modelcontextprotocol/inspector`, set Transport Type to SSE, and enter `http://localhost:8787/sse` as the URL. You’ll be redirected to a mock login screen.

3

How do I connect Claude Desktop to my local server?

Edit Claude Desktop’s configuration file and add an entry with `"command": "npx"`, `"args": ["mcp-remote", "http://localhost:8787/sse"]`. A browser window will open for login.

4

How do I deploy the server to Cloudflare?

Run `npx wrangler kv namespace create OAUTH_KV` and add the namespace ID to `wrangler.jsonc`, then run `npm run deploy`.

5

What should I do if something goes wrong?

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

コメント

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