MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@IlanKalendarov

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

概要はまだありません

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

IlanKalendarov

設定

以下の設定を使って、このサーバーを 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 deploys a remote MCP server that requires no authentication on Cloudflare Workers. It is designed for developers who want to quickly expose MCP tools over the internet without setting up user authentication.

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

Deploy by clicking the "Deploy to Workers" button or running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools in src/index.ts inside the init() method using this.server.tool(...). Connect to clients like Cloudflare AI Playground (by entering the deployed SSE URL) or Claude Desktop (via the mcp-remote proxy and the same URL).

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

  • Deployable to Cloudflare Workers with one click
  • No authentication required
  • Customizable tools via this.server.tool() in TypeScript
  • Uses Server-Sent Events (SSE) transport
  • Connects to Cloudflare AI Playground and local clients

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

  • Quickly expose MCP tools for demos or testing
  • Integrate custom tools with Cloudflare’s AI playground
  • Prototype MCP servers without building auth infrastructure
  • Connect local MCP clients (e.g., Claude Desktop) to remote tools via proxy

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 in your terminal.

How do I add custom 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/, enter your deployed MCP server URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse), and use the tools directly.

How do I connect Claude Desktop to the server?

Install the mcp-remote proxy via npm, then update your Claude Desktop configuration to run npx mcp-remote <your-server-sse-url>.

Does the server require authentication?

No, this template is specifically built to run without authentication.

コメント

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