MCP Cloudflare DNS

Official registry Search and web

Cloudflare DNS MCP server: manage zones, records, cache purge, and page rules.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

PYPI package mcp-cloudflare-dns
Claude Code
claude mcp add mcp-cloudflare-dns -e 'CF_API_TOKEN=<your cf_api_token>' -e 'CF_ALLOW_DESTRUCTIVE=<CF_ALLOW_DESTRUCTIVE>' -- uvx mcp-cloudflare-dns==0.1.1
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mcp-cloudflare-dns": {
            "command": "uvx",
            "args": [
                "mcp-cloudflare-dns==0.1.1"
            ],
            "env": {
                "CF_API_TOKEN": "<your cf_api_token>",
                "CF_ALLOW_DESTRUCTIVE": "<CF_ALLOW_DESTRUCTIVE>"
            }
        }
    }
}

Environment variables

  • CF_API_TOKEN required secret Cloudflare API token with Zone DNS Edit, Zone Read, and Cache Purge permissions
  • CF_ALLOW_DESTRUCTIVE Set to 'true' to enable DNS record deletion and full cache purge

Frequently asked questions

What is MCP Cloudflare DNS?

Cloudflare DNS MCP server: manage zones, records, cache purge, and page rules.

How do I install MCP Cloudflare DNS?

It runs on your machine. In Claude Code: claude mcp add mcp-cloudflare-dns -e 'CF_API_TOKEN=<your cf_api_token>' -e 'CF_ALLOW_DESTRUCTIVE=<CF_ALLOW_DESTRUCTIVE>' -- uvx mcp-cloudflare-dns==0.1.1. For other clients, paste the JSON configuration from this page into their MCP settings.

Does MCP Cloudflare DNS need an API key?

Yes. It expects CF_API_TOKEN, which you set in its configuration.

Is MCP Cloudflare DNS open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains MCP Cloudflare DNS?

It is published by apexradius. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.