MCP.so
ログイン

Remote MCP Server on Cloudflare

@ctbedford

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

ctbedford

Remote MCP Server on Cloudflare について

概要はまだありません

Remote MCP Server on Cloudflare の設定

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

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

Remote MCP Server on Cloudflare のツール

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

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

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

概要

What is Remote MCP Server on Cloudflare?

This project provides a template to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It allows developers to quickly set up a server that can expose tools to MCP-compatible clients such as Claude Desktop or the MCP Inspector.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Connect clients (MCP Inspector or Claude Desktop) by pointing them to the SSE endpoint (e.g., http://localhost:8787/sse). Deploy to Cloudflare Workers with wrangler kv namespace create OAUTH_KV and npm run deploy, then use the resulting workers.dev URL.

Key features of Remote MCP Server on Cloudflare

  • Runs on Cloudflare Workers for global edge deployment.
  • Includes OAuth login flow for authentication.
  • Supports SSE transport for MCP communication.
  • Works with the MCP Inspector for testing.
  • Integrates with Claude Desktop via mcp-remote proxy.
  • Provides local development environment with hot reload.

Use cases of Remote MCP Server on Cloudflare

  • Deploy a remote MCP server to expose custom tools to AI clients.
  • Develop and test MCP tools locally before deploying to the edge.
  • Connect Claude Desktop to a remote server with OAuth authentication.
  • Use as a reference implementation for Cloudflare-based MCP servers.

よくある質問

1

How do I authenticate when connecting via the MCP Inspector?

The inspector shows a mock login screen; input any email and password to proceed.

2

What transport type does the server use?

It uses SSE (Server-Sent Events); set the transport type to `SSE` in the MCP Inspector.

3

How do I connect Claude Desktop to the remote server?

Update Claude's config file (`~/.claude/config.json` or via Settings) to use `mcp-remote` with the server's SSE URL, e.g., `https://worker-name.account-name.workers.dev/sse`.

4

What if I encounter connection issues?

Restart Claude, or test the connection directly with `npx mcp-remote <URL>`. In rare cases, clear the auth cache at `~/.mcp-auth` by removing the folder.

5

What environment variables or services are required for deployment?

You need a Cloudflare Workers account and a KV namespace (`OAUTH_KV`) created via `wrangler kv namespace create`.

コメント

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