home / mcp / remote mcp server authless
Deploys a remote MCP server on Cloudflare Workers that exposes tools to MCP clients via a remote SSE endpoint.
Configuration
View docs{
"mcpServers": {
"bobby38-remote-mcp-server-authless": {
"url": "https://remote-mcp-server-authless.<your-account>.workers.dev/sse"
}
}
}You can deploy a remote MCP Server on Cloudflare Workers that runs without authentication and exposes MCP tools to clients and local proxies. This enables you to host your own tools remotely and connect from playgrounds or local MCP clients to execute those tools through a simple HTTP/URL-backed channel or via a local proxy.
Connect to your remote MCP server from an MCP client to use your tools. You can access the server via its dedicated HTTP SSE endpoint and interact with the tools you expose in your init routine.
From a remote MCP client such as the Cloudflare AI Playground, navigate to the playground and enter your deployed MCP server URL to start using your tools directly from the playground.
If you prefer a local workflow, you can connect Claude Desktop (or another MCP client) to your remote server through the mcp-remote proxy by configuring your client with the appropriate HTTP endpoint.
Prerequisites you need before starting:
- Node.js and npm installed on your machine
- Access to a Cloudflare account to deploy workers
Steps to create and run the remote MCP server on Cloudflare Workers:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authlessConnect your server tools to a local client or a remote client via the provided endpoints. The server can be connected from the Cloudflare AI Playground using the deployed URL, and you can also wire up local clients to the remote server through a proxy.
Customize your MCP server by defining each tool inside the init() method of the source code, using this.server.tool(...) to expose new capabilities.
Connecting from Claude Desktop to your remote MCP server involves configuring the MCP server in Claude’s Settings. You can add a calculator tool that points to the remote server SSE endpoint or to a local proxy. Example configuration shown below demonstrates how a local proxy can direct requests to your remote server.
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse" // or remote-mcp-server-authless.your-account.workers.dev/sse
]
}
}
}