Skip to Content
Build an MCPCloudflare

Cloudflare MCP

Manage Cloudflare zones, DNS records, Workers, Pages deployments, and CDN cache purges.

Overview

Catalog IDmcp-cloudflare
Categorycloud
Auth methodAPI key
Blast radiusmoderate
TrustVerified — published by cendriix
Version1.0.0
Regionsus-east-1, eu-west-1

Tools

ToolDescription
purge_cachePurge cache for a zone.
list_zonesList Cloudflare zones.
create_dns_recordCreate a DNS record.
deploy_workerDeploy a Cloudflare Worker.
get_analyticsGet zone analytics.

Tool parameters

purge_cache

Purge cache for a zone.

ParameterTypeDescription
zone_idstringrequiredZone ID
purge_everythingbooleanoptionalPurge all cached content
filesarrayoptionalSpecific URLs to purge

list_zones

List Cloudflare zones.

ParameterTypeDescription
namestringoptionalFilter by domain name
statusstringoptionalFilter by status

create_dns_record

Create a DNS record.

ParameterTypeDescription
zone_idstringrequiredZone ID
typestringrequiredRecord type
namestringrequiredDNS name
contentstringrequiredRecord content
proxiedbooleanoptionalEnable Cloudflare proxy

deploy_worker

Deploy a Cloudflare Worker.

ParameterTypeDescription
namestringrequiredWorker name
scriptstringrequiredWorker script content
routesarrayoptionalRoute patterns

get_analytics

Get zone analytics.

ParameterTypeDescription
zone_idstringrequiredZone ID
sincestringoptionalStart time (ISO 8601)
untilstringoptionalEnd time (ISO 8601)

Installing

  1. In Cendriix, go to Settings → MCPs
  2. Find Cloudflare and click Install
  3. Paste your API key after installing. It is validated, then encrypted at rest in a secrets vault scoped to your tenant.
  4. Click Test Connection to run a health check and list available tools

Authentication. Paste your API key after installing. It is validated, then encrypted at rest in a secrets vault scoped to your tenant.

Blast radius

This MCP is classified moderate. This MCP can create and update records in the connected service, but cannot delete infrastructure.

Every tool invocation is recorded in your Audit Log. You can remove this MCP at any time from Settings → MCPs, which revokes tool access immediately.

Further reading

Last updated on