MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@rosedael

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

rosedael

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 server that requires no authentication on Cloudflare Workers. It is intended for developers who want a quick, serverless MCP endpoint.

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

Deploy using the “Deploy to Workers” button or with npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing src/index.ts inside the init() method with this.server.tool(...). Connect to Cloudflare AI Playground or Claude Desktop (via the mcp-remote proxy) using the generated SSE URL.

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

  • Deploy a remote MCP server with one click
  • Add custom tools via this.server.tool()
  • No authentication required out of the box
  • Integrates with Cloudflare AI Playground
  • Connect from local clients using mcp-remote proxy
  • Runs on Cloudflare Workers serverless platform

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

  • Quickly prototype a remote MCP server for testing
  • Serve MCP tools to the Cloudflare AI Playground
  • Connect Claude Desktop to a remote MCP server via proxy
  • Build cloud‑hosted MCP tools without managing infrastructure

よくある質問

1

How do I deploy a Remote MCP Server on Cloudflare (Without Auth)?

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 custom tools to my MCP server?

Define each tool inside the `init()` method of `src/index.ts` using `this.server.tool(...)`. For details see the Cloudflare MCP tools documentation.

3

How can I connect to Cloudflare AI Playground?

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

4

How do I connect Claude Desktop to this MCP server?

Install the `mcp-remote` proxy package, then in Claude Desktop’s config add a server with `command: "npx", args: ["mcp-remote", "your-URL/sse"]`. Restart Claude to see the tools.

5

What URL format does the deployed server use?

The server is accessible at `remote-mcp-server-authless.<your-account>.workers.dev/sse`.

コメント

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