- Home
- MCP servers
- Remote MCP Server (Authless Cloudflare)
Remote MCP Server (Authless Cloudflare)
- typescript
0
GitHub Stars
typescript
Language
6 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 tools without requiring authentication. This lets you connect from MCP clients and use the available tools in real time from anywhere, while keeping the server lightweight and easy to deploy.
How to use
Once your remote MCP server is running, you can connect using an MCP client or a local proxy to start using the tools it exposes. You can access the server via the provided remote URL and interact with tools such as the calculator through your client of choice. If you want to use a local workflow, you can route through a proxy configuration to point clients at the running server.
How to install
Prerequisites: you need Node.js and npm installed on your development machine. You also need to have access to a hosting environment capable of running Cloudflare Workers or a local setup that can deploy an MCP server with the provided template.
Install and deploy the remote MCP server with the Cloudflare template by running this command locally to scaffold the server:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
Additional sections
Configure your MCP server by adding tools inside the init() method of the server’s source. Each tool is defined with this.server.tool(...) to expose it to MCP clients.
Connect to Cloudflare AI Playground to try your MCP server from a remote client. Open the Playground and enter your deployed MCP server URL to start using your tools directly from the playground.
If you want to connect Claude Desktop or another local MCP client, you can use a proxy configuration to point to the remote server. The following example shows how to wire a calculator tool to a remote endpoint.
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse" // or remote-mcp-server-authless.your-account.workers.dev/sse
]
}
}
}
Available tools
calculator
Remote calculator tool exposed via MCP server for on-demand mathematical operations.