MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@Jobikinobi

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

概要はまだありません

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

Jobikinobi

設定

以下の設定を使って、このサーバーを 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 server allows you to deploy a remote Model Context Protocol (MCP) server without authentication on Cloudflare Workers. It is intended for developers who want to expose MCP tools over SSE (Server-Sent Events) from a globally distributed edge network.

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 by editing src/index.ts and adding this.server.tool(...) inside the init() method. Connect to Cloudflare AI Playground or local clients like Claude Desktop via the mcp-remote proxy.

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

  • Deploy a remote MCP server without authentication
  • Custom tools defined via the init() method
  • Connect to Cloudflare AI Playground as a client
  • Connect to Claude Desktop using mcp-remote proxy
  • Uses SSE transport on Cloudflare Workers

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

  • Expose MCP tools from a global edge network without auth
  • Integrate custom tools into Cloudflare AI Playground
  • Use remote MCP tools in Claude Desktop via a local proxy
  • Rapidly prototype and deploy MCP servers on Cloudflare

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

How do I deploy the server?

Click 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 my own MCP tools?

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

How do I connect to Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/ and enter your deployed MCP server URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse).

How do I connect to Claude Desktop?

Install the mcp-remote proxy (npx mcp-remote) and add the server URL to Claude Desktop’s MCP configuration under mcpServers.

Does this server require authentication?

No, this example explicitly deploys an MCP server without authentication.

コメント

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