MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@ericmarkson

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

概要はまだありません

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

ericmarkson

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

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

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

概要

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

This resource enables you to deploy a remote Model Context Protocol (MCP) server on Cloudflare Workers without requiring authentication. It provides templates and instructions for building and connecting custom MCP tools to remote clients such as the Cloudflare AI Playground or Claude Desktop.

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

Deploy the server using the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in the terminal. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Then connect to the server via its SSE endpoint (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse).

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

  • Deploy to Cloudflare Workers with a single click or CLI.
  • No authentication required for the MCP server.
  • Add custom tools by editing src/index.ts.
  • Connect directly to Cloudflare AI Playground.
  • Works with local MCP clients via the mcp-remote proxy.

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

  • Host a remote MCP server and expose tools without user authentication.
  • Test and use MCP tools from the Cloudflare AI Playground.
  • Connect the remote server to Claude Desktop for tool‑based AI interactions.
  • Quickly prototype and share MCP tools using a free Cloudflare Workers environment.

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

How do I deploy the MCP server?

Use the "Deploy to Workers" button or run the npm create cloudflare command with the provided template. This will create and deploy the server to a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse.

How can I add my own tools to the server?

Edit the init() method in src/index.ts and define each tool using this.server.tool(...).

How do I connect the server to Claude Desktop?

Install the mcp-remote package and configure a JSON entry in Claude Desktop’s MCP settings, pointing to your deployed SSE URL. Restart Claude to see the tools.

Can I connect to the server from the Cloudflare AI Playground?

Yes, go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL (the /sse endpoint), and use the tools directly from the playground.

What runtime or dependencies are required?

You need a Cloudflare account, Node.js/npm for the CLI deployment, and optionally the mcp-remote npm package for connecting local clients.

コメント

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