Manage Cloudflare Resources with MCP
MCP server connecting Claude to Cloudflare's developer platform: deploy and manage Workers, KV, R2, and D1.
Why it matters
Deploy, configure, and manage Cloudflare resources including Workers, KV, R2, and D1 databases. Interact with Cloudflare's developer platform for seamless resource management.
Outcomes
What it gets done
Deploy and manage Cloudflare Workers
Interact with KV namespaces and R2 object storage
Query D1 databases
View logs and analytics
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-cloudflare | bash Overview
Cloudflare MCP
The Cloudflare MCP server gives Claude access to Cloudflare's developer platform through eight specialized remote servers covering Workers, KV, R2, D1, observability, Radar, browser rendering, and AI Gateway. It connects via mcp-remote and authenticates through Cloudflare OAuth. Use it when working inside a Cloudflare account to deploy or inspect Workers, manage storage, or pull analytics through Claude. Some capabilities require a paid Workers plan.
What it does
The Cloudflare MCP server connects Claude to Cloudflare's developer platform, letting you deploy, configure, and manage resources across Workers, KV, R2, D1, and other Cloudflare services. Cloudflare actually exposes multiple specialized remote MCP servers rather than one monolith: Documentation (up-to-date Cloudflare reference information), Workers Bindings (build Workers with storage, AI, and compute), Workers Builds (manage Cloudflare Workers Builds), Observability (debug and analyze logs and analytics), Radar (global Internet traffic insights and URL scans), Container (spin up sandbox development environments), Browser Rendering (fetch web pages and take screenshots), and AI Gateway (search logs, inspect prompts and responses).
When to use - and when NOT to
Use it when you're working inside a Cloudflare account and want Claude to deploy or inspect Workers, manage KV namespaces or R2 buckets, query D1 databases, pull Radar traffic insights, or render and screenshot web pages through Cloudflare's browser service. Some features require a paid Cloudflare Workers plan, so it is not usable end-to-end on a free-tier account for every capability listed.
Capabilities
- Deploy and manage Workers
- Interact with KV namespaces
- Manage R2 object storage
- Query D1 databases
- View logs and analytics
- Access Cloudflare Radar data
- Browser automation and screenshots
Authentication happens through Cloudflare OAuth when you connect to a remote server -- you'll be prompted to authorize access to your Cloudflare account. Each server supports the streamable-http transport via its /mcp endpoint, plus a deprecated sse transport via /sse.
How to install
Since these are remote MCP servers, connect through mcp-remote:
{
"mcpServers": {
"cloudflare-bindings": {
"command": "npx",
"args": ["mcp-remote", "https://bindings.mcp.cloudflare.com/mcp"]
},
"cloudflare-observability": {
"command": "npx",
"args": ["mcp-remote", "https://observability.mcp.cloudflare.com/mcp"]
}
}
}
Who it's for
Developers and teams already building on Cloudflare Workers, KV, R2, or D1 who want to drive deployment, configuration, and observability tasks through Claude instead of switching to the Cloudflare dashboard or CLI.
Source README
The Cloudflare MCP server enables interaction with Cloudflare's developer platform, allowing you to deploy, configure, and manage resources across Workers, KV, R2, D1, and other Cloudflare services.
Available Servers
Cloudflare provides multiple specialized MCP servers:
| Server | Description | URL |
|---|---|---|
| Documentation | Get up-to-date Cloudflare reference information | https://docs.mcp.cloudflare.com/mcp |
| Workers Bindings | Build Workers with storage, AI, and compute | https://bindings.mcp.cloudflare.com/mcp |
| Workers Builds | Manage Cloudflare Workers Builds | https://builds.mcp.cloudflare.com/mcp |
| Observability | Debug and analyze logs and analytics | https://observability.mcp.cloudflare.com/mcp |
| Radar | Global Internet traffic insights and URL scans | https://radar.mcp.cloudflare.com/mcp |
| Container | Spin up sandbox development environments | https://containers.mcp.cloudflare.com/mcp |
| Browser Rendering | Fetch web pages and take screenshots | https://browser.mcp.cloudflare.com/mcp |
| AI Gateway | Search logs, inspect prompts and responses | https://ai-gateway.mcp.cloudflare.com/mcp |
Configuration
Since these are remote MCP servers, use mcp-remote:
{
"mcpServers": {
"cloudflare-bindings": {
"command": "npx",
"args": ["mcp-remote", "https://bindings.mcp.cloudflare.com/mcp"]
},
"cloudflare-observability": {
"command": "npx",
"args": ["mcp-remote", "https://observability.mcp.cloudflare.com/mcp"]
}
}
}
Features
- Deploy and manage Workers
- Interact with KV namespaces
- Manage R2 object storage
- Query D1 databases
- View logs and analytics
- Access Cloudflare Radar data
- Browser automation and screenshots
Authentication
Authentication is handled through Cloudflare OAuth when connecting to the remote servers. You'll be prompted to authorize access to your Cloudflare account.
Usage Example
Claude, deploy a new Worker to handle API requests,
create a KV namespace for caching, and bind them together.
Supported Transports
streamable-httpvia/mcpendpointsse(deprecated) via/sseendpoint
Note
Some features may require a paid Cloudflare Workers plan. Ensure your account has the necessary subscription for the features you intend to use.
FAQ
Common questions
Discussion
Questions & comments ยท 0
Sign In Sign in to leave a comment.