# Cloudflare Remote MCP Server (authless) template

CreateWithAI Hub page: https://createwithaihub.com/templates/cloudflare-remote-mcp-server-authless
Latest version of this file: https://createwithaihub.com/templates/cloudflare-remote-mcp-server-authless.md

- Type: Template · Category: Templates & Starter Kits
- Publisher: Cloudflare (official)
- Pricing: Free · License: MIT
- Works with: Cloudflare Workers

Cloudflare template for deploying a stateless remote MCP server without authentication on Workers.

This Cloudflare demo template creates a remote MCP server on Cloudflare Workers that needs no authentication. You add tools in one file and deploy to a workers.dev URL ending in /mcp, which MCP clients can then call over Streamable HTTP. It is a quick way for developers to get a public MCP server running before adding auth.

Useful for: Publishing a small set of custom tools as a remote MCP server you can test from Cloudflare's AI Playground or Claude Desktop.

## Key features

- Stateless remote MCP server on Cloudflare Workers
- Implements the MCP 2026-07-28 specification, compatible with legacy clients for tool calls
- Tools registered with server.registerTool in src/index.ts
- One-click deploy button or create via the Cloudflare CLI
- Testable from Cloudflare AI Playground

## Connection

- Stack: Cloudflare Workers, TypeScript
- Builds: MCP server
- Deploys to: Cloudflare

## Before you start

- A Cloudflare account
- npm, yarn or pnpm

## Install steps from the official documentation

Create project:

```
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
```

Deploy:

```
npx wrangler@latest deploy
```

## Limitations

- No authentication: anyone with the URL can call the tools
- Local clients that only support stdio need the mcp-remote proxy

## Official links

- Source repository: https://github.com/cloudflare/ai/tree/main/demos/remote-mcp-authless
- Documentation: https://developers.cloudflare.com/agents/guides/remote-mcp-server/
- Source: https://github.com/cloudflare/ai/tree/main/demos/remote-mcp-authless (README: create command, deploy button, customising tools, playground and Claude Desktop connection; cloudflare/ai repo MIT)
- Source: https://developers.cloudflare.com/agents/guides/remote-mcp-server/ (Create command, Streamable HTTP transport, deploy command)
