MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@klei30

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

klei30

Building a Remote MCP Server on Cloudflare について

概要はまだありません

Building a Remote MCP Server on Cloudflare の設定

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

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "remote-mcp-server-authless.your-account.workers.dev/sse"
      ]
    }
  }
}

Building a Remote MCP Server on Cloudflare のツール

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

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

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

概要

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

A pre-configured template that deploys a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is designed for developers who want to quickly expose MCP tools via Cloudflare’s global edge network.

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

Click the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless to create the server locally. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect from the Cloudflare AI Playground by entering your deployed SSE URL, or from local MCP clients (e.g., Claude Desktop) using the mcp-remote proxy.

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

  • Deploys to Cloudflare Workers with one click
  • No authentication required for the MCP server
  • Customizable tools defined in src/index.ts
  • Compatible with Cloudflare AI Playground as a remote MCP client
  • Works with local MCP clients via mcp-remote proxy

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

  • Hosting MCP tools on a globally distributed edge network
  • Rapidly prototyping MCP servers without setting up authentication
  • Connecting MCP tools to Cloudflare AI Playground for remote testing
  • Integrating MCP tools with desktop clients like Claude Desktop via a proxy

よくある質問

1

What transport does the server use?

The server uses SSE (Server-Sent Events) transport, exposed at the `/sse` endpoint of the deployed Worker URL.

2

Does the server require authentication?

No, this deployment is deliberately without authentication to simplify setup and testing.

3

How do I add custom tools?

Edit the `init()` method in `src/index.ts` and define each tool with `this.server.tool(...)` following Cloudflare’s MCP tools documentation.

4

How can I connect from Claude Desktop?

Use the `mcp-remote` npm package as a proxy: run `npx mcp-remote <your-sse-url>` and configure Claude Desktop’s `mcpServers` to use that command.

5

Where is the server deployed?

It is deployed to a Cloudflare Workers URL like `remote-mcp-server-authless.<your-account>.workers.dev/sse`.

コメント

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