home / mcp / remote mcp server (cloudflare authless)

Remote MCP Server (Cloudflare Authless)

Provides a remote MCP server hosted on Cloudflare that exposes tools via HTTP and supports local clients via mcp-remote.

Installation
Add the following to your MCP client configuration file.

Configuration

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

You can run a remote MCP server on Cloudflare Workers that exposes its tools over HTTP, and you can connect to it from local clients like Claude Desktop or from a remote client such as the Cloudflare AI Playground. This setup lets you publish and use your MCP tools without managing authentication in every call, while still enabling you to work from your preferred development environment.

How to use

Connect to your deployed MCP server via an MCP client by using the remote URL you deploy to. For remote access, you will reference the server’s SSE endpoint (for server-sent events) and continue to call your tools as you would with any MCP server. You can also connect from a local client by using a proxy workflow that forwards requests to the remote SSE endpoint.

How to install

Prerequisites you need before you start:

  • Node.js and npm installed on your system
  • Access to a Cloudflare account if you want to deploy to Cloudflare Workers

Step-by-step commands to create and deploy your remote MCP server on Cloudflare:

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

This will set up your MCP server so you can deploy it to a URL such as remote-mcp-server-authless.<your-account>.workers.dev/sse

```bash
# Alternative local creation command
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
```
"],

Additional sections

Customize your MCP server by adding tools inside the server’s initialization logic. Each tool is registered with the server so you can access it from any MCP client.

Connect to Cloudflare AI Playground to test and use your MCP server from a remote client. Use your deployed MCP server URL (for example remote-mcp-server-authless.your-account.workers.dev/sse) in the Playground to interact with your tools directly.

You can also connect Claude Desktop to your remote MCP server. Use the mcp-remote proxy in Claude Desktop by adding a configuration that points to your server’s SSE URL. A typical local-to-remote setup might look like this:

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

Restart Claude Desktop to apply the new configuration and you should see the tools become available.