MCP.so
Sign In
Servers

Building a Remote MCP Server on Cloudflare (Without Auth)

@Lazizbek97

Overview

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

This is an example template to deploy a remote MCP server on Cloudflare Workers without authentication. It is intended for developers who need a remote MCP server hosted on Cloudflare’s edge, using SSE transport, and accessible without auth.

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

Click the “Deploy to Workers” button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in your terminal. Customize tools inside src/index.ts using this.server.tool(...).

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

  • Deploy a remote MCP server without authentication.
  • Hosted on Cloudflare Workers.
  • Customizable tools via this.server.tool().
  • Connect from Cloudflare AI Playground.
  • Connect from Claude Desktop via mcp-remote proxy.
  • Uses SSE transport.

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

  • Deploy a remote MCP server for AI assistant tools.
  • Integrate with Cloudflare AI Playground for testing.
  • Connect Claude Desktop to remote MCP tools.
  • Prototype MCP tools without authentication overhead.

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

What authentication does this server require?

No authentication; this is an authless remote MCP server.

How do I deploy the server?

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

How do I add custom tools?

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 playground.ai.cloudflare.com, enter your deployed MCP server URL (e.g., remote-mcp-server-authless.<account>.workers.dev/sse).

How do I connect Claude Desktop?

Use the mcp-remote npm package as a proxy. Update your Claude Desktop config with npx mcp-remote <your-url>/sse.

Tags

More from Developer Tools