Skip to content

Cloudflare suite

Tier & pricing (summary)

50c planPro minimum (Enterprise / Foundation include Pro suites)
API manifest tierpro for every cf_* tool
Your Cloudflare tokenRequired per request; 50c never stores it
BillingPer tool call in API credits (see table below). Amounts are USD per successful call at list rates.

This page documents the Cloudflare suite as one doc; each capability is a separate tool name (cf_*). There are 31 tools — individual reference entries also appear under Tools Reference (sidebar).

Authentication

  • REST: header X-Cloudflare-Token: <your_cf_token> (recommended), and/or JSON field cloudflare_token in the body.
  • MCP: set cloudflare_token in the tool arguments if your client cannot send custom headers.

See Authentication for 50c API keys (Authorization: Bearer cv_...).

Tools (31)

Canonical names and per-call pricing (cents) live in cloudflare_tools.CLOUDFLARE_TOOL_COSTS in the 50c repo — single source of truth alongside CLOUDFLARE_MCP_TOOLS schemas.

Included capabilities (each exposed as cf_*):

  • Zones: list, get, create, find
  • DNS: list, get, create, update, delete, bulk
  • SSL: status, mode
  • Cache: purge (URLs/tags), purge all, dev mode, cache rules
  • Security: under attack mode, block IP, firewall rules, threats
  • Traffic / insight: analytics, bandwidth
  • Page rules: list, create, update, delete
  • Workers: list, deploy, delete
  • Convenience: point domain to server, email DNS helpers (cf_setup_email — use real MX hostnames for Microsoft/Google)

Example

Terminal window
curl -X POST https://api.50c.ai/tools/cf_list_zones \
-H "Authorization: Bearer cv_YOUR_KEY" \
-H "X-Cloudflare-Token: YOUR_CF_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'

Per-tool pricing

Prices below match cloudflare_tools.CLOUDFLARE_TOOL_COSTS (cents) and the live API /v1/manifest. Credits are deducted in cents internally (e.g. 2¢ = $0.02).

ToolPrice / call
cf_analytics$0.00
cf_bandwidth$0.00
cf_block_ip$0.02
cf_bulk_dns$0.05
cf_cache_rules$0.00
cf_create_dns$0.02
cf_create_page_rule$0.03
cf_create_zone$0.03
cf_delete_dns$0.02
cf_delete_page_rule$0.02
cf_delete_worker$0.02
cf_deploy_worker$0.05
cf_dev_mode$0.00
cf_find_zone$0.00
cf_firewall_rules$0.00
cf_get_dns$0.00
cf_get_zone$0.00
cf_list_dns$0.00
cf_list_page_rules$0.00
cf_list_workers$0.00
cf_list_zones$0.00
cf_point_to_server$0.03
cf_purge_all$0.02
cf_purge_cache$0.02
cf_setup_email$0.03
cf_ssl_mode$0.02
cf_ssl_status$0.00
cf_threats$0.00
cf_under_attack$0.00
cf_update_dns$0.02
cf_update_page_rule$0.02