MCP.so
Sign In

Building a Remote MCP Server on Cloudflare (Without Auth)

@rosedael

Basic information

Category

Cloud & Infrastructure

Transports

stdio

Author

rosedael

About Building a Remote MCP Server on Cloudflare

No overview available yet

Building a Remote MCP Server on Cloudflare config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Building a Remote MCP Server on Cloudflare tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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

This example deploys a remote MCP (Model Context Protocol) server on Cloudflare Workers that requires no authentication. It is intended for developers who want to host MCP tools in a serverless environment and connect them to MCP clients like Cloudflare AI Playground or Claude Desktop.

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

Deploy by clicking the "Deploy to Workers" button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect to Cloudflare AI Playground or local clients via the mcp-remote proxy.

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

  • Deploy a remote MCP server without authentication
  • Built on Cloudflare Workers for serverless hosting
  • Add custom MCP tools in src/index.ts
  • Connect to Cloudflare AI Playground as a remote client
  • Connect to Claude Desktop via mcp-remote proxy

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

  • Host a public MCP server for testing or demonstration
  • Provide MCP tools accessible from Cloudflare AI Playground
  • Integrate remote MCP tools with Claude Desktop using a proxy

Frequently asked questions

1

What dependencies or runtime are required?

The server runs on Cloudflare Workers. Local development requires Node.js and npm. No additional authentication dependencies.

2

How do I add custom tools?

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

3

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`).

4

How do I connect to Claude Desktop?

Use the `mcp-remote` proxy. In the Claude Desktop config, set the command to `npx mcp-remote <your-mcp-server-url/sse>`.

5

What transport does this server use?

It uses SSE (Server-Sent Events) at the `/sse` endpoint.

Comments

More Cloud & Infrastructure MCP servers