Manage Cloudflare Workers, DNS records, KV storage, R2 buckets, and security settings from Claude Code without opening the Cloudflare dashboard.
The Cloudflare MCP connects Claude Code to the Cloudflare API, enabling it to manage your zone configuration, deploy and test Workers, manipulate DNS records, access KV namespaces and R2 buckets, and configure security settings like WAF rules and Page Rules — all without leaving your editor.
mcpizy install cloudflare
Create a Cloudflare API token at dash.cloudflare.com/profile/api-tokens with permissions scoped to the resources you need (Zone:Read, Worker Scripts:Edit, etc.). Provide the token and your Account ID during setup.
After deploying a new version, purge the CDN cache for your homepage:
// Claude will:
// 1. Identify the zone for your domain
// 2. Call the Cloudflare cache purge API for the specific URLs
// 3. Confirm the purge was successful