MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@kathayl

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

kathayl

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 project allows you to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is intended for developers who want to expose MCP tools over SSE to remote clients like the Cloudflare AI Playground or Claude Desktop.

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 locally. Customize tools by editing src/index.ts and using this.server.tool(...) inside the init() method. Connect remote clients by pointing them to 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)

  • Deployable directly from a button or CLI
  • No authentication required for the server
  • Fully customizable tools via code
  • Compatible with Cloudflare AI Playground as a remote client
  • Works with Claude Desktop via the mcp-remote proxy

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

  • Expose MCP tools to the Cloudflare AI Playground for quick prototyping
  • Connect local AI assistants like Claude Desktop to a remote tool server
  • Build and test MCP tools without managing authentication infrastructure
  • Serve lightweight, stateless tools from a global edge network

よくある質問

1

What URL does my MCP server get?

After deployment, your server is available at `remote-mcp-server-authless.<your-account>.workers.dev/sse` (or a local URL like `http://localhost:8787/sse` when running in development).

2

How do I add custom tools?

Edit `src/index.ts` and call `this.server.tool(...)` inside the `init()` method. Each tool definition follows the standard MCP tool schema.

3

Can I connect this server to Claude Desktop?

Yes. Use the `mcp-remote` proxy — install it via `npx` and add a configuration entry in Claude Desktop pointing to your server’s SSE endpoint.

4

What are the runtime requirements?

You need a Cloudflare Workers account and Node.js/npm installed locally. The deployed worker runs on Cloudflare’s edge network with no additional dependencies.

5

How do clients communicate with the server?

The server uses SSE (Server-Sent Events) as its transport. Clients connect to the `/sse` endpoint and exchange messages over the MCP protocol without authentication.

コメント

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