MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@ashaney

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

ashaney

Building a Remote MCP Server on Cloudflare について

概要はまだありません

Building a Remote MCP Server on Cloudflare の設定

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

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    }
  }
}

Building a Remote MCP Server on Cloudflare のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

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

This example deploys a remote MCP server that requires no authentication on Cloudflare Workers. It is intended for developers who want to quickly host and connect MCP tools from Cloudflare's edge network.

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

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

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

  • Deploy to Cloudflare Workers with one click
  • No authentication required on the server
  • Customizable by adding tools in src/index.ts
  • Supports SSE transport
  • Works with remote MCP clients via mcp-remote proxy

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

  • Quickly deploy a remote MCP server on Cloudflare's edge
  • Connect MCP tools to Cloudflare AI Playground for testing
  • Integrate a remote MCP server with Claude Desktop locally

よくある質問

1

What does this MCP server do?

It hosts a remote MCP server on Cloudflare Workers without authentication, allowing you to define and expose custom tools over SSE.

2

How do I deploy this MCP server?

Either 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.

3

How can I customize the MCP tools?

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

4

How do I connect this MCP server to Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed SSE URL (e.g., `remote-mcp-server-authless.<your-account>.workers.dev/sse`), and you can use the tools directly.

5

How do I connect this MCP server to Claude Desktop?

Install the mcp-remote proxy, then add a configuration entry in Claude Desktop's MCP settings pointing to your server's SSE URL (local or remote). Restart Claude to see the tools.

コメント

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