MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@brooksy4503

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

brooksy4503

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 lets you deploy a remote MCP (Model Context Protocol) server that requires no authentication on Cloudflare Workers. It is intended for developers who want to expose MCP tools over the internet without auth overhead.

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

Deploy via 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 using this.server.tool(...). Connect MCP clients by providing the deployed URL (e.g., 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 on Cloudflare Workers.
  • No authentication required for clients.
  • Customizable tools defined in src/index.ts.
  • Connectable from Cloudflare AI Playground.
  • Connectable from Claude Desktop via mcp-remote proxy.
  • Quick deployment with one click or CLI command.

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

  • Exposing MCP tools to remote clients without managing auth.
  • Prototyping and testing MCP integrations quickly.
  • Using MCP tools from Cloudflare AI Playground.
  • Connecting remote MCP tools to Claude Desktop.

よくある質問

1

How do I deploy this MCP server?

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

2

How do I add custom tools?

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

3

How do I connect to the Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL (e.g., `remote-mcp-server-authless.<your-account>.workers.dev/sse`), and use the tools directly.

4

How do I connect Claude Desktop to this server?

Use the `mcp-remote` proxy. In Claude Desktop's config file, set the command to `npx` with args `["mcp-remote", "<your-server-url>/sse"]`.

5

What is the deployed server URL format?

The URL follows the pattern: `remote-mcp-server-authless.<your-account>.workers.dev/sse`.

コメント

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