workers-mcp  by cloudflare

CLI tool for connecting Claude Desktop to Cloudflare Workers

created 7 months ago
583 stars

Top 56.4% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

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

  • Install: npm install workers-mcp
  • Prerequisites: Node.js, create-cloudflare CLI, a Cloudflare account.
  • Setup: Run npx workers-mcp setup within a new Worker project.
  • Deployment: Use npm run deploy to update the Worker and Claude's metadata.
  • Documentation: https://github.com/cloudflare/workers-mcp

Highlighted Details

  • Enables LLMs to interact with Cloudflare Workers and services.
  • Supports integration with Claude Desktop and other MCP clients like Cursor.
  • Example usage includes image generation via Workers AI.

Maintenance & Community

  • Project maintained by Cloudflare.
  • Further examples and potential community channels are not explicitly detailed in the README.

Licensing & Compatibility

  • The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is undetermined.

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.

Health Check
Last commit

4 months ago

Responsiveness

1 day

Pull Requests (30d)
1
Issues (30d)
0
Star History
88 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Travis Fischer Travis Fischer(Founder of Agentic), and
1 more.

fastmcp by punkpeye

3.7%
2k
TypeScript framework for building MCP servers handling client sessions
created 7 months ago
updated 2 days ago
Starred by John Resig John Resig(Author of jQuery; Chief Software Architect at Khan Academy), Georgios Konstantopoulos Georgios Konstantopoulos(CTO, General Partner at Paradigm), and
2 more.

mcp-server-cloudflare by cloudflare

0.5%
3k
MCP servers for LLM integration with Cloudflare services
created 8 months ago
updated 1 week ago
Feedback? Help us improve.