mcp-cloudflare

OSS

An MCP server for Cloudflare DNS, zones and records.

MCP server

Get it
install
claude mcp add mcp-cloudflare -- node /opt/mcp/mcp-cloudflare/build/index.js
# env: CLOUDFLARE_API_TOKEN (scoped to DNS edit on the zones you care about)

It covers the DNS surface I actually touch: list zones, get a zone, and list, create, update, or delete records. That is enough to stand a subdomain up and wire it to a host without leaving the agent.

How it is built

Everything routes through one small cfFetch wrapper: Bearer token, JSON, and one place to handle errors. Cloudflare returns every response in a { success, errors[] } envelope, so the wrapper unwraps it and throws on success: false with the messages attached. That means a tool either returns the record or a real error, never a 200 that quietly failed inside the body.

now runningwhisper_scheduleopen