MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@shlomobamberger

Building a Remote MCP Server on Cloudflare (Without Auth) について

概要はまだありません

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

shlomobamberger

設定

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

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

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

This template lets you deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers that does not require authentication. It is aimed at developers who want to quickly set up a server with custom tools accessible from remote MCP clients like the Cloudflare AI Playground or local applications via a proxy.

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

Deploy by clicking the "Deploy to Workers" button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in your terminal. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect to the Cloudflare AI Playground by entering the deployed SSE URL, or connect Claude Desktop by configuring a mcp-remote proxy in claude_desktop_config.json.

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

  • Deployable with one click or a CLI command.
  • No authentication required for remote access.
  • Custom tools defined via the this.server.tool() method.
  • Uses SSE transport on Cloudflare Workers.
  • Works with Cloudflare AI Playground as a remote client.
  • Local clients can connect using the mcp-remote proxy.

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

  • Deploy a remote MCP server for AI assistants without setting up auth.
  • Build and test custom tools accessible from the Cloudflare AI Playground.
  • Connect Claude Desktop to a remote MCP server through a local proxy.
  • Rapid prototyping of MCP‑based tools in a serverless environment.

FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)

How do I deploy the server?

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

How do I add custom tools?

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

How do I connect to Cloudflare AI Playground?

Go to playground.ai.cloudflare.com, enter your deployed MCP server URL (ending in /sse), and the tools become available.

How do I connect Claude Desktop?

Install the mcp-remote npm package and configure Claude Desktop’s claude_desktop_config.json to use npx mcp-remote <your-sse-url>.

Does the server require authentication?

No, this example is explicitly designed without authentication to simplify deployment and testing.

コメント

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