MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@rosedael

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

概要はまだありません

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

rosedael

設定

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

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

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.

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.

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.

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.

What URL format does the deployed server use?

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

コメント

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