MCP.so
Sign In

Building a Remote MCP Server on Cloudflare (Without Auth)

@kbruck97

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

No overview available yet

Basic information

Category

Developer Tools

Runtime

node

Transports

stdio

Publisher

kbruck97

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

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)?

Building a Remote MCP Server on Cloudflare (Without Auth) is a template for deploying a remote Model Context Protocol (MCP) server on Cloudflare Workers that does not require authentication. It is intended for developers who want to expose MCP tools via SSE from a globally distributed, serverless environment.

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

Deploy by clicking the “Deploy to Workers” button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless from the command line. Customize tools by editing the init() method in src/index.ts using this.server.tool(...). Connect to clients like Cloudflare AI Playground (by entering the deployed URL) or Claude Desktop (via the mcp-remote proxy and a JSON configuration).

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

  • Deploys a remote MCP server on Cloudflare Workers
  • No authentication required for incoming connections
  • Uses Server-Sent Events (SSE) transport
  • One-click deploy via the Workers button
  • Customizable by adding tools in the init() method
  • Compatible with Cloudflare AI Playground and Claude Desktop (via proxy)

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

  • Exposing custom MCP tools over the public internet without managing authentication
  • Integrating with Cloudflare AI Playground for interactive experimentation
  • Connecting remote MCP tools to local desktop clients like Claude Desktop
  • Prototyping or internal tooling where auth is not yet needed
  • Learning how to build and deploy MCP servers on the Workers platform

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

What exactly does this server do?

It provides a remote MCP server that runs on Cloudflare Workers and communicates via SSE. You define tools inside src/index.ts, and they become accessible to any MCP client that reaches the deployed URL.

How do I deploy this server?

Click the “Deploy to Workers” button in the README, or use npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless locally. After deployment, the server is available at a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse.

How can I connect it to Claude Desktop?

Install the mcp-remote npm package, then add a JSON configuration entry in Claude Desktop pointing to your server’s SSE URL: npx mcp-remote <your-url>/sse. Restart Claude to see the tools.

Does this server support authentication?

No, the server intentionally does not require authentication. It is meant for scenarios where auth is not needed, such as local development or deployments behind other authentication layers.

What transport protocol does it use?

The server uses Server-Sent Events (SSE) as the transport protocol, accessible at the /sse endpoint of the deployed Workers URL.

Comments

More Developer Tools MCP servers