- Home
- MCP servers
- Remote MCP Authless Cloudflare Server
Remote MCP Authless Cloudflare Server
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You can deploy a remote MCP server that runs on Cloudflare Workers and exposes MCP tools without requiring authentication. It supports connecting via a remote HTTP endpoint or through a local proxy you run on your machine, allowing you to access tools from MCP clients or the Cloudflare Playground.
How to use
You interact with your MCP server from your MCP client or from the Cloudflare AI Playground. When you deploy remotely, you get a URL like remote-mcp-server-authless.your-account.workers.dev/sse that your clients can connect to. You can also run a local proxy and point your clients at http://localhost:8787/sse, then connect via that local endpoint. Use the HTTP URL to connect from remote clients, or use the stdio/CLI path to connect through a local proxy.
How to install
Prerequisites: ensure you have Node.js and npm installed and a Cloudflare account ready for deploying Workers.
Step 1: Create and deploy the MCP server to Cloudflare Workers with the provided template.
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
Additional content
If you want to customize the server tools, add each tool inside the init() method of src/index.ts using this.server.tool(...). This enables you to expose new capabilities to MCP clients and the Playground.
Server connection configurations
The MCP server can be accessed either as a remote HTTP endpoint or through a local stdio proxy. Use the following connection configurations to integrate with clients.
{
"mcpServers": {
"remote_authless": {
"type": "http",
"url": "https://remote-mcp-server-authless.your-account.workers.dev/sse",
"args": []
}
}
}
Local proxy configuration for Claude Desktop
If you want to connect Claude Desktop to your remote MCP server via a local proxy, use the following setup. This config tells Claude Desktop to invoke the remote MCP client through the local proxy at http://localhost:8787/sse.
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse"
]
}
}
}