MCP.so
Sign In
Servers

Building a Remote MCP Server on Cloudflare (Without Auth)

@BiteBase-Intelligence

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 without requiring authentication. It integrates with Cloudflare’s AI Playground and local MCP clients like Claude Desktop, targeting developers who need a quick, authless remote MCP endpoint for testing or lightweight workflows.

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

Deploy via the “Deploy to Workers” button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in the CLI. Customize tools by editing src/index.ts and defining each tool inside the init() method using this.server.tool(...). After deployment, connect MCP clients using the SSE URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse). For Claude Desktop, configure the mcp-remote proxy in the client settings.

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

  • Deploy remote MCP server without authentication.
  • Runs on Cloudflare Workers globally.
  • Custom tools via TypeScript this.server.tool().
  • One-click deployment button.
  • Compatible with Cloudflare AI Playground.
  • Connects to Claude Desktop via mcp-remote proxy.

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

  • Prototype a remote MCP server for quick experiments without auth overhead.
  • Provide MCP tools to users of Cloudflare AI Playground.
  • Expose custom tools to Claude Desktop through a remote proxy.
  • Rapidly iterate on tool definitions using Cloudflare Workers’ free tier.

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

How do I deploy the server?

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

How can I add custom tools?

Open src/index.ts and define each tool inside the init() method using this.server.tool(...). Follow the Cloudflare MCP tools documentation for specifics.

How do I connect to Cloudflare AI Playground?

Navigate to https://playground.ai.cloudflare.com/, enter your deployed SSE URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse), and your tools become available directly in the playground.

How do I connect to Claude Desktop?

Install the mcp-remote proxy package (npx mcp-remote) and add the following configuration to your Claude Desktop settings: "mcpServers": { "calculator": { "command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"] } }. Restart Claude to see the tools.

Does the server require any authentication?

No, this server is intentionally designed without authentication for easy testing and quick deployment.

Tags

More from Developer Tools