Agent Interface
REST API v4Workers APIWebhooks (Notifications)MCP Server (official)
What an agent can do
- ✓Manage DNS records, zones, and page rules
- ✓Deploy and manage Cloudflare Workers (edge compute)
- ✓Configure WAF rules, rate limiting, and bot management
- ✓Manage R2 object storage buckets and objects
- ✓Query analytics data (traffic, security, performance)
- ✓Manage Cloudflare Tunnels for private network access
What it can't do
- ✗Access Cloudflare AI Gateway model routing internals
- ✗Modify account billing or subscription plans via API
- ✗Stream real-time log data via REST (need Logpush)
- ✗Create or manage Cloudflare Pages projects via Workers API
- ✗Access DDoS attack forensics beyond summary analytics
Auth Model
API Token (scoped permissions)Global API Key (legacy, full access)
Builder Notes
Cloudflare launched an official MCP server for Workers/Pages management. API v4 is comprehensive with scoped token permissions. Workers enable running agent code at the edge. R2 API compatible with S3 SDK. Rate limits: 1,200 req/5min per zone.
Sources
Last verified: 2026-03-15