Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart 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

  • MCP

    Official MCP server. The agent lists its tools and calls them.

  • REST API

    Always available. The agent calls the API directly with your credential attached.

  • CLI

    The `wrangler` command, run on one of your computers with the credential mounted.

How you authenticate

  • API key
  • No credential needed
  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.

How agents reach it

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

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
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Credentials
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • idapt Code
  • Code Execution
  • Computers
  • Computer Use
  • Computer Assist · Soon
  • Containers
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features →
  • LLM cost calculator
  • Token counter
  • Context window checker
  • Can I run it
  • Model picker quiz
  • Savings finder
  • Video cost estimator
  • Text to speech cost
  • Transcription cost
  • API endpoint tester
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Skills
  • Learn
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)