MCP.so
ログイン
サーバー

Building a Remote MCP Server on Cloudflare (Without Auth)

@felipe-parra

概要

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

This server allows you to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is intended for developers who want to expose MCP tools over the internet using Cloudflare’s 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 in your terminal. After deployment, your server is available at a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse. Customize tools by editing src/index.ts inside the init() method with this.server.tool(...).

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

  • Deployable with one click via Cloudflare Workers button
  • No authentication required on the server side
  • Uses SSE (Server-Sent Events) as transport
  • Customizable by adding your own tools in TypeScript
  • Works with Cloudflare AI Playground as a remote MCP client
  • Connects to Claude Desktop via the mcp-remote proxy

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

  • Exposing MCP tools from Cloudflare Workers to any remote MCP client
  • Testing MCP tools interactively in the Cloudflare AI Playground
  • Integrating custom LLM tools with Claude Desktop without local server setup
  • Rapid prototyping of MCP servers on a scalable edge platform

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

What does this server do?

It deploys a remote MCP server on Cloudflare Workers that does not require authentication, allowing clients to connect over SSE.

How do I deploy the server?

Use the “Deploy to Workers” button from the README or run the npm create cloudflare command with the provided template.

Can I add my own tools?

Yes, 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.<account>.workers.dev/sse), and start using the tools.

How do I connect to Claude Desktop?

Use the mcp-remote npx proxy. In Claude Desktop’s MCP config, set the command to npx mcp-remote with an argument pointing to your server’s SSE URL.

タグ

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