MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@yamanoku-playground

基本情報

カテゴリ

生産性

トランスポート

stdio

作者

yamanoku-playground

Building a Remote MCP Server on Cloudflare について

概要はまだありません

Building a Remote MCP Server on Cloudflare の設定

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

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

Building a Remote MCP Server on Cloudflare のツール

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

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

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

概要

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

A template that deploys a remote MCP (Model Context Protocol) server to Cloudflare Workers with no authentication required. It is intended for developers who want to quickly run MCP tools in the cloud and connect them to MCP clients like Cloudflare AI Playground or Claude Desktop.

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

Deploy via the "Deploy to Workers" button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools in src/index.ts using this.server.tool(...). Connect from Cloudflare AI Playground by entering the deployed SSE URL, or from Claude Desktop using the mcp-remote proxy with a JSON configuration.

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

  • Deploy a remote MCP server on Cloudflare Workers with one click.
  • No authentication required for the deployed server.
  • Add custom MCP tools inside the init() method.
  • Connect to Cloudflare AI Playground as a remote MCP client.
  • Connect to Claude Desktop via the mcp-remote proxy.
  • Uses SSE (Server-Sent Events) transport at the /sse endpoint.

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

  • Quickly prototype and test MCP tools without setting up authentication.
  • Expose MCP tools publicly in a development or demo environment.
  • Integrate MCP capabilities into Cloudflare AI Playground workflows.
  • Use the same MCP server from multiple local clients, such as Claude Desktop.

よくある質問

1

Do I need a Cloudflare account to deploy?

Yes. Deploying the server requires a Cloudflare account to host the worker.

2

What transport protocol does the server use?

It uses SSE (Server-Sent Events) at the `/sse` endpoint.

3

How do I add my own tools?

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

4

How can I connect Claude Desktop to this server?

Use the `mcp-remote` NPM package as a proxy and configure the server URL in Claude Desktop’s MCP settings JSON.

5

Does this server support authentication?

No. This template is specifically designed to be deployed without authentication.

コメント

「生産性」の他のコンテンツ