MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@calvinvux

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

calvinvux

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 template and guide for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is intended for developers who want to expose MCP tools over SSE via a serverless Worker.

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. Customize tools by editing src/index.ts inside the init() method with this.server.tool(...). Connect from Cloudflare AI Playground (enter the deployed SSE URL) or from Claude Desktop using the mcp-remote proxy with the SSE URL in the MCP server configuration.

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

  • Deploys as a Cloudflare Worker (no auth required).
  • Uses SSE (Server-Sent Events) transport.
  • Tools are defined and customized in src/index.ts.
  • Integrates with Cloudflare AI Playground as a remote MCP client.
  • Connects to local clients like Claude Desktop via mcp-remote proxy.

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

  • Exposing MCP tools on the internet without authentication for testing or internal use.
  • Integrating custom MCP tools with the Cloudflare AI Playground.
  • Using remote MCP tools from Claude Desktop through a proxy.
  • Rapidly prototyping and deploying MCP servers using a serverless platform.

よくある質問

1

What transport does the server use?

The server communicates over Server-Sent Events (SSE), as seen in the URL path `/sse`.

2

Does the server require authentication?

No, this example explicitly does not include authentication. It is described as "without auth."

3

How do I add my own tools?

Edit `src/index.ts` and define each tool inside the `init()` method using `this.server.tool(...)`.

4

How can I connect to this server from Claude Desktop?

Use the `mcp-remote` proxy (available via npx) and set the command in Claude Desktop's MCP configuration to `npx mcp-remote <your-sse-url>`.

5

Can I connect from the Cloudflare AI Playground?

Yes. Go to https://playground.ai.cloudflare.com/, enter your deployed SSE URL, and the tools become available.

コメント

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