MCP.so
Sign In

Building a Remote MCP Server on Cloudflare (Without Auth)

@unblockdai

Basic information

Category

Developer Tools

Transports

stdio

Author

unblockdai

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

Building a Remote MCP Server on Cloudflare (Without Auth) is an example project that allows you to deploy a remote MCP server on Cloudflare Workers without requiring authentication. It is intended for developers who want to expose MCP tools remotely via SSE and connect them to MCP clients such as the Cloudflare AI Playground or Claude Desktop.

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 locally. Customize the server by adding tools inside the init() method of src/index.ts using this.server.tool(...). Connect to the Cloudflare AI Playground by entering the deployed URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse). To connect from Claude Desktop, use the mcp-remote proxy in your Claude Desktop configuration.

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

  • Deploy a remote MCP server without authentication.
  • Hosted on Cloudflare Workers via SSE endpoint.
  • Easily customizable with custom tools in src/index.ts.
  • Connect directly from the Cloudflare AI Playground.
  • Works with local MCP clients via the mcp-remote proxy.

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

  • Exposing MCP tools to remote clients without setting up authentication.
  • Rapidly prototyping MCP-based integrations using Cloudflare Workers.
  • Connecting custom tools to the Cloudflare AI Playground for testing.
  • Using MCP tools from Claude Desktop through a remote server.

Frequently asked questions

1

How do I deploy this MCP server?

Use the "Deploy to Workers" button on the GitHub page or run the command `npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless` in your terminal.

2

How can I add my own tools to the server?

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

3

How do I connect to the Cloudflare AI Playground?

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

4

How do I connect Claude Desktop to this remote MCP server?

Use the `mcp-remote` proxy. In your Claude Desktop configuration (Settings > Developer > Edit Config), add an entry with `"command": "npx"`, `"args": ["mcp-remote", "http://localhost:8787/sse"]` (or your deployed URL). Restart Claude to see the tools.

5

Does this server require any authentication?

No, this example explicitly deploys a remote MCP server without authentication.

Comments

More Developer Tools MCP servers