Manage Cloudflare DNS records
## Cloudflare DNS MCP Server: DNS Management The **Cloudflare DNS MCP Server** integrates Cloudflare DNS management into Google Antigravity, enabling AI-assisted DNS record management, zone configuration, and domain operations. ### Why Cloudflare DNS MCP? - **Fast DNS**: Industry-leading DNS resolution speed globally - **Record Management**: Create, update, and delete DNS records easily - **DNSSEC**: Built-in DNSSEC support for enhanced security - **Proxy Control**: Control Cloudflare proxy settings per record - **Bulk Operations**: Manage multiple records efficiently ### Key Features #### 1. Record Management ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "List all DNS records for my domain and their proxy status" }] ) ``` #### 2. Record Creation ```python # Create records response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Create A record for api subdomain pointing to new server IP" }] ) ``` #### 3. Zone Settings ```python # Configure zone response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Enable DNSSEC and configure SSL settings for the zone" }] ) ``` #### 4. Bulk Updates ```python # Update multiple response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Update TTL to 300 seconds for all A and CNAME records" }] ) ``` ### Configuration ```json { "mcpServers": { "cloudflare-dns": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-cloudflare-dns"], "env": { "CLOUDFLARE_API_TOKEN": "your-api-token", "CLOUDFLARE_ZONE_ID": "your-zone-id" } } } } ``` ### Use Cases **DNS Management**: Manage DNS records programmatically. **Infrastructure Changes**: Update DNS during deployments. **Multi-Domain**: Manage DNS across multiple domains. **Security**: Configure DNSSEC and security settings. The Cloudflare DNS MCP Server brings DNS management into your workflow.
{
"mcpServers": {
"cloudflare-dns": {
"mcpServers": {
"cloudflare-dns": {
"env": {
"CLOUDFLARE_ZONE_ID": "YOUR_ZONE_ID",
"CLOUDFLARE_API_TOKEN": "YOUR_API_TOKEN"
},
"args": [
"-y",
"mcp-cloudflare-dns"
],
"command": "npx"
}
}
}
}
}