MCP.so
Sign In
Servers

Building a Remote MCP Server on Cloudflare (Without Auth)

@AtlanticBiz

Overview

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

This server allows you to deploy a remote MCP (Model Context Protocol) server that requires no authentication on Cloudflare Workers. It is intended for developers who want to expose MCP tools remotely without auth overhead.

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

Deploy via the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools in the init() method of src/index.ts using this.server.tool(...). Connect from Cloudflare AI Playground by entering the SSE URL, or from Claude Desktop using the mcp-remote proxy with a configuration like "command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"].

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

  • Deployed on Cloudflare Workers with no authentication required.
  • Supports adding custom tools via the MCP server’s tool() method.
  • Connects seamlessly to Cloudflare AI Playground as a remote MCP client.
  • Compatible with Claude Desktop via the mcp-remote proxy.
  • One-click deployment from the GitHub button or npm create command.

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

  • Expose a public MCP server for testing or development without auth barriers.
  • Integrate custom tools into Cloudflare’s AI Playground for interactive experimentation.
  • Connect local MCP clients (e.g., Claude Desktop) to a cloud‑hosted tool server.

FAQ from 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 in the command line.

How do I add my own tools?

Inside the init() method of src/index.ts, define each tool using this.server.tool(name, schema, handler).

Can I connect to it from Claude Desktop?

Yes, install the mcp-remote proxy and configure Claude Desktop’s MCP servers with a JSON entry pointing to the deployed SSE URL.

What runtime/requirements does it need?

It runs on Cloudflare Workers; no local runtime is required after deployment. The mcp-remote proxy (for local clients) needs Node.js and npx.

Does the server require authentication?

No, this example is specifically built without authentication.

Tags

More from Developer Tools