MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@zaki-yama-labs

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

zaki-yama-labs

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 deployment template for creating a remote MCP (Model Context Protocol) server on Cloudflare Workers that does not require authentication. It is intended for developers who want to expose MCP tools over SSE without handling user access controls.

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. Customize tools inside the init() method of src/index.ts by calling this.server.tool(...). Connect to the deployed URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse) from remote MCP clients.

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

  • Deploy a remote MCP server with zero authentication required
  • Add custom MCP tools defined in src/index.ts
  • Connect directly from Cloudflare AI Playground
  • Connect from Claude Desktop using the mcp-remote proxy
  • Uses Cloudflare Workers for serverless hosting

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

  • Quickly expose MCP tools to AI clients without building auth infrastructure
  • Prototype and test MCP tools using Cloudflare AI Playground
  • Integrate remote MCP tools into local environments like Claude Desktop

よくある質問

1

How do I deploy the server?

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

2

How do I add my own tools?

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

3

Can I connect to Cloudflare AI Playground?

Yes. Go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL (ending in `/sse`), and then use your tools directly.

4

How do I connect Claude Desktop to this server?

Install the `mcp-remote` npm package, then configure Claude Desktop’s `mcpServers` with `"command": "npx", "args": ["mcp-remote", "<your-server-url>/sse"]`. Restart Claude to see the tools.

5

Does the server require authentication?

No. This template deliberately omits authentication. All requests are accepted without credentials.

コメント

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