All docs
Reference

Cloudflare tools: every read and write tool the agent and MCP can call

TL;DR

19 read and 12 write tools. Read and write support for the operations listed.

Support and limitations

  • Read and write support for the operations listed.
  • Permissions: the connected login's role and the permissions it granted decide what each tool can read or change. A tool the login cannot use answers with what is missing; it never works around it.
  • Approvals: in the app, changes wait for approval unless the task runs with auto-approve. Over MCP and REST they follow the credential's setting (an API key applies ordinary changes at once unless it is set to require approval; a third-party OAuth connection waits). 6 writes are marked “Person approves”: they wait for a person on every lane — only the workspace's own OAuth app and an API key an admin set to apply changes you can't take back skip that wait. Forbidden Rules can block any of them.
  • Operations the platform's API does not offer, and operations not in the catalog, are not available through these tools.

Read tools (19)

ToolWhat it does
cloudflare__list_accountsThe Cloudflare accounts the connected token reaches, with what the token can read in each (areas).
cloudflare__get_capabilitiesRe-check what the token can do in the account: per area (zones, DNS, zone settings, cache, rules, SSL, analytics, Workers, routes, Pages, R2, KV, D1,…
cloudflare__list_zonesZones (domains) of the account: id, name, status, plan, name servers, paused.
cloudflare__get_zoneONE zone with its plan, status, name servers and settings summary.
cloudflare__list_dns_recordsDNS records of a zone: id, type, name, content, ttl (1 = auto), proxied, priority, comment.
cloudflare__export_dns_recordsThe zone's DNS records as a BIND zone file (text).
cloudflare__get_zone_settingsZone settings (ssl, min_tls_version, always_use_https, cache_level, browser_cache_ttl, development_mode, security_level …): all, or one with setting.
cloudflare__list_rulesetsRulesets (WAF, redirect, transform, cache rules) of a zone or, with no zone, of the account; ruleset:id adds its rules.
cloudflare__zone_analyticsZone traffic by day from Cloudflare's GraphQL Analytics (httpRequests1dGroups): requests, cached requests, bytes, cached bytes, threats, page views, unique…
cloudflare__list_workersWorkers scripts of the account: name (id), created / modified, compatibility date, handlers, usage model.
cloudflare__get_workerONE Worker: its settings (bindings, compatibility date / flags, observability) and, with includeCode:true, its source (text, ≤ 200 KB).
cloudflare__list_worker_routesWorker routes of a zone (pattern → script).
cloudflare__list_pages_projectsCloudflare Pages projects: name, subdomain, domains, production branch, latest deployment.
cloudflare__list_r2_bucketsR2 buckets: name, location, creation date.
cloudflare__list_kv_namespacesWorkers KV namespaces: id, title.
cloudflare__list_d1_databasesD1 databases: uuid, name, version, size, tables.
cloudflare__list_registrar_domainsDomains registered with Cloudflare Registrar: name, expiry, auto-renew, locked, privacy.
cloudflare__list_membersAccount members: address, status (member / invited), roles; plus the account's roles.
cloudflare__getGet

Write tools (12)

A write marked “Person approves” waits for a person on every lane; the others follow the approval setting of the app or the credential.

ToolApprovalWhat it does
cloudflare__add_memberPerson approvesInvite a person by e-mail with roles (names or ids from list_members; Super Administrator is never granted by the agent).
cloudflare__update_memberPerson approvesChange a member's roles; never a Super Administrator.
cloudflare__remove_memberPerson approvesRemove a member; never the last Super Administrator.
cloudflare__create_dns_recordApproval settingCreate a DNS record.
cloudflare__update_dns_recordApproval settingChange a DNS record.
cloudflare__delete_dns_recordPerson approvesCannot be undone; can take a site or its mail offline).
cloudflare__set_zone_settingApproval settingChange ONE zone setting.
cloudflare__purge_cacheApproval settingPurge cached files of a zone.
cloudflare__create_worker_routeApproval settingRoute traffic to a Worker.
cloudflare__delete_worker_routePerson approvesRemove a Worker route.
cloudflare__deploy_workerPerson approvesUpload a Worker (an ES module) — creates it, or REPLACES the code of an existing one.
cloudflare__mutateApproval settingAny other Cloudflare write.

Authorized raw requests

cloudflare__raw_request sends a request in Cloudflare's own API format, with the connection's credentials injected and the path bound to the connected account. It needs the tools:raw scope. Reads run at once; a change waits for a person unless the credential is an API key whose raw writes an admin pre-authorized, or the workspace's own OAuth app — except a permanent delete, which always waits for a person, and a call the platform's fences refuse, which is never sent.

Frequently asked questions

How many Cloudflare tools are there?
31: 19 read and 12 write, of which 6 always wait for a person. The list on this page is the complete catalog for Cloudflare.
Can an agent call the Cloudflare API directly?
cloudflare__raw_request sends a request in Cloudflare's own API format, with the connection's credentials injected and the path bound to the connected account. It needs the tools:raw scope. Reads run at once; a change waits for a person unless the credential is an API key whose raw writes an admin pre-authorized, or the workspace's own OAuth app — except a permanent delete, which always waits for a person, and a call the platform's fences refuse, which is never sent.
Use the Cloudflare tools

Run them through the in-app agent, or call them from Claude, ChatGPT, Codex or Cursor over the hosted MCP server.