MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@jbw1991

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

概要はまだありません

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

jbw1991

設定

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

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "remote-mcp-server-authless.your-account.workers.dev/sse"
      ]
    }
  }
}

ツール

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

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

概要

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

This example allows you to deploy a remote MCP server that doesn't require authentication on Cloudflare Workers.

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

Deploy with the Cloudflare Deploy button, or run npm create cloudflare@latest my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless locally. Customize tools in src/index.ts inside the init() method using this.server.tool(...). Connect to your deployed server URL (e.g., remote-mcp-server-authless.<account>.workers.dev/sse) from Cloudflare AI Playground or local MCP clients via the mcp-remote proxy.

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

  • Deploys to Cloudflare Workers without authentication.
  • Customizable MCP tools defined in TypeScript.
  • Connects to Cloudflare AI Playground as a remote client.
  • Connects to Claude Desktop via the mcp-remote proxy.
  • Quick deploy using the Cloudflare Deploy button or CLI.

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

  • Deploy a remote MCP server that requires no user authentication.
  • Expose custom MCP tools from the cloud without managing infrastructure.
  • Prototype or demo MCP integrations with minimal setup overhead.
  • Connect cloud-hosted MCP tools to desktop AI clients.

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

How do I deploy the MCP server?

Click the "Deploy to Workers" button or run the npm create cloudflare command with the provided template.

How do I customize the tools?

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

How can I connect to the Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed server URL (ending in /sse), and use its tools directly.

How do I connect Claude Desktop to this MCP server?

Install the mcp-remote proxy, then in Claude Desktop Settings > Developer > Edit Config, add an entry that runs npx mcp-remote <your-server-url>/sse.

Does the server require authentication?

No, this template deploys a remote MCP server that explicitly does not require authentication.

コメント

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