MCP.so
Sign In
Servers

Building a Remote MCP Server on Cloudflare (Without Auth)

@vaibhavkharatmal-shreemaruti

Overview

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

This example allows you to deploy a remote MCP server on Cloudflare Workers that does not require authentication. It is for developers who want to run MCP tools at the edge and connect them to remote MCP clients like Cloudflare AI Playground or Claude Desktop.

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

Deploy with the "Deploy to Workers" button or via npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by defining each inside the init() method of src/index.ts using this.server.tool(...). Connect to Cloudflare AI Playground by entering the deployed SSE URL, or connect to Claude Desktop using the mcp-remote proxy configured in the Claude Desktop settings.

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

  • Deploy an MCP server to Cloudflare Workers without authentication.
  • Connect to Cloudflare AI Playground as a remote MCP client.
  • Connect to Claude Desktop via the mcp-remote proxy.
  • Customize tools by defining them in src/index.ts.
  • Deploy quickly with a one-click button or CLI command.

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

  • Hosting MCP tools on Cloudflare’s edge network for remote access.
  • Using Cloudflare AI Playground with custom MCP tools.
  • Connecting Claude Desktop to a remote MCP server without authentication.

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

What does this MCP server do?

It provides a template for deploying a remote MCP server on Cloudflare Workers that does not require authentication, so you can run and connect to MCP tools from any remote MCP client.

How do I deploy the MCP server?

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.

How do I add custom tools?

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

How can I connect from Claude Desktop?

Use the mcp-remote proxy by adding a configuration entry with the npx mcp-remote command and your server's SSE URL to Claude Desktop's MCP settings.

Does this server require authentication?

No. This example is explicitly designed to deploy a remote MCP server without authentication.

Tags

More from Developer Tools