workers-mcp  by cloudflare

CLI tool for connecting Claude Desktop to Cloudflare Workers

Created 10 months ago
603 stars

Top 54.3% 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

7 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
4 stars in the last 30 days

Explore Similar Projects

Starred by Luis Capelo Luis Capelo(Cofounder of Lightning AI), Addy Osmani Addy Osmani(Head of Chrome Developer Experience at Google), and
23 more.

goose by block

4.3%
22k
Open-source AI agent for automating complex engineering tasks
Created 1 year ago
Updated 9 hours ago
Starred by Elvis Saravia Elvis Saravia(Founder of DAIR.AI), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
5 more.

activepieces by activepieces

0.7%
19k
Open-source Zapier alternative for AI workflow automation
Created 2 years ago
Updated 6 hours ago
Feedback? Help us improve.