CLI tool for connecting Claude Desktop to Cloudflare Workers
Top 56.4% on sourcepulse
This package enables users to connect Claude Desktop and other MCP clients to custom Cloudflare Workers, allowing LLMs to interact with serverless functions and Cloudflare services. It targets developers and power users seeking to extend AI coding assistants with custom backend logic and data access.
How It Works
The system translates TypeScript methods defined in a Worker into MCP-compatible tools. A local Node.js server acts as a proxy, managing local stdio transport and invoking the specified Worker methods hosted on Cloudflare's edge network. This approach allows any function or service accessible by a Cloudflare Worker to be exposed to an LLM client.
Quick Start & Requirements
npm install workers-mcp
create-cloudflare
CLI, a Cloudflare account.npx workers-mcp setup
within a new Worker project.npm run deploy
to update the Worker and Claude's metadata.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is in an early stage, with "TODO" items for Browser Rendering and Durable Objects, indicating these features are not yet implemented. Changes to method signatures require restarting the LLM client for updates to be recognized.
4 months ago
1 day