MCP.so
Sign In

Building a Remote MCP Server on Cloudflare (Without Auth)

@kbruck97

Basic information

Category

Developer Tools

Transports

stdio

Author

kbruck97

About Building a Remote MCP Server on Cloudflare

No overview available yet

Building a Remote MCP Server on Cloudflare config

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

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

Building a Remote MCP Server on Cloudflare tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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

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

Frequently asked questions

1

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.

2

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`.

3

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.

4

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.

5

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