Skip to main content
idapt
HomeAI ModelsExploreResourcesPricing
Sign inUse for Free
All integrations
Cloudflare

Cloudflare

DNS, zones, Workers, R2 and Cloudflare's product documentation.

Cloud and infrastructure
Docs and knowledge
Connect CloudflareCloudflare docs

How an agent reaches it

MCPREST APICLI

How you authenticate

API key
No credential needed
Get an API key
  1. Create a scoped API TOKEN (not the legacy Global API Key) with only the permissions you need.
  2. The documentation MCP server needs no credential at all.

Connection details

Base URL
https://api.cloudflare.com/client/v4
Pagination
page
MCP server
https://docs.mcp.cloudflare.com/mcp

Common endpoints

verify the tokenGET /user/tokens/verify
list zonesGET /zones
list DNS recordsGET /zones/{zone_id}/dns_records
create a DNS recordPOST /zones/{zone_id}/dns_records
purge cachePOST /zones/{zone_id}/purge_cache

Worth knowing

  • Every response is wrapped in {success, errors, messages, result}. A 200 with success:false is a failure.
  • The legacy Global API Key uses X-Auth-Email plus X-Auth-Key instead of a bearer token. Prefer scoped tokens.
  • Zone ids, not domain names, appear in paths.
  • Home
  • Pricing
  • AI Models
  • Skills
  • Image models
  • Voice models
  • Video models
  • Rankings
  • Multi-Model Chat
  • Agents
  • Computers
  • Drive
  • Automations
  • AI Gateway
  • All features →
  • Blog
  • About
  • Comparisons
  • Benchmarks
  • Model Match
  • Demos
  • Help center
  • FAQ
  • Privacy
  • Support
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Migrate
  • Downloads
  • Desktop
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)Discord