MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@mlaurel

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

mlaurel

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 deployable MCP (Model Context Protocol) server that runs on Cloudflare Workers and requires no authentication. It enables remote access to MCP tools over SSE, intended for developers who want a simple, serverless MCP endpoint.

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

Deploy instantly via the “Deploy to Workers” button or locally with npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. After deployment, connect to it from the Cloudflare AI Playground (enter the /sse URL) or from Claude Desktop using the mcp-remote proxy and the same SSE endpoint.

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

  • Deploy with zero authentication required
  • Runs serverlessly on Cloudflare Workers
  • Custom tools defined in src/index.ts using this.server.tool(...)
  • Supports SSE transport for remote MCP clients
  • One‑click deployment via Cloudflare button

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

  • Expose MCP tools to the Cloudflare AI Playground without local setup
  • Connect Claude Desktop to a remote MCP server using the mcp‑remote proxy
  • Host a lightweight, auth‑free MCP endpoint for testing or internal tooling

よくある質問

1

What does “Without Auth” mean?

The deployed MCP server does not enforce any authentication. Anyone with the SSE URL can access the tools.

2

How do I deploy this MCP server?

Click the “Deploy to Workers” button in the README, or run `npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless` in your terminal.

3

How do I add custom tools?

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

4

Can I connect from Claude Desktop?

Yes. Use the `mcp-remote` npm package as a proxy, then add the SSE URL to Claude Desktop’s MCP server configuration (Settings > Developer > Edit Config).

5

What transport does the server use?

The server communicates over SSE (Server‑Sent Events), as indicated by the `/sse` path in the deployment URL.

コメント

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