Workers MCP
Talk to a Cloudflare Worker from Claude Desktop
🌩️ Cloud
Overview
workers-mcp
Description
A server implementation enabling Claude to interact with Cloudflare Workers
Overview
workers-mcp provides CLI tools and Worker logic to connect Claude with custom Cloudflare Workers. The package allows developers to create and manage Worker-based services that Claude can interact with directly.
Category
Infrastructure & Cloud Integration
Installation & Setup
# Create new Worker
npx create-cloudflare@latest my-new-worker
# Install package
cd my-new-worker
npm install workers-mcp
Configuration
{
"mcp-server-worker": {
"command": "node",
"args": ["./worker/index.js"],
"env": {
"CF_API_TOKEN": "your_cloudflare_api_token",
"WORKER_NAME": "your_worker_name"
}
}
}
Key Features
- Direct integration with Cloudflare Workers
- Support for AI model interactions
- Built-in image generation capabilities using Workers AI
- Real-time Worker updates with automatic metadata sync
- Compatible with Flux image generation model
Notes
- Worker code changes require
npm run deploy
for updates - Method/parameter changes need Claude restart
- Supports browser rendering (in development)
- Includes Durable Objects support
The project includes example implementations in the /examples
directory, showcasing basic setup and image generation capabilities.