MCP.so
Sign In
Servers

Building a Remote MCP Server on Cloudflare (Without Auth)

@riccardogenova

Overview

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

This project builds and deploys a remote MCP server that does not require authentication on Cloudflare Workers. It is aimed at developers who want a quick, serverless MCP endpoint connected to the Cloudflare ecosystem.

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

Deploy the server using the “Deploy to Workers” button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools in src/index.ts inside the init() method with this.server.tool(...). Connect to the server via its SSE URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse) from Cloudflare AI Playground or from local MCP clients using the mcp-remote proxy.

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

  • Deploys a remote MCP server to Cloudflare Workers.
  • No authentication required for access.
  • Provides a one-click deploy button.
  • Supports adding custom MCP tools easily.
  • Connects to Cloudflare AI Playground as a remote client.
  • Works with Claude Desktop via the mcp-remote proxy.

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

  • Quickly spin up a demo MCP server for testing and experimentation.
  • Expose MCP tools to Cloudflare AI Playground without authentication hurdles.
  • Use a remote MCP server with local desktop clients like Claude Desktop.
  • Prototype MCP-based workflows on a serverless, globally distributed platform.

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

How do I deploy the server?

Use the “Deploy to Workers” button or run the npm create cloudflare command shown in the README. The server will be available at a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse.

How do I add custom tools to the server?

Define each tool inside the init() method of src/index.ts using this.server.tool(...).

How do I connect from Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed SSE URL, and start using the MCP tools directly.

How do I connect from Claude Desktop?

Use the mcp-remote proxy as the command in your Claude Desktop MCP configuration, pointing to your server’s SSE URL.

Does the server require authentication?

No, this server is specifically built without authentication. It is meant for development, testing, or internal use where auth is not needed.

Tags

More from Developer Tools