MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@hachecito

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

hachecito

Building a Remote MCP Server on Cloudflare について

概要はまだありません

Building a Remote MCP Server on Cloudflare の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "remote-mcp-server-authless.your-account.workers.dev/sse"
      ]
    }
  }
}

Building a Remote MCP Server on Cloudflare のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Building a Remote MCP Server on Cloudflare (Without Auth)?

A template and deployment method 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 quickly stand up a serverless MCP endpoint with custom tools and access it from remote MCP clients.

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 using this.server.tool(...). Connect from Cloudflare AI Playground by entering the deployed SSE URL, or from Claude Desktop via the mcp-remote proxy.

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

  • Deployable to Cloudflare Workers with one click or a CLI command
  • No authentication required for the MCP server endpoint
  • Exposes tools over Server-Sent Events (SSE)
  • Customizable by adding MCP tools in source code
  • Can be connected from both Cloudflare AI Playground and local MCP clients

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

  • Host custom MCP tools on a globally distributed serverless platform
  • Connect tools from Cloudflare AI Playground without local infrastructure
  • Use as a remote tool provider for Claude Desktop via the mcp-remote proxy
  • Quickly prototype and test new MCP tool sets without authentication overhead

よくある質問

1

How do I deploy this MCP server?

Click the "Deploy to Workers" button or run `npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless` from the command line.

2

How can I add my own tools?

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

3

How do I connect from Cloudflare AI Playground?

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

4

How do I connect Claude Desktop?

Use the `mcp-remote` npm proxy. In Claude Desktop settings, add a server entry with `command: "npx"`, args including `mcp-remote` and your SSE URL.

5

What runtime / dependencies are required?

The server runs on Cloudflare Workers. Local development requires Node.js and the `npm create cloudflare` CLI. The mcp-remote proxy (for local clients) is an additional npm package.

コメント

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