MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@Kepsondiaz

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

Kepsondiaz

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 allows you to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers that does not require authentication. It is intended for developers who want to quickly create and host MCP tools accessible from remote clients.

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

Deploy the server by clicking the Deploy to Workers button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless from the command line. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect to it from Cloudflare AI Playground by entering the deployed SSE URL, or from Claude Desktop by configuring the mcp-remote proxy with the same URL.

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

  • Deploys to Cloudflare Workers with a single click or command.
  • No authentication required for client connections.
  • Easily add custom tools via this.server.tool(...).
  • Works with Cloudflare AI Playground as a remote MCP client.
  • Compatible with Claude Desktop via the mcp-remote proxy.

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

  • Hosting AI agent tools accessible over the internet without auth.
  • Experimenting with remote MCP clients like Cloudflare AI Playground.
  • Integrating custom server-side logic into Claude Desktop workflows.
  • Rapid prototyping of MCP-based tool servers on a global edge network.

よくある質問

1

How do I deploy the server?

Use the Deploy to Workers button or run the `npm create cloudflare` command with the provided template. This will create a new project and deploy it to a URL like `remote-mcp-server-authless.<your-account>.workers.dev/sse`.

2

How do I add my own tools?

Inside the `init()` method of `src/index.ts`, define each tool using `this.server.tool(...)`. Refer to the Cloudflare documentation on MCP tools for details.

3

How do I connect to Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed SSE URL, and the tools will be available directly in the playground.

4

How do I connect to Claude Desktop?

Install the `mcp-remote` proxy via npm, then add a configuration entry in Claude Desktop pointing to your server's SSE URL. Restart Claude to see the tools.

5

Does this server require authentication?

No, the server is built without authentication, making it suitable for testing and development.

コメント

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