Cloudflare

Connect your AI agents to Cloudflare.

Available Tools

verify_token

Verify the current Cloudflare API token is valid and active. Use this to test connectivity and confirm authentication is working correctly.

get_user

Get the current authenticated Cloudflare user’s profile information including email, name, and account status.

list_accounts

List all Cloudflare accounts the authenticated user has access to. Supports filtering by name and pagination.

get_account

Get details of a specific Cloudflare account by ID. Use list_accounts first to find valid account IDs.

purge_cache

Purge cached content for a Cloudflare zone.

list_dns_records

List DNS records for a Cloudflare zone. Supports filtering by record type (A, AAAA, CNAME, MX, TXT, etc.), name, content, and proxy status with pagination. Use list_zones first to get the zone ID.

get_dns_record

Get details of a specific DNS record by ID. Use list_dns_records first to find the record ID and zone ID.

create_dns_record

Create a new DNS record in a Cloudflare zone.

update_dns_record

Update an existing DNS record. Only specified fields are modified. Use list_dns_records to find the record ID and zone ID.

delete_dns_record

Delete a DNS record from a Cloudflare zone. This is irreversible. Use list_dns_records to find the record ID and zone ID.

list_zone_rulesets

List all rulesets for a Cloudflare zone including WAF custom rules, rate limiting rules, transform rules, and cache rules. Use list_zones first to get the zone ID.

get_zone_ruleset

Get a specific ruleset with all its rules. Use list_zone_rulesets first to find the ruleset ID.

create_zone_ruleset

Create a new zone ruleset with WAF custom rules.

update_zone_ruleset

Update a zone ruleset by replacing all its rules.

delete_zone_ruleset

Delete a zone ruleset and all its rules. This is irreversible. Use list_zone_rulesets to find the ruleset ID.

list_zone_settings

List all settings for a Cloudflare zone including SSL mode, security level, caching, and performance options. Use list_zones first to get the zone ID.

get_zone_setting

Get a specific zone setting value. Common settings: ssl, security_level, min_tls_version, always_use_https, development_mode, cache_level, browser_cache_ttl. Use list_zones first to get the zone ID.

update_zone_setting

Update a zone setting. Examples: ssl=‘strict’, security_level=‘high’, min_tls_version=‘1.2’, always_use_https=‘on’, development_mode=‘on’. Use get_zone_setting first to see the current value.

list_zones

List all Cloudflare zones (domains). Supports filtering by domain name, status, and account ID with pagination. Returns zone IDs needed for DNS, settings, and cache operations.

get_zone

Get detailed information about a specific Cloudflare zone including nameservers, plan, and status. Use list_zones first to find the zone ID.

create_zone

Add a new domain to Cloudflare. Requires the domain name and account ID. Use list_accounts to find valid account IDs. After creation, update DNS nameservers at your registrar.

delete_zone

Permanently remove a zone (domain) from Cloudflare. This is irreversible and removes all associated DNS records and settings. Use list_zones to find the zone ID.