Skip to content
MCP server

MCP Cloudflare DNS

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.1
Listing updated
4 days ago

About MCP Cloudflare DNS

MCP Cloudflare DNS is an open-source MCP server for cloud and infrastructure. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp-cloudflare-dns --env CF_API_TOKEN='<CF_API_TOKEN>' -- uvx mcp-cloudflare-dns

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-cloudflare-dns": {
      "command": "uvx",
      "args": [
        "mcp-cloudflare-dns"
      ],
      "env": {
        "CF_API_TOKEN": "<CF_API_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-cloudflare-dns": {
      "command": "uvx",
      "args": [
        "mcp-cloudflare-dns"
      ],
      "env": {
        "CF_API_TOKEN": "<CF_API_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-cloudflare-dns": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-cloudflare-dns"
      ],
      "env": {
        "CF_API_TOKEN": "<CF_API_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-cloudflare-dns": {
      "command": "uvx",
      "args": [
        "mcp-cloudflare-dns"
      ],
      "env": {
        "CF_API_TOKEN": "<CF_API_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-cloudflare-dns": {
      "command": "uvx",
      "args": [
        "mcp-cloudflare-dns"
      ],
      "env": {
        "CF_API_TOKEN": "<CF_API_TOKEN>"
      }
    }
  }
}

Configuration

  • CF_API_TOKENCloudflare API token with Zone DNS Edit, Zone Read, and Cache Purge permissionsRequired
  • CF_ALLOW_DESTRUCTIVESet to 'true' to enable DNS record deletion and full cache purge

Pricing

Open source

MCP Cloudflare DNS FAQ

Is MCP Cloudflare DNS free?

Yes. MCP Cloudflare DNS is open source, so you can use and self-host it for free.

How do I add MCP Cloudflare DNS to Claude Code?

Run this command in your terminal: claude mcp add mcp-cloudflare-dns --env CF_API_TOKEN='<CF_API_TOKEN>' -- uvx mcp-cloudflare-dns

What are the best alternatives to MCP Cloudflare DNS?

The closest alternatives to MCP Cloudflare DNS are Agent Yurt, Proofline, filex, MagicWP MCP and Kubana Cloud Domains.

Alternatives to MCP Cloudflare DNS

  1. Agent Yurt

    MCP server

    Back up agent memory, files and dashboards, then recover from a reviewed snapshot

    Not checked yet
    • Remote
    • Free
    • Knowledge and memory
  2. Proofline

    MCP server

    Production-aware review of changes against your AWS or Google Cloud setup, via MCP

    • Remote
    • Freemium
    • Developer tools
  3. filex

    MCP server

    Self-hosted file manager in one Go binary with a built-in MCP server for agents

    Not checked yet
    • Remote
    • Open source
    • Files and documents
  4. MagicWP MCP

    MCP server

    Run WordPress hosting from an assistant: backups, staging, updates, PHP and domains

    • Remote
    • Free trial
    • Cloud and infrastructure
  5. Search, register and renew domains and set nameservers at Kubana Cloud from an assistant

    Not checked yet
    • 3 tools
    • Remote
    • Paid
    • Cloud and infrastructure
  6. Create DNS zones, edit records and check nameserver delegation on Kubana Cloud

    Not checked yet
    • 5 tools
    • Remote
    • Free
    • Cloud and infrastructure