Skip to main content
Glama
KodimTech

@kodim/mcp-cloudflare-dns

by KodimTech

@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"
      }
    }
  }
}

Related MCP server: Cloudflare API MCP

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

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

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/KodimTech/mcp-cloudflare-dns'

If you have feedback or need assistance with the MCP directory API, please join our Discord server