Cloudflare Workers Bindings · cloudflare — Claude Code MCP server: setup and tools
Cloudflare Workers Bindings is an MCP server for Claude Code that manages Cloudflare Workers resources and searches product docs. An AI coding agent can inspect or change bindings and project data through it.
no license 115 installs updated 2026-04-12
claude mcp add --transport http workers-bindings https://cloudflare-workers-bindings.run.toolsWhat Cloudflare Workers Bindings does
The server can list Cloudflare accounts and select the active one. It also manages KV namespaces and R2 buckets, and can create, inspect, or remove D1 databases. D1 queries are supported. For Workers, it retrieves details and code; Hyperdrive configurations can be listed, viewed, edited, or deleted.
A documentation search tool covers Cloudflare products, including Workers, D1, KV, and Workers AI. Before moving a Pages project to Workers, the server directs you to read its migration guide. One caveat: returned Worker code may be a bundled build rather than the original source.
For Claude Code, add the HTTP server with claude mcp add --transport http workers-bindings https://cloudflare-workers-bindings.run.tools. The listing also provides setup options for Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI.
What it helps with
- inspect the Workers in a Cloudflare account
- create or remove a KV namespace
- run a query against a D1 database
- retrieve Worker code and review its bindings
- search Cloudflare docs while configuring a resource
Example prompts for the agent
- List my Cloudflare Workers and show details for one of them.
- Create a D1 database, then run a query against it.
- Search Cloudflare documentation for guidance on KV.
How to install Cloudflare Workers Bindings
Platform CLI: remote server
claude mcp add --transport http workers-bindings https://cloudflare-workers-bindings.run.toolsPlatform CLI: remote server
codex mcp add cloudflare-workers-bindings --url https://cloudflare-workers-bindings.run.toolsConfig file
{
"mcpServers": {
"cloudflare-workers-bindings": {
"url": "https://cloudflare-workers-bindings.run.tools"
}
}
}Config file
{
"servers": {
"cloudflare-workers-bindings": {
"type": "http",
"url": "https://cloudflare-workers-bindings.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http cloudflare-workers-bindings https://cloudflare-workers-bindings.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Cloudflare Workers Bindings
How do I install Cloudflare Workers Bindings in Claude Code?
Run claude mcp add --transport http workers-bindings https://cloudflare-workers-bindings.run.tools to add the MCP server over HTTP.
What does Cloudflare Workers Bindings do?
It provides tools for managing KV, R2, D1, and Hyperdrive resources, as well as retrieving Worker details and searching Cloudflare documentation.
Does it return a Worker’s original source code?
It can retrieve Worker code, but the result may be a bundled version.
Similar MCP servers
All MCP servers for Backend and APIs →Cloudflare Workers Bindings by other authors comes first.