- Home
- MCP servers
- Remote MCP Server on Cloudflare (Authless)
Remote MCP Server on Cloudflare (Authless)
- 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 run a remote MCP server on Cloudflare Workers that exposes a simple, authenticated-free entry point for your tools. This setup lets you deploy quickly, connect from the Cloudflare AI Playground, and use the tools from local MCP clients or Claude Desktop without implementing server-side authentication.
How to use
Once your MCP server is deployed, you can access it from any MCP-enabled client. In the Cloudflare AI Playground, you can point the client at your deployed URL and test your tools interactively. You can also connect from local MCP clients by using the appropriate proxy setup and the public server URL.
To use your remote server from Claude Desktop, configure your MCP servers with a stdio entry that points to the remote endpoint or a local proxy, then restart Claude to load the tools. The server URL paths you’ll connect to typically end with /sse, for example remote-mcp-server-authless.your-account.workers.dev/sse.
How to install
Prerequisites: you need Node.js and npm installed on your machine.
Create and deploy your MCP server to Cloudflare Workers using the following command.
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
Additional notes
Customize your MCP server by adding tools inside the init() method of src/index.ts using this.server.tool(...). This is where you define each tool that your MCP server will expose.
You can connect to your remote server from the Cloudflare AI Playground or from local MCP clients. For Claude Desktop, add a stdio config that points to your server’s /sse endpoint, restart Claude, and your tools will be available.
Notes on connecting from Claude Desktop
To connect to your remote MCP server from Claude Desktop, use the following configuration snippet inside Claude’s settings for developers.
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://remote-mcp-server-authless.your-account.workers.dev/sse"
]
}
}
}