MCP Cloudflare DNS
v0.1.1Cloudflare DNS MCP server: manage zones, records, cache purge, and page rules.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_zones List Zones
List all Cloudflare zones on this account.
| Parameter | Type | Description |
|---|---|---|
name_filter | Optional domain name substring to filter results (e.g. 'example.com') |
get_zone Get Zone
Get details for a specific Cloudflare zone by ID.
| Parameter | Type | Description |
|---|---|---|
zone_id * | string |
get_zone_settings Get Zone Settings
Get key security and performance settings for a zone. Returns SSL mode, security level, minification, always-https, brotli, etc.
| Parameter | Type | Description |
|---|---|---|
zone_id * | string |
list_dns_records List Dns Records
List DNS records for a zone.
| Parameter | Type | Description |
|---|---|---|
zone_id * | string | Cloudflare zone ID |
name | Filter by record name (e.g. 'api.example.com') | |
record_type | Filter by type — A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, etc. |
get_dns_record Get Dns Record
Get a specific DNS record by zone ID and record ID.
| Parameter | Type | Description |
|---|---|---|
record_id * | string | |
zone_id * | string |
create_dns_record Create Dns Record
Create a new DNS record.
| Parameter | Type | Description |
|---|---|---|
content * | string | Record value (IP address, hostname, text, etc.) |
name * | string | Record name (e.g. 'api' or 'api.example.com') |
record_type * | string | A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, etc. |
zone_id * | string | Cloudflare zone ID |
comment | Optional note about this record | |
priority | MX/SRV priority (required for MX records) | |
proxied | boolean | Whether to proxy through Cloudflare (orange cloud). Only valid for A, AAAA, CNAME. |
ttl | integer | TTL in seconds. 1 = auto (only valid when proxied=True) |
update_dns_record Update Dns Record
Update an existing DNS record. Only the fields you provide will be changed.
| Parameter | Type | Description |
|---|---|---|
record_id * | string | DNS record ID to update |
zone_id * | string | Cloudflare zone ID |
comment | Update the record comment | |
content | New record value | |
proxied | Toggle Cloudflare proxy on/off | |
ttl | New TTL in seconds (1 = auto) |
delete_dns_record Delete Dns Record
Delete a DNS record. Requires CF_ALLOW_DESTRUCTIVE=true.
| Parameter | Type | Description |
|---|---|---|
record_id * | string | DNS record ID to delete |
zone_id * | string | Cloudflare zone ID |
purge_cache Purge Cache
Purge Cloudflare cache for a zone.
| Parameter | Type | Description |
|---|---|---|
zone_id * | string | Cloudflare zone ID |
purge_everything | boolean | Purge entire zone cache (overrides urls). Requires CF_ALLOW_DESTRUCTIVE=true. |
urls | Specific URLs to purge (up to 30 per call) |
list_page_rules List Page Rules
List page rules for a zone.
| Parameter | Type | Description |
|---|---|---|
zone_id * | string | Cloudflare zone ID |
status | Filter by 'active' or 'disabled' (default: all) |