Manage Cloudflare Workers, KV, R2, DNS records, zones, and cache purges through an MCP server.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
The install command below didn't complete successfully in our automated test.
npx -y mcp-server-cloudflare-dnsnpm ERR! could not determine executable to run npm ERR! A complete log of this run can be found in: /home/user/.npm/_logs/2026-08-09T15_34_57_895Z-debug-0.log
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 1mo ago.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Server Cloudflare.
cf_zonesList your Cloudflare zones (domains)
cf_dns_listList DNS records for a zone
cf_dns_createCreate a DNS record
cf_dns_deleteDelete a DNS record
cf_workers_listList Workers scripts
cf_worker_deleteDelete a Workers script
An MCP server that lets your AI assistant manage Cloudflare Workers, KV, R2, DNS, and cache purging. Vercel, Railway, and Netlify all have MCP servers — now Cloudflare does too.
Works with Claude Desktop, Cursor, and VS Code Copilot.

| Tool | What it does |
|---|---|
cf_zones | List your Cloudflare zones (domains) |
cf_dns_list | List DNS records for a zone |
cf_dns_create | Create a DNS record |
cf_dns_delete | Delete a DNS record |
cf_workers_list | List Workers scripts |
cf_worker_delete | Delete a Workers script |
cf_kv_namespaces | List KV namespaces |
cf_kv_keys | List keys in a KV namespace |
cf_kv_get | Get a value from KV |
cf_kv_put | Write a value to KV |
cf_kv_delete | Delete a KV key |
cf_r2_buckets | List R2 storage buckets |
cf_cache_purge | Purge cache (all or specific URLs) |
Add to your claude_desktop_config.json:
Add to your .cursor/mcp.json:
CLOUDFLARE_API_TOKEN environment variableCLOUDFLARE_ACCOUNT_ID for Workers, KV, and R2 operationsAsk your AI assistant:
This repo is an Agent Plugins 1.0.0 package: plugin.json, portable mcp.json, and skills/ ship together with the MCP server.
For Cursor, clone the repo and copy or symlink it to ~/.cursor/plugins/local/mcp-server-cloudflare, then reload the window. Skills and MCP show up under Customize > Plugins.
Agent Plugins v1 does not ship OAuth. Set CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID in your MCP client env (see Quick Start). One-click install is not offered because credentials stay in env.
Install and run via npm package mcp-server-cloudflare-dns (not the unrelated mcp-server-cloudflare stub on npm).
Use npx -y mcp-server-cloudflare-dns. The repo is named mcp-server-cloudflare on GitHub; npm publishes as mcp-server-cloudflare-dns.
CLOUDFLARE_API_TOKEN for all API calls. CLOUDFLARE_ACCOUNT_ID for Workers, KV, and R2 tools.
Yes, via ~/.cursor/plugins/local/mcp-server-cloudflare. Configure the same env vars in Cursor MCP settings.
Zones and DNS, Workers scripts, KV namespaces, R2 bucket listing, and cache purge for a zone.
API token and account id cannot be embedded in a portable install link. Use the JSON under Quick Start.
README built with README Builder
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ofershap-mcp-server-cloudflare)<a href="https://allmcps.com/mcp/ofershap-mcp-server-cloudflare"><img src="https://allmcps.com/api/badge/ofershap-mcp-server-cloudflare?style=directory" alt="MCP Server Cloudflare on AllMCPs" /></a>