MCP.so
Sign In

Building a Remote MCP Server on Cloudflare (Without Auth)

@roerohan

About Building a Remote MCP Server on Cloudflare (Without Auth)

No overview available yet

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    }
  }
}

Tools

No tools detected

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

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

A template to deploy a remote Model Context Protocol (MCP) server on Cloudflare Workers without authentication. It enables building and exposing MCP tools via Cloudflare's edge network.

How to use Building a 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. Customize tools in the init() method of src/index.ts by calling this.server.tool(...). Connect remote clients like Cloudflare AI Playground or Claude Desktop (via the mcp-remote proxy) to the SSE endpoint.

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

  • Deploy without authentication on Cloudflare Workers.
  • One-click deployment or CLI setup.
  • Add custom MCP tools with TypeScript.
  • Connect to Cloudflare AI Playground remotely.
  • Connect to Claude Desktop via mcp-remote proxy.
  • SSE-based remote MCP server endpoint.

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

  • Deploy an MCP server accessible without authentication for rapid prototyping.
  • Use MCP tools directly from Cloudflare AI Playground.
  • Connect local MCP clients like Claude Desktop to remote tools via proxy.
  • Build and test custom MCP tools on Cloudflare's edge network.

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 in your terminal.

How do I add custom tools?

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

How do I connect to Cloudflare AI Playground?

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

How do I connect to Claude Desktop?

Use the mcp-remote proxy. Configure Claude Desktop's MCP settings with "command": "npx", "args": ["mcp-remote", "<your-sse-url>"].

Frequently asked questions

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 your terminal.

How do I add custom tools?

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

How do I connect to Cloudflare AI Playground?

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

How do I connect to Claude Desktop?

Use the `mcp-remote` proxy. Configure Claude Desktop's MCP settings with `"command": "npx"`, `"args": ["mcp-remote", "<your-sse-url>"]`.

Comments

More Developer Tools MCP servers