- Home
- MCP servers
- Remote MCP Server (Authless Cloudflare)
Remote MCP Server (Authless Cloudflare)
- 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 that exposes tools via a server endpoint and lets you connect from MCP clients. This setup enables you to deploy on Cloudflare Workers without authentication and then access or proxy your tools from local or remote clients for experimentation and usage scenarios.
How to use
You can connect to your remote MCP server from both cloud-based and local clients. Use the HTTP URL to reach the server from MCP clients that support remote endpoints. You can also run a local proxy client and point it at your remote MCP server so you can access tools as if they were running locally.
How to install
Prerequisites: you need Node.js and npm installed on your machine.
- Install and deploy the remote MCP server to a Cloudflare Workers URL using the create command shown here.
# Install the Cloudflare helper and bootstrap the MCP server
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
# Alternatively, launch via a hosted deployment flow
# This deploys the MCP server to a URL like: remote-mcp-server-authless.<your-account>.workers.dev/sse
Additional sections
Configuration notes: you can customize your MCP server by adding tools inside the init() method of your source code. Use this.server.tool(...) to register each tool you want to expose. This allows you to tailor the MCP experience to your specific workflows.
Connecting from a Cloudflare AI Playground: you can connect to your deployed MCP server from the AI Playground to try out your tools directly. Open the Playground, enter your MCP server URL, and you can begin invoking tools right away.
Connecting from Claude Desktop (stdio mode): you can point a local MCP client to your remote server by configuring the MCP endpoints in Claude Desktop. Example configuration shows using a proxy tool to route requests to your remote server.
If you want to reference your remote server in a local client, you can use a configuration similar to the following. This connects a local client to your remote MCP server end point.
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://remote-mcp-server-authless.<your-account>.workers.dev/sse"
]
}
}
}