cloudworker-mcp-endpoint-unauthenticated
A deployable service leveraging Cloudflare Workers to expose a Model Context Protocol (MCP) backend without mandatory authentication measures. Tailor the embedded source code to integrate custom tooling capabilities.
Author

anandkumarpatel
Quick Info
Actions
Tags
Establishing a Remote MCP Gateway via Cloudflare Workers (No Auth Required)
This setup enables deployment of an MCP service accessible through Cloudflare Workers that bypasses standard authorization checks.
Quick Start:
Your deployed gateway will resolve to an address similar to: remote-mcp-server-authless.<your-account>.workers.dev/sse
Alternatively, utilize the subsequent command-line instruction to scaffold the remote MCP gateway locally: bash npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
MCP Server Modification
To incorporate proprietary tools into this MCP service, define each utility within the init() function of src/index.ts by invoking this.server.tool(...).
Linking with Cloudflare AI Console
You can connect to your freshly deployed MCP service from the Cloudflare AI Console, which acts as a remote MCP consumer:
- Navigate to https://playground.ai.cloudflare.com/
- Input your provisioned MCP service endpoint (e.g.,
remote-mcp-server-authless.<your-account>.workers.dev/sse) - Your tailored MCP tools are now accessible directly within the console!
Integrating Claude Desktop Client
Connection to this remote MCP gateway is also achievable from local MCP clients using the mcp-remote intermediary package.
To link Claude Desktop to your deployed worker, adhere to Anthropic's Initial Setup Guide and then modify the configuration within Claude Desktop under Settings > Developer > Edit Config.
Update your configuration with this structure:
{ "mcpServers": { "calculator": { "command": "npx", "args": [ "mcp-remote", "http://localhost:8787/sse" // Or substitute with remote-mcp-server-authless.your-account.workers.dev/sse ] } } }
Restart the Claude application; the newly integrated tools should then appear as operational.
