Home / Servers / Cloudflare API

Cloudflare API MCP server

Zones, DNS, Workers, R2, D1, WAF, Access: the whole Cloudflare API.

Cloudflare's API v4 compiled from its OpenAPI schema: DNS records, zones, Workers, KV, R2, D1, firewall, Access, Tunnels, analytics and more, on the accounts your token can reach.

Why use the hosted one: Every endpoint of Cloudflare's API behind the gateway's search, with your own Cloudflare API token stored encrypted and sent only to Cloudflare.

Needs your Cloudflare API token: add it once in the dashboard (get one at Cloudflare). It is stored encrypted and sent only to that API.

Connect

Run in your terminal
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Create an API key and put it in place of YOUR_API_KEY. Step-by-step guides: claude.ai and ChatGPT connectors, Claude Code, Cursor, VS Code, Claude Desktop, Windsurf, Zed, OpenAI Codex CLI, Gemini CLI.

All 3,127 tools

Access 90 tools
Aig 63 tools
Ip 38 tools
Ai 33 tools
Notification 25 tools
Zero 20 tools
Artifacts 19 tools
Basin 16 tools
Workers 15 tools
Agent 14 tools
Mcp 14 tools
Account 10 tools
Autorag 7 tools
Spend 7 tools
Billable 5 tools
Accounts 3 tools
Art 3 tools
Data 3 tools
Get 3 tools
List 3 tools
Sql 3 tools
Analytics 2 tools
Argo 1 tool
Check 1 tool
Dls 1 tool
Request 1 tool

The first 400 of 3,127 are listed; the search box above covers all of them, and so does search_tools from your assistant.

Try asking

List the DNS records of my zone example.com and add an A record for app.

Usage and limits

Every account gets a free daily allowance of tool calls; connecting, listing and searching are not counted. See the limits. Only a tool that runs costs a call.

Other hosted servers