MCP.so
Sign In

Building a Remote MCP Server on Cloudflare (Without Auth)

@UnRealisticHQ

Basic information

Category

Data & Analytics

Transports

stdio

Author

UnRealisticHQ

About Building a Remote MCP Server on Cloudflare

No overview available yet

Building a Remote MCP Server on Cloudflare config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

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.

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

This example allows you to deploy a remote MCP server that does not require authentication on Cloudflare Workers. It is a template for quickly setting up an MCP server with SSE transport, aimed at developers who want to expose MCP tools without auth.

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

Deploy using the provided "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing src/index.ts and using this.server.tool(...) inside the init() method. Connect client applications such as the Cloudflare AI Playground or Claude Desktop (via the mcp-remote proxy) by using the deployed SSE URL.

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

  • Deployed on Cloudflare Workers with no authentication required.
  • Uses SSE transport for remote MCP communication.
  • Provides a one-click deploy button or CLI scaffold.
  • Easily customizable via tool definitions in src/index.ts.
  • Compatible with Cloudflare AI Playground and local MCP clients through mcp-remote.

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

  • Quickly deploy MCP tools without implementing authentication.
  • Integrate MCP tools into Cloudflare’s AI Playground for testing.
  • Connect Claude Desktop to remote tools using the mcp-remote proxy.
  • Prototype and demo MCP servers in a serverless environment.

Frequently asked questions

1

How do I deploy the MCP server?

You can either click the "Deploy to Workers" button or run `npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless` from your terminal.

2

Does this server require authentication?

No, this example is explicitly built without authentication, making it suitable for demos or internal tools where auth is not needed.

3

How do I customize the tools?

Open `src/index.ts` and add each tool inside the `init()` method using `this.server.tool(...)` following Cloudflare’s MCP tools documentation.

4

How can I connect from Claude Desktop?

Use the `mcp-remote` npm package as a proxy. Configure Claude Desktop with `"command": "npx", "args": ["mcp-remote", "<your-server-url>/sse"]`.

5

What transport does the server use?

The server uses SSE (Server-Sent Events) at the path `/sse`, as shown in the deployed URL pattern.

Comments

More Data & Analytics MCP servers