Cloudflare tools: every read and write tool the agent and MCP can call
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)
| Tool | What it does |
|---|---|
cloudflare__list_accounts | The Cloudflare accounts the connected token reaches, with what the token can read in each (areas). |
cloudflare__get_capabilities | Re-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_zones | Zones (domains) of the account: id, name, status, plan, name servers, paused. |
cloudflare__get_zone | ONE zone with its plan, status, name servers and settings summary. |
cloudflare__list_dns_records | DNS records of a zone: id, type, name, content, ttl (1 = auto), proxied, priority, comment. |
cloudflare__export_dns_records | The zone's DNS records as a BIND zone file (text). |
cloudflare__get_zone_settings | Zone settings (ssl, min_tls_version, always_use_https, cache_level, browser_cache_ttl, development_mode, security_level …): all, or one with setting. |
cloudflare__list_rulesets | Rulesets (WAF, redirect, transform, cache rules) of a zone or, with no zone, of the account; ruleset:id adds its rules. |
cloudflare__zone_analytics | Zone traffic by day from Cloudflare's GraphQL Analytics (httpRequests1dGroups): requests, cached requests, bytes, cached bytes, threats, page views, unique… |
cloudflare__list_workers | Workers scripts of the account: name (id), created / modified, compatibility date, handlers, usage model. |
cloudflare__get_worker | ONE Worker: its settings (bindings, compatibility date / flags, observability) and, with includeCode:true, its source (text, ≤ 200 KB). |
cloudflare__list_worker_routes | Worker routes of a zone (pattern → script). |
cloudflare__list_pages_projects | Cloudflare Pages projects: name, subdomain, domains, production branch, latest deployment. |
cloudflare__list_r2_buckets | R2 buckets: name, location, creation date. |
cloudflare__list_kv_namespaces | Workers KV namespaces: id, title. |
cloudflare__list_d1_databases | D1 databases: uuid, name, version, size, tables. |
cloudflare__list_registrar_domains | Domains registered with Cloudflare Registrar: name, expiry, auto-renew, locked, privacy. |
cloudflare__list_members | Account members: address, status (member / invited), roles; plus the account's roles. |
cloudflare__get | Get |
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.
| Tool | Approval | What it does |
|---|---|---|
cloudflare__add_member | Person approves | Invite a person by e-mail with roles (names or ids from list_members; Super Administrator is never granted by the agent). |
cloudflare__update_member | Person approves | Change a member's roles; never a Super Administrator. |
cloudflare__remove_member | Person approves | Remove a member; never the last Super Administrator. |
cloudflare__create_dns_record | Approval setting | Create a DNS record. |
cloudflare__update_dns_record | Approval setting | Change a DNS record. |
cloudflare__delete_dns_record | Person approves | Cannot be undone; can take a site or its mail offline). |
cloudflare__set_zone_setting | Approval setting | Change ONE zone setting. |
cloudflare__purge_cache | Approval setting | Purge cached files of a zone. |
cloudflare__create_worker_route | Approval setting | Route traffic to a Worker. |
cloudflare__delete_worker_route | Person approves | Remove a Worker route. |
cloudflare__deploy_worker | Person approves | Upload a Worker (an ES module) — creates it, or REPLACES the code of an existing one. |
cloudflare__mutate | Approval setting | Any 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.
Related pages
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.