Server data from the Official MCP Registry
Cloudflare DNS MCP server: manage zones, records, cache purge, and page rules.
Cloudflare DNS MCP server: manage zones, records, cache purge, and page rules.
This is a well-structured MCP server for Cloudflare DNS management with proper authentication, appropriate scoping, and good error handling. The server requires a Cloudflare API token via environment variables and implements reasonable guardrails (CF_ALLOW_DESTRUCTIVE flag) for destructive operations. No critical vulnerabilities or malicious patterns detected. Supply chain analysis found 5 known vulnerabilities in dependencies (1 critical, 3 high severity). Package verification found 1 issue.
4 files analyzed · 9 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: CF_API_TOKEN
Environment variable: CF_ALLOW_DESTRUCTIVE
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-ayo-fam-mcp-cloudflare-dns": {
"env": {
"CF_API_TOKEN": "your-cf-api-token-here",
"CF_ALLOW_DESTRUCTIVE": "your-cf-allow-destructive-here"
},
"args": [
"mcp-cloudflare-dns"
],
"command": "uvx"
}
}
}From the project's GitHub README.
Cloudflare DNS MCP server. Manage zones, DNS records, cache, and page rules from Claude, Cursor, Codex, or any MCP-compatible AI assistant.
# Install: uvx mcp-cloudflare-dns
# Ask your AI:
"List all DNS records for example.com"
"Add a CNAME record pointing api.example.com to my-app.vercel.app"
"Purge the cache for https://example.com/products"
"What page rules are active on example.com?"
The official Cloudflare MCP covers Workers, KV, D1, and R2 — but has zero DNS tools. This server fills that gap.
| Feature | This server | Official CF MCP |
|---|---|---|
| DNS record CRUD | Yes | No |
| Zone listing | Yes | No |
| Cache purge | Yes | No |
| Page rules | Yes | No |
| Zone settings | Yes | No |
| Workers/KV/D1/R2 | No | Yes |
They complement each other — use both.
1. Get a Cloudflare API token — dash.cloudflare.com/profile/api-tokens → Create Token → use "Edit zone DNS" template
2. Add to your MCP client config:
{
"mcpServers": {
"cloudflare-dns": {
"command": "uvx",
"args": ["mcp-cloudflare-dns"],
"env": {
"CF_API_TOKEN": "your-cloudflare-api-token"
}
}
}
}
3. Restart your AI client. Done.
| Tool | What it does |
|---|---|
list_zones | All zones on your account with status and nameservers |
get_zone | Details for a specific zone |
get_zone_settings | SSL mode, security level, minification, HTTPS redirect, etc. |
list_dns_records | All DNS records, filterable by type or name |
get_dns_record | Single record by ID |
create_dns_record | Add A, AAAA, CNAME, MX, TXT, NS, etc. |
update_dns_record | Edit content, TTL, proxy status, or comment |
delete_dns_record | Remove a record (requires CF_ALLOW_DESTRUCTIVE=true) |
purge_cache | Purge specific URLs or entire zone cache |
list_page_rules | All page rules with targets and actions |
| Variable | Required | Description |
|---|---|---|
CF_API_TOKEN | Yes | Cloudflare API token (also accepts CLOUDFLARE_API_TOKEN) |
CF_ALLOW_DESTRUCTIVE | No | Set to true to enable record deletion and full cache purge |
MCP_TRANSPORT | No | Set to sse for remote/VPS deployment (default: stdio) |
MCP_HOST | No | SSE bind host (default: 127.0.0.1) |
MCP_PORT | No | SSE bind port (default: 3001) |
Minimum required scopes for your token:
| Resource | Permission |
|---|---|
| Zone — DNS | Edit |
| Zone — Zone | Read |
| Zone — Cache Purge | Purge |
| Zone — Page Rules | Edit (if using page rules tools) |
MIT
Be the first to review this server!
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally