Cloudflare DNS MCP server: manage zones, records, cache purge, and page rules.
Connect Runs on your machine
claude mcp add mcp-cloudflare-dns -e CF_API_TOKEN=<CF_API_TOKEN> -e CF_ALLOW_DESTRUCTIVE=<CF_ALLOW_DESTRUCTIVE> -- uvx mcp-cloudflare-dns==0.1.1
{
"mcpServers": {
"mcp-cloudflare-dns": {
"command": "uvx",
"args": [
"mcp-cloudflare-dns==0.1.1"
],
"env": {
"CF_API_TOKEN": "<CF_API_TOKEN>",
"CF_ALLOW_DESTRUCTIVE": "<CF_ALLOW_DESTRUCTIVE>"
}
}
}
}
{
"mcpServers": {
"mcp-cloudflare-dns": {
"command": "uvx",
"args": [
"mcp-cloudflare-dns==0.1.1"
],
"env": {
"CF_API_TOKEN": "<CF_API_TOKEN>",
"CF_ALLOW_DESTRUCTIVE": "<CF_ALLOW_DESTRUCTIVE>"
}
}
}
}
{
"servers": {
"mcp-cloudflare-dns": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-cloudflare-dns==0.1.1"
],
"env": {
"CF_API_TOKEN": "<CF_API_TOKEN>",
"CF_ALLOW_DESTRUCTIVE": "<CF_ALLOW_DESTRUCTIVE>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
CF_API_TOKENRequired, secret | Cloudflare API token with Zone DNS Edit, Zone Read, and Cache Purge permissions |
CF_ALLOW_DESTRUCTIVEOptional | Set to 'true' to enable DNS record deletion and full cache purge |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 30 Jun 2026 |
| Last updated | 30 Jun 2026 |
| Registry name | io.github.Ayo-Fam/mcp-cloudflare-dns |
More cloud and devops servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
