MCP.so
Sign In
Servers

Building a Remote MCP Server on Cloudflare (Without Auth)

@anbeime

Overview

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

A template for deploying a remote MCP server on Cloudflare Workers without authentication. It provides tools via SSE and can be connected to MCP clients like Claude Desktop or Cloudflare AI Playground.

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

Deploy using the “Deploy to Workers” button or npm create cloudflare. Customize tools in src/index.ts inside the init() method. Connect clients by providing the deployed SSE URL. For local clients, use the mcp-remote proxy.

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

  • Deploy to Cloudflare Workers without authentication
  • SSE endpoint for remote MCP clients
  • Easily add custom tools via this.server.tool()
  • One-click deploy button for quick setup
  • No auth required, suitable for development or internal use

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

  • Connect Cloudflare AI Playground to custom MCP tools
  • Use Claude Desktop with a remote tool server
  • Prototype MCP integrations without managing auth
  • Deploy a public tool server for testing or demos

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 npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless.

How do I add my own tools?

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

How do I connect Cloudflare AI Playground?

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

How do I connect Claude Desktop?

Install mcp-remote via npx and configure it in Claude Desktop settings with the server’s SSE URL.

Does the server require authentication?

No, this template explicitly builds a remote MCP server without authentication.

Tags

More from Developer Tools