MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@gotalab

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

gotalab

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 example deploys a remote MCP server that does not require authentication on Cloudflare Workers. It is intended for developers who want a quick, publicly accessible MCP server for testing or integration.

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. After deployment, connect MCP clients (e.g., Cloudflare AI Playground or Claude Desktop via the mcp-remote proxy) to the SSE endpoint at remote-mcp-server-authless.<your-account>.workers.dev/sse.

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

  • Deploy a remote MCP server without authentication
  • Uses SSE transport at the /sse endpoint
  • Easily customizable tools via this.server.tool() in src/index.ts
  • Connects directly to Cloudflare AI Playground
  • Works with Claude Desktop via the mcp-remote proxy

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

  • Quickly deploying a public MCP server for prototyping
  • Testing MCP tools without setting up authentication
  • Integrating with Cloudflare AI Playground for remote MCP client usage
  • Connecting local MCP clients like Claude Desktop to a serverless backend

よくある質問

1

Does this MCP server require authentication?

No, it is specifically designed to be deployed without authentication for ease of use and testing.

2

How do I deploy the server?

You can deploy it using the "Deploy to Workers" button on GitHub or by running `npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless`.

3

What transport does the server use?

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

4

Can I use this server with Claude Desktop?

Yes, by using the `mcp-remote` proxy and configuring Claude Desktop's `mcpServers` to point to the server’s URL.

5

Where can I customize the server’s tools?

Tools are defined inside the `init()` method of `src/index.ts` using `this.server.tool(...)`.

コメント

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