MCP.so
Sign In

Building a Remote MCP Server on Cloudflare (Without Auth)

@mehmetakinn

Basic information

Category

Developer Tools

Transports

stdio

Author

mehmetakinn

About Building a Remote MCP Server on Cloudflare

No overview available yet

Building a Remote MCP Server on Cloudflare config

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

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

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.

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)?

This example deploys a remote MCP server on Cloudflare Workers without authentication. It targets developers who want to quickly launch custom MCP tools and connect them to remote clients like Cloudflare AI Playground or Claude Desktop.

How to use Building a 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 by editing src/index.ts inside the init() method using this.server.tool(...). Connect to Cloudflare AI Playground by entering your SSE URL, or to Claude Desktop by running npx mcp-remote with your SSE URL and adding the configuration to Claude Desktop's mcpServers settings.

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

  • Deploy remote MCP server on Cloudflare Workers.
  • No authentication required.
  • Supports custom tools defined in src/index.ts.
  • Connects to Cloudflare AI Playground as remote client.
  • Works with local MCP clients via mcp-remote proxy.

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

  • Deploy a publicly accessible MCP server for testing and prototyping.
  • Integrate custom tools into Cloudflare AI Playground for interactive use.
  • Connect Claude Desktop to a remote MCP server without local infrastructure.
  • Quickly share MCP tools with others using a Cloudflare Workers URL.

Frequently asked questions

1

What does this server do?

It is a template that deploys a remote MCP server on Cloudflare Workers without authentication, allowing you to serve MCP tools over SSE.

2

How do I deploy it?

Click 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.

3

How do I add custom tools?

Edit `src/index.ts` and define each tool inside the `init()` method using `this.server.tool(...)`.

4

How do I connect to Cloudflare AI Playground?

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

5

How do I connect Claude Desktop?

Use `npx mcp-remote` with your SSE URL, then add the following configuration to Claude Desktop’s `mcpServers`: ```json { "mcpServers": { "calculator": { "command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"] } } } ```

6

Is authentication required?

No, this MCP server is specifically built without authentication.

Comments

More Developer Tools MCP servers