MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@ghsaboias

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

ghsaboias

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 demonstrates how to deploy a remote Model Context Protocol (MCP) server on Cloudflare Workers without requiring authentication. It is intended for developers who want to host customizable MCP tools on Cloudflare’s edge network.

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

Deploy directly using the Cloudflare Workers deploy button, or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless locally. Add custom tools inside the init() method of src/index.ts using this.server.tool(...). Connect remote MCP clients by providing the deployed SSE URL.

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

  • Deployable to Cloudflare Workers with a single click or CLI command.
  • Supports custom MCP tools defined in TypeScript.
  • Uses SSE (Server-Sent Events) transport.
  • No authentication required for connections.
  • Integrates with Cloudflare AI Playground as a remote MCP client.

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

  • Deploying a public MCP server for testing or personal use.
  • Connecting a remote MCP server to Cloudflare AI Playground.
  • Integrating remote MCP tools with local desktop clients like Claude Desktop via an mcp-remote proxy.

よくある質問

1

What does this server do?

It hosts MCP tools on Cloudflare Workers over SSE, without any authentication layer.

2

How do I deploy this server?

Click the "Deploy to Workers" button on the README or run `npm create cloudflare@latest` with the specified template.

3

How do I add my own tools?

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

4

How can I test my remote MCP server?

Connect to the server from Cloudflare AI Playground (enter the SSE URL) or from a local MCP client like Claude Desktop using the `mcp-remote` proxy (configure `npx mcp-remote <SSE_URL>`).

5

Does this server require any authentication?

No, this is explicitly an auth‑less remote MCP server.

コメント

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