MCP.so
Sign In
Servers

Building a Remote MCP Server on Cloudflare (Without Auth)

@moneyteamameen

Overview

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

This example lets you deploy a remote MCP server that requires no authentication on Cloudflare Workers. It provides an SSE endpoint and is intended for developers who want to host MCP tools server‑side, usable from remote MCP clients.

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

Deploy using the “Deploy to Workers” button or the npm create cloudflare CLI template. Customize by adding tools inside the init() method of src/index.ts using this.server.tool(...). Connect to it from Cloudflare AI Playground by entering the deployed URL, or from Claude Desktop via the mcp-remote proxy.

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

  • Deploy to Cloudflare Workers without authentication
  • Exposes a remote SSE endpoint
  • Easily add custom tools using Workers AI
  • Connect directly from Cloudflare AI Playground
  • Connect from Claude Desktop via mcp-remote proxy

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

  • Hosting MCP tools on the edge for AI assistants
  • Testing MCP integrations with Cloudflare AI Playground
  • Using remote MCP tools from Claude Desktop
  • Rapidly prototyping MCP servers without setting up auth

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

What is the server URL format?

After deploying, the server is available at remote-mcp-server-authless.<your-account>.workers.dev/sse.

How do I add my own tools?

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

How do I connect Claude Desktop to this server?

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

Does this server require authentication?

No. The server is designed to be authless.

What transport does the MCP server use?

The server uses SSE (Server‑Sent Events) as its transport.

More from Developer Tools