MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@unblockdai

Building a Remote MCP Server on Cloudflare (Without Auth) について

概要はまだありません

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

unblockdai

設定

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

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Building a Remote MCP Server on Cloudflare (Without Auth)?

Building a Remote MCP Server on Cloudflare (Without Auth) is an example project that allows you to deploy a remote MCP server on Cloudflare Workers without requiring authentication. It is intended for developers who want to expose MCP tools remotely via SSE and connect them to MCP clients such as the Cloudflare AI Playground or Claude Desktop.

How to use Building a Remote MCP Server on Cloudflare (Without Auth)?

Deploy using the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless locally. Customize the server by adding tools inside the init() method of src/index.ts using this.server.tool(...). Connect to the Cloudflare AI Playground by entering the deployed URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse). To connect from Claude Desktop, use the mcp-remote proxy in your Claude Desktop configuration.

Key features of Building a Remote MCP Server on Cloudflare (Without Auth)

  • Deploy a remote MCP server without authentication.
  • Hosted on Cloudflare Workers via SSE endpoint.
  • Easily customizable with custom tools in src/index.ts.
  • Connect directly from the Cloudflare AI Playground.
  • Works with local MCP clients via the mcp-remote proxy.

Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)

  • Exposing MCP tools to remote clients without setting up authentication.
  • Rapidly prototyping MCP-based integrations using Cloudflare Workers.
  • Connecting custom tools to the Cloudflare AI Playground for testing.
  • Using MCP tools from Claude Desktop through a remote server.

FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)

How do I deploy this MCP server?

Use the "Deploy to Workers" button on the GitHub page or run the command npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in your terminal.

How can I add my own tools to the server?

Define each tool inside the init() method of src/index.ts using this.server.tool(...).

How do I connect to the Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse), and start using your tools directly.

How do I connect Claude Desktop to this remote MCP server?

Use the mcp-remote proxy. In your Claude Desktop configuration (Settings > Developer > Edit Config), add an entry with "command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"] (or your deployed URL). Restart Claude to see the tools.

Does this server require any authentication?

No, this example explicitly deploys a remote MCP server without authentication.

コメント

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