MCP.so
Sign In

Building a Remote MCP Server on Cloudflare (Without Auth)

@klei30

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

No overview available yet

Basic information

Category

Developer Tools

Runtime

node

Transports

stdio

Publisher

klei30

Config

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

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "remote-mcp-server-authless.your-account.workers.dev/sse"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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

A pre-configured template that deploys a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is designed for developers who want to quickly expose MCP tools via Cloudflare’s global edge network.

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

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

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

  • Deploys to Cloudflare Workers with one click
  • No authentication required for the MCP server
  • Customizable tools defined in src/index.ts
  • Compatible with Cloudflare AI Playground as a remote MCP client
  • Works with local MCP clients via mcp-remote proxy

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

  • Hosting MCP tools on a globally distributed edge network
  • Rapidly prototyping MCP servers without setting up authentication
  • Connecting MCP tools to Cloudflare AI Playground for remote testing
  • Integrating MCP tools with desktop clients like Claude Desktop via a proxy

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

What transport does the server use?

The server uses SSE (Server-Sent Events) transport, exposed at the /sse endpoint of the deployed Worker URL.

Does the server require authentication?

No, this deployment is deliberately without authentication to simplify setup and testing.

How do I add custom tools?

Edit the init() method in src/index.ts and define each tool with this.server.tool(...) following Cloudflare’s MCP tools documentation.

How can I connect from Claude Desktop?

Use the mcp-remote npm package as a proxy: run npx mcp-remote <your-sse-url> and configure Claude Desktop’s mcpServers to use that command.

Where is the server deployed?

It is deployed to a Cloudflare Workers URL like remote-mcp-server-authless.<your-account>.workers.dev/sse.

Comments

More Developer Tools MCP servers