MCP.so
ログイン

Remote MCP Server on Cloudflare

@shuaking

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

shuaking

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

{
  "mcpServers": {
    "remote-mcp-server-shuaking": {
      "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 template for running a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It is intended for developers who want to deploy a remote MCP server accessible over HTTP.

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. For production, deploy using npm run deploy after creating an OAUTH_KV namespace via Wrangler. Connect clients (MCP Inspector, Claude Desktop) using the server’s SSE endpoint.

Key features of Remote MCP Server on Cloudflare

  • Deployable to Cloudflare Workers for remote access
  • OAuth login flow for secure authentication
  • SSE (Server‑Sent Events) transport for MCP
  • Works with the MCP Inspector for testing
  • Integrates with Claude Desktop via a local proxy
  • Provides a mock login screen during local development

Use cases of Remote MCP Server on Cloudflare

  • Run a remote MCP server accessible from anywhere
  • Develop and test MCP tools locally with the inspector
  • Connect Claude Desktop to a custom math or utility MCP tool
  • Demonstrate OAuth‑protected MCP endpoints for demos or tutorials

よくある質問

1

What does Remote MCP Server on Cloudflare do?

It provides a ready‑to‑run MCP server on Cloudflare Workers with built‑in OAuth login, so clients can connect remotely and call defined tools.

2

What are the runtime requirements?

Node.js and npm for local development; a Cloudflare account and Wrangler CLI for deployment. A `OAUTH_KV` namespace must be created before deploying.

3

How do I connect to the server?

Use the MCP Inspector with SSE transport and the server’s URL (e.g., `http://localhost:8787/sse` locally, or the `workers.dev` URL after deployment). For Claude Desktop, configure a MCP server with command `npx mcp-remote` and the SSE URL.

4

How do I deploy the server?

Run `npx wrangler kv namespace create OAUTH_KV` to create a KV namespace, add its ID to `wrangler.jsonc`, then run `npm run deploy`.

5

What should I do if something goes wrong?

Restart Claude, try connecting via the command line with `npx mcp-remote <URL>`, or clear cached auth files with `rm -rf ~/.mcp-auth`.

コメント

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