MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@elizabethsiegle

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

elizabethsiegle

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

This server allows you to deploy a remote MCP server that does not require authentication on Cloudflare Workers. It is intended for developers who want to expose MCP tools over SSE without adding authentication.

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

Deploy using the Cloudflare Deploy to Workers button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless from the command line. After deployment, the server is available at a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse. Customize tools by editing src/index.ts inside the init() method using this.server.tool(...).

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

  • Deploys a remote MCP server with no authentication required.
  • Hosted on Cloudflare Workers for global edge performance.
  • Supports SSE (Server-Sent Events) transport.
  • Easily customizable by adding your own tools in src/index.ts.
  • Connects to Cloudflare AI Playground as a remote MCP client.
  • Works with Claude Desktop via the mcp-remote proxy.

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

  • Exposing MCP tools to Cloudflare AI Playground for testing and demos.
  • Connecting MCP tools to local desktop clients like Claude Desktop without local server setup.
  • Rapid prototyping of MCP toolchains without managing authentication infrastructure.

よくある質問

1

Does this server require any authentication?

No, the server is specifically designed to not require authentication. It is “authless.”

2

How do I deploy this MCP server?

You can deploy it instantly using the “Deploy to Workers” button in the README, or by running `npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless` locally.

3

How can I add custom tools to the server?

Define each tool inside the `init()` method of `src/index.ts` using `this.server.tool(...)`. Use the Cloudflare Tools documentation for guidance.

4

How do I connect the server to a remote MCP client like 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 the tools become available.

5

Can I use this server with Claude Desktop?

Yes, by using the `mcp-remote` proxy (package `mcp-remote`). Configure Claude Desktop’s MCP settings to run `npx mcp-remote <your-server-url>/sse`.

コメント

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