MCP.so
Sign In
Servers

Building a Remote MCP Server on Cloudflare (Without Auth)

@Mikey-exe

Overview

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

This example lets you deploy a remote MCP server that does not require authentication on Cloudflare Workers. It is intended for developers who want to expose MCP tools over SSE without managing user authentication.

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

Deploy by clicking the "Deploy to Workers" button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless from the command line. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect to the server from Cloudflare AI Playground (enter the deployed URL) or from Claude Desktop by configuring the mcp-remote proxy in the Claude Desktop settings.

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

  • One-click deploy to Cloudflare Workers
  • No authentication required for the MCP server
  • Customizable tools defined in source code
  • SSE transport for remote connections
  • Compatible with Cloudflare AI Playground and local MCP clients

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

  • Quickly prototype and share MCP tools with no auth setup
  • Connect MCP server to Cloudflare AI Playground for testing
  • Use with Claude Desktop via the mcp-remote proxy
  • Deploy a public MCP endpoint for internal or demo purposes

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

What is this server?

It is a Cloudflare Workers deployment that runs a remote MCP server without authentication, serving tools over SSE.

How do I deploy it?

Click the Deploy to Workers button or run the npm create cloudflare@latest command with the provided template. After deployment, the server is available at a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse.

How do I add custom tools?

Edit src/index.ts and add tool definitions inside the init() method using this.server.tool(...). Refer to the Cloudflare MCP tools documentation for details.

How do I connect to Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL, and use the tools directly from the playground.

How do I connect to Claude Desktop?

Install the mcp-remote proxy and add a configuration entry in Claude Desktop's Settings > Developer > Edit Config. Use npx mcp-remote <your-sse-url> and restart Claude.

Tags

More from Developer Tools