MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@mlaurel

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

概要はまだありません

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

mlaurel

設定

以下の設定を使って、このサーバーを 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)?

A deployable MCP (Model Context Protocol) server that runs on Cloudflare Workers and requires no authentication. It enables remote access to MCP tools over SSE, intended for developers who want a simple, serverless MCP endpoint.

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

Deploy instantly via the “Deploy to Workers” button or locally with npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. After deployment, connect to it from the Cloudflare AI Playground (enter the /sse URL) or from Claude Desktop using the mcp-remote proxy and the same SSE endpoint.

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

  • Deploy with zero authentication required
  • Runs serverlessly on Cloudflare Workers
  • Custom tools defined in src/index.ts using this.server.tool(...)
  • Supports SSE transport for remote MCP clients
  • One‑click deployment via Cloudflare button

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

  • Expose MCP tools to the Cloudflare AI Playground without local setup
  • Connect Claude Desktop to a remote MCP server using the mcp‑remote proxy
  • Host a lightweight, auth‑free MCP endpoint for testing or internal tooling

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

What does “Without Auth” mean?

The deployed MCP server does not enforce any authentication. Anyone with the SSE URL can access the tools.

How do I deploy this MCP server?

Click the “Deploy to Workers” button in the README, or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in your terminal.

How do I add custom tools?

Edit src/index.ts and define each tool inside the init() method using this.server.tool(...).

Can I connect from Claude Desktop?

Yes. Use the mcp-remote npm package as a proxy, then add the SSE URL to Claude Desktop’s MCP server configuration (Settings > Developer > Edit Config).

What transport does the server use?

The server communicates over SSE (Server‑Sent Events), as indicated by the /sse path in the deployment URL.

コメント

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