MCP.so
Sign In

Building a Remote MCP Server on Cloudflare (Without Auth)

@ricable

About Building a Remote MCP Server on Cloudflare (Without Auth)

No overview available yet

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

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

A server that deploys 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 SSE (Server-Sent Events) using Cloudflare's edge infrastructure.

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

Deploy by clicking the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in the terminal. After deployment, add custom tools inside the init() method of src/index.ts using this.server.tool(...). Connect clients by providing the SSE endpoint (e.g., remote-mcp-server-authless.<account>.workers.dev/sse).

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

  • Zero‑auth remote MCP server deployment on Cloudflare Workers.
  • SSE‑based transport for remote MCP clients.
  • Custom tools defined via this.server.tool(...).
  • One‑click deploy or CLI scaffolding from official template.
  • Works with Cloudflare AI Playground (remote MCP client).
  • Compatible with local clients via mcp-remote proxy.

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

  • Expose custom MCP tools to remote clients without managing authentication.
  • Rapidly prototype MCP‑based functionalities on Cloudflare’s edge.
  • Connect Cloudflare AI Playground to custom tooling.
  • Integrate tools with Claude Desktop via the mcp-remote proxy.

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 uses SSE (Server‑Sent Events) transport and does not require authentication.

How do I deploy it?

Click the "Deploy to Workers" button or use npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in your terminal.

How do I add custom tools?

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

Where can I connect this MCP server?

Connect from Cloudflare AI Playground (https://playground.ai.cloudflare.com/) or from local clients like Claude Desktop using the mcp-remote proxy.

What are the runtime requirements?

A Cloudflare account and Node.js with npm (for CLI deployment). The server runs on Cloudflare Workers with no additional dependencies beyond the template.

Frequently asked questions

What does this server do?

It deploys a remote MCP server on Cloudflare Workers that uses SSE (Server‑Sent Events) transport and does not require authentication.

How do I deploy it?

Click the "Deploy to Workers" button or use `npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless` in your terminal.

How do I add custom tools?

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

Where can I connect this MCP server?

Connect from Cloudflare AI Playground (https://playground.ai.cloudflare.com/) or from local clients like Claude Desktop using the `mcp-remote` proxy.

What are the runtime requirements?

A Cloudflare account and Node.js with npm (for CLI deployment). The server runs on Cloudflare Workers with no additional dependencies beyond the template.

Comments

More Developer Tools MCP servers