home / mcp / remote mcp server authless

Remote MCP Server Authless

Expose a remote MCP server on Cloudflare that hosts tools accessible to MCP clients without authentication.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ajtruex-remote-mcp-server-authless": {
      "url": "https://remote-mcp-server-authless.<your-account>.workers.dev/sse"
    }
  }
}

You can run a remote MCP server that exposes tools to clients without requiring authentication. It’s deployable on Cloudflare Workers and accessible from MCP clients like the Cloudflare AI Playground or Claude Desktop via a remote proxy. This guide walks you through using, installing, and connecting to this remote MCP server so you can offer your own tools to clients.

How to use

Access your remote MCP server from an MCP client to run the tools you define. You can connect from the Cloudflare AI Playground to try out your tools directly in the browser. In the Playground, enter your deployed MCP server URL to add it as a remote client and start using the tools you’ve implemented.

How to install

Prerequisites you need before installing this server: Node.js installed on your machine, and a modern package manager (npm is used in the example). You will deploy a remote MCP server using a Cloudflare template, which sets up the server on Cloudflare Workers.

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

Additional setup notes

To customize your MCP server, edit the initialization logic in the server source. Specifically, add your own tools by defining each one inside the init() method of src/index.ts using this.server.tool(...). This is how you expose new capabilities to MCP clients.

You can connect from the Cloudflare AI Playground by visiting the Playground and entering your deployed MCP server URL to begin using your tools directly from the browser.

Connecting to Claude Desktop from the remote server

If you want to connect Claude Desktop to your remote MCP server, you can configure the client to use the remote server via the mcp-remote proxy. Use the following configuration in Claude Desktop under Settings > Developer > Edit Config to expose your remote server as a tool source.

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"  // or remote-mcp-server-authless.your-account.workers.dev/sse
      ]
    }
  }
}