Cloudflare DNS MCP Server
Allows management of Cloudflare DNS records, including listing zones, and creating, updating, deleting DNS records.
Click on "Deploy 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., "@Cloudflare DNS MCP Serveradd a CNAME record for www to mydomain.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.
Cloudflare DNS MCP Server
AI-powered DNS management for Cloudflare. Let any MCP-compatible AI agent (Claude, Cursor, Windsurf, etc.) manage your DNS records.
Tools
Tool | Description |
| List all domains in your Cloudflare account |
| List all DNS records for a zone |
| Create A, AAAA, CNAME, TXT, MX, NS, SRV, CAA records |
| Update existing records |
| Delete records |
Related MCP server: Cloudflare MCP Server
Usage
npx (recommended)
{
"mcpServers": {
"cloudflare-dns": {
"command": "npx",
"args": ["-y", "cloudflare-dns-mcp"],
"env": {
"CF_API_TOKEN": "your-token-here"
}
}
}
}From source
git clone https://github.com/WWE1203/cloudflare-dns-mcp.git
cd cloudflare-dns-mcp
npm install
npm run build
CF_API_TOKEN=your-token npx .Getting your Cloudflare API Token
Go to Cloudflare Dashboard
Create a token with
DNS:Editpermission for the zones you want to manageUse this token in the
CF_API_TOKENenv variable
License
MIT — free for personal and open-source use. Commercial use: contact for license.
Support
If this tool saves you time, consider supporting development:
USDC/ETH: 0xdbACC8698CE9A849eD941c13550774865aCC59F3
This server cannot be deployed
Maintenance
Related MCP Connectors
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
- DoDomainOAuthio.dodomain
Connect custom domains via AI agents: DNS pre-flight checks, hand-off connect sessions and checks.
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
29 pay-per-call DNS, SEO, SSL, security, and dev tools for AI agents. x402, no API key.
Related MCP Servers
- AlicenseAqualityFmaintenanceA Model Context Protocol server implementation that allows AI agents to manage DNS records for domains hosted on Cloudflare by providing tools to list, create, update, and delete various types of DNS records.53793GPL 3.0
- AlicenseBqualityDmaintenanceExposes Cloudflare DNS, security, redirects and zone-settings functionality as structured tools that AI assistants like Claude Desktop can invoke directly.1819MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to manage Cloudflare resources through natural language, including DNS records, zone management, Workers KV storage, cache purging, and analytics. Supports comprehensive Cloudflare operations with secure API token authentication.132MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Cloudflare infrastructure including DNS records, cache purging, SSL settings, Workers, and analytics through the Cloudflare API. Eliminates dashboard context-switching by allowing natural language control of domain management and infrastructure operations.-