mcp-cloudflare-dns
Provides tools for managing Cloudflare DNS zones, DNS records (CRUD), cache purging, and page rules, enabling AI assistants to control Cloudflare DNS settings programmatically.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-cloudflare-dnsList all DNS records for example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-cloudflare-dns
Cloudflare DNS MCP server for operators who need zone, record, cache, and page-rule control from an MCP client without opening the Cloudflare dashboard for every change.
Release posture: beta package, version 0.1.1 from pyproject.toml.
Choose your path
You are... | Start here | Then |
Installing the server in Claude/Codex/Cursor | Quick start below | |
Verifying what the server can touch | ||
Auditing packaging or release metadata |
Related MCP server: cloudflare-dns-mcp-server
Architecture
flowchart TD
U[AI operator] --> C[MCP client]
C --> S[FastMCP server]
E[CF_API_TOKEN] --> S
S --> T[Tool handlers]
T --> R[Retry wrapper]
R --> A[Cloudflare API]
A --> R --> T --> CRequest flow
flowchart TD
Q[Operator asks for a DNS change] --> H[Selected MCP tool]
H --> I[Load token and build client]
I --> J{Cloudflare call succeeds?}
J -- yes --> K[Return normalized JSON result]
J -- retryable --> L[Backoff and retry]
L --> J
J -- no --> M[Return error payload]Quick start
Install the package.
python -m pip install mcp-cloudflare-dnsExport a token with DNS permissions.
export CF_API_TOKEN="your-cloudflare-api-token"Register it in your MCP client.
{
"mcpServers": {
"cloudflare-dns": {
"command": "uvx",
"args": ["mcp-cloudflare-dns"],
"env": {
"CF_API_TOKEN": "your-cloudflare-api-token"
}
}
}
}Available tools
Tool group | Tools | Purpose |
Zone inventory |
| Inspect available zones and key settings |
DNS records |
| Read and mutate records |
Edge actions |
| Invalidate cached content and inspect page rules |
delete_dns_record and full-cache actions stay gated behind the destructive env flags described in
docs/start-here.md.
Runtime proof
Claim | Proof |
Package entry point is stable |
|
Server is MCP-specific, not a generic CLI |
|
Cloudflare failures are retried |
|
Release artifacts are built |
|
Repo map
Path | Purpose |
FastMCP tool surface, env loading, retry wrapper | |
Package metadata, version, script entry point | |
Registry-facing metadata for MCP discovery | |
Setup, env, validation, common failures | |
Component map and request lifecycle |
Validation
Check | Command |
Import compiles |
|
Package builds |
|
README links stay local |
|
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/apexradius/mcp-cloudflare-dns'
If you have feedback or need assistance with the MCP directory API, please join our Discord server