MCP.so
Sign In
Servers

Building a Remote MCP Server on Cloudflare (Without Auth)

@sanganisuraj-applens

Overview

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

This example allows you to deploy a remote MCP server that doesn't require authentication on Cloudflare Workers. It is for developers who want to quickly set up a remote Model Context Protocol server hosted on Cloudflare's edge network.

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

Deploy using the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless from the command line. After deployment, connect remote MCP clients such as Cloudflare AI Playground or Claude Desktop (via the mcp-remote proxy) by pointing them to your server's /sse endpoint.

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

  • Deploy directly from GitHub using the Deploy to Workers button.
  • Customize tools by editing src/index.ts inside the init() method.
  • Connect to Cloudflare AI Playground as a remote MCP client.
  • Connect to Claude Desktop using the mcp-remote proxy.
  • No authentication required for access.

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

  • Quickly prototyping MCP tools hosted on Cloudflare Workers.
  • Connecting remote MCP tools to Cloudflare AI Playground.
  • Using MCP tools from Claude Desktop via a secure proxy.
  • Sharing MCP tool endpoints without user authentication.

FAQ from Remote MCP Server on Cloudflare (Without Auth)

How do I deploy this MCP server?

You can deploy using the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless on your local machine.

How do I add custom tools to the MCP server?

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

How do I connect Cloudflare AI Playground to this MCP server?

Go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse), and you can use your MCP tools directly from the playground.

How do I connect Claude Desktop to this MCP server?

Use the mcp-remote proxy. Configure Claude Desktop with a custom MCP server using npx mcp-remote and your server's SSE endpoint URL.

Does this MCP server require authentication?

No, this MCP server does not require authentication.

Tags

More from Developer Tools