MCP.so
Sign In
Servers

Building a Remote MCP Server on Cloudflare (Without Auth)

@sebhug-dev

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 intended for developers who want a quick, no-auth MCP endpoint hosted on Cloudflare’s edge network.

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

Deploy directly via Cloudflare’s "Deploy to Workers" button or use the command npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect to Cloudflare AI Playground by entering your deployed server URL, or connect Claude Desktop by using the mcp-remote proxy in its configuration.

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

  • Deploys on Cloudflare Workers.
  • No authentication required.
  • Allows custom MCP tools via this.server.tool(...).
  • Connects to Cloudflare AI Playground.
  • Works with Claude Desktop via mcp-remote proxy.

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

  • Deploy a public MCP server quickly for testing demos.
  • Expose MCP tools to AI Playground or Claude Desktop without setting up auth.

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

How do I deploy this MCP server?

Use the “Deploy to Workers” button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in your terminal.

How do I add custom tools?

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

How do I connect to Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse), and start using the tools.

How do I connect Claude Desktop to this server?

Use the mcp-remote proxy and update Claude Desktop’s configuration with your server URL.

Does this server require authentication?

No, this server is designed to work without authentication.

Tags

More from Developer Tools