Cloudflare Api Key for AI agents
Cloudflare's API key access covers the same DNS, firewall, and zone management as its OAuth integration, for setups that authenticate with a key instead. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.
What agents do in Cloudflare Api Key.
Check a zone's details
Check a zone's details and status before making a change to its configuration.
Create a firewall rule
Create a rule in a ruleset to block or challenge traffic matching a pattern.
Confirm before deleting a zone
Confirm before deleting a zone, since it removes DNS and security settings permanently.
25 Cloudflare Api Key actions, graded by risk.
Every Cloudflare Api Key action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.
read
8Look things up. Allowed by default.
- cloudflare_api_key.list_zonesList Cloudflare Zones
- cloudflare_api_key.get_rulesetGet Ruleset
- cloudflare_api_key.get_zone_detailsGet Zone Details
- cloudflare_api_key.list_dns_recordsList DNS Records
- cloudflare_api_key.get_lockdown_ruleGet Lockdown Rule
- cloudflare_api_key.get_regional_tiered_cacheGet Regional Tiered Cache
- cloudflare_api_key.get_cloudflare_ip_addressesGet Cloudflare IP Addresses
- cloudflare_api_key.get_entrypoint_ruleset_versionGet Entrypoint Ruleset Version
write
12Create and change things. Allow, or ask the user first.
- cloudflare_api_key.update_zoneUpdate Cloudflare Zone
- cloudflare_api_key.create_rulesetCreate Ruleset
- cloudflare_api_key.update_rulesetUpdate Ruleset
- cloudflare_api_key.create_dns_recordCreate DNS Record
- cloudflare_api_key.create_lockdown_ruleCreate Zone Lockdown Rule
- cloudflare_api_key.update_dnssec_statusUpdate DNSSEC Status
- cloudflare_api_key.update_lockdown_ruleUpdate Lockdown Rule
- cloudflare_api_key.create_rule_in_rulesetCreate Rule in Ruleset
- cloudflare_api_key.update_rule_in_rulesetUpdate Rule in Ruleset
- cloudflare_api_key.upload_file_to_s3Upload File to S3
- cloudflare_api_key.overwrite_dns_recordOverwrite DNS Record
- cloudflare_api_key.rerun_zone_activation_checkRerun Zone Activation Check
destructive
5Delete, cancel or archive. Ask first, or deny outright.
- cloudflare_api_key.delete_zoneDelete a zone
- cloudflare_api_key.delete_dnssecDelete DNSSEC
- cloudflare_api_key.delete_rulesetDelete Ruleset
- cloudflare_api_key.delete_dns_recordDelete DNS Record
- cloudflare_api_key.delete_rule_from_rulesetDelete Rule from Ruleset
Cloudflare Api Key in three steps.
- 01Your users connect Cloudflare Api KeyThey add their Cloudflare Api Key api key on Arc0 Connect, under your brand. It goes straight into the vault.
- 02You set the rulesReads run, writes like “create Ruleset” can wait for the user, and “delete a zone” can be denied outright.
- 03Any agent can actYour agent calls Cloudflare Api Key through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
await arc0.policies.set('cloudflare_api_key', { read: 'allow', write: 'ask', // create_ruleset destructive: 'deny', // delete_zone }) # Claude Code: the same connection, one URL $ claude mcp add --transport http arc0 \ https://mcp.arc0.ai/u/u_8f2
How Cloudflare Api Key connects.
Users add their Cloudflare Api Key api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.
The same Cloudflare Api Key connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →
- AUTH
- API key
- CREDENTIALS
- Per-tenant encrypted vault
- MODEL SEES
- Results only, never credentials
- AUDIT LOG
- Every call, on every plan
Use Cloudflare Api Key from any agent.
More security and identity apps.
Cloudflare Api Key and Arc0, answered.
Can I use Cloudflare Api Key with Claude, ChatGPT or Cursor?
Yes. Connect Cloudflare Api Key to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Cloudflare Api Key actions you allow.
How do users connect Cloudflare Api Key?
Users add their Cloudflare Api Key api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.
Which Cloudflare Api Key actions can my agent take?
25 in total: 8 read, 12 write and 5 destructive, such as “create Ruleset”. Your policies decide which of them each agent may call.
Can I stop my agent from deleting things in Cloudflare Api Key?
Yes. Actions like “delete a zone” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.
Can my own backend call Cloudflare Api Key too?
Yes. The same Cloudflare Api Key connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.
Plug Cloudflare Api Key into your agent.
Your users connect Cloudflare Api Key once, under your brand. Your agent gets 25 actions behind your policies, with every call on the record.
Free to build · MCP + REST · Audit log on every plan