mcp-cloudflare MCP Server

A Model Context Protocol server implementation for Cloudflare DNS that enables AI agents to manage DNS records for your domains.

Local serverstdioMIT

What is the mcp-cloudflare MCP Server?

mcp-cloudflare is an MCP project maintained in the gilberth/mcp-cloudflare repository. The maintainer describes its purpose as “A Model Context Protocol server implementation for Cloudflare DNS that enables AI agents to manage DNS records for your domains”. Read the project documentation for the complete scope.

Installation

The documented npm package is @thelord/mcp-cloudflare. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares CLOUDFLARE_API_TOKEN, CLOUDFLARE_ZONE_ID. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_dns_records
get_dns_record
create_dns_record
update_dns_record
delete_dns_record

How to install the mcp-cloudflare MCP Server

{
  "mcpServers": {
    "cloudflare": {
      "command": "npx",
      "args": [
        "-y",
        "@thelord/mcp-cloudflare"
      ],
      "env": {
        "CLOUDFLARE_API_TOKEN": "YOUR_CLOUDFLARE_API_TOKEN",
        "CLOUDFLARE_ZONE_ID": "your-zone-id"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
CLOUDFLARE_API_TOKENDeclared in the maintainer’s client configuration.Check documentation
CLOUDFLARE_ZONE_IDDeclared in the maintainer’s client configuration.Check documentation