Workers MCP Server
Talk to a Cloudflare Worker from Claude Desktop!
Overview
Workers MCP Server is a proof-of-concept tool that allows interaction with Cloudflare Workers from Claude Desktop using the Model Context Protocol (MCP).
To use Workers MCP Server, download Claude Desktop, clone the repository, and follow the setup instructions including installing the necessary packages and deploying the worker using Wrangler.
- Integration with Claude Desktop and Cloudflare Workers - Allows RPC-style communication with custom worker methods - Document generation for methods in the worker
- Generating random numbers through a Cloudflare Worker.
- Sending emails via the Email Routing API.
- Rendering content using Browser Rendering API.
Add to your AI client
Use these steps to connect Workers MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"workers-mcp-server-geelen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-workers-mcp-server-geelen"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"workers-mcp-server-geelen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-workers-mcp-server-geelen"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"workers-mcp-server-geelen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-workers-mcp-server-geelen"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"workers-mcp-server-geelen": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-workers-mcp-server-geelen"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"workers-mcp-server-geelen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-workers-mcp-server-geelen"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"workers-mcp-server-geelen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-workers-mcp-server-geelen"
]
}
}
}FAQ
Is this project active?
No, it has been superseded by the Workers MCP package.
Can I use it without Cloudflare?
Yes, but you would miss the benefits of Cloudflare's infrastructure.
What tooling is needed?
You'll need Node.js and a package manager like pnpm to set up the environment.