@kodim/mcp-cloudflare-dns
MCP server for managing and analyzing Cloudflare DNS — zones, records, analytics, and DNSSEC.
README
@kodim/mcp-cloudflare-dns
MCP server for managing and analyzing Cloudflare DNS — zones, records, analytics, and DNSSEC.
Installation
Claude Code
Add to your Claude Code MCP settings (.claude/settings.local.json or global settings):
{
"mcpServers": {
"cloudflare-dns": {
"command": "npx",
"args": ["-y", "@kodim/mcp-cloudflare-dns"],
"env": {
"CLOUDFLARE_API_TOKEN": "your-cloudflare-api-token"
}
}
}
}
Cursor / Other MCP Clients
{
"mcpServers": {
"cloudflare-dns": {
"command": "npx",
"args": ["-y", "@kodim/mcp-cloudflare-dns"],
"env": {
"CLOUDFLARE_API_TOKEN": "your-cloudflare-api-token"
}
}
}
}
Cloudflare API Token
Create an API token at Cloudflare Dashboard.
Required permissions:
- Zone — Read
- DNS — Edit
- Analytics — Read (for analytics tools)
You can use the "Edit zone DNS" template as a starting point and add Analytics read permission.
Tools
Zones
| Tool | Description |
|---|---|
list_zones |
List all DNS zones. Filter by name, status. |
get_zone |
Get full details of a zone by ID. |
DNS Records
| Tool | Description |
|---|---|
list_dns_records |
List records with filters (type, name, content, proxied, search, tag). |
get_dns_record |
Get details of a specific record. |
create_dns_record |
Create a record (A, AAAA, CNAME, MX, TXT, SRV, etc.). |
update_dns_record |
Partially update an existing record. |
delete_dns_record |
Permanently delete a record. |
Bulk Operations
| Tool | Description |
|---|---|
batch_dns_records |
Create, update, and delete multiple records in one call. |
export_dns_records |
Export all records in BIND format (for backups). |
import_dns_records |
Import records from BIND format content. |
Analytics
| Tool | Description |
|---|---|
get_dns_analytics |
Summary metrics: query count, response times, cache stats. |
get_dns_analytics_by_time |
Time-series analytics with configurable intervals. |
DNSSEC
| Tool | Description |
|---|---|
get_dnssec_status |
Get DNSSEC status and DS record details. |
update_dnssec_status |
Enable or disable DNSSEC. |
Development
# Install dependencies
npm install --ignore-scripts
# Build
npm run build
# Watch mode
npm run watch
# Test with MCP Inspector
CLOUDFLARE_API_TOKEN=your-token npm run dev
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.