MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@unblockdai

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

unblockdai

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)?

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.

よくある質問

1

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.

2

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(...)`.

3

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.

4

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.

5

Does this server require any authentication?

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

コメント

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