cf_settings_update
Update Cloudflare zone settings to close the audit-remediation loop. Supports dry-run preview, and requires confirmation for security-sensitive changes like SSL mode or HSTS.
Instructions
Write the SEO/crawl/security Cloudflare zone settings that cf_settings_audit grades, to close the audit -> remediate loop. Gated: requires SEO_MCP_ALLOW_DESTRUCTIVE=true. Changing ssl_mode, or any HSTS change that raises protection, additionally requires confirm= (HSTS also requires acknowledge_hsts_risk=true). Validates locally first and supports dry_run (before/after preview). Needs the Zone Settings:Edit token scope (the audit only needs Read).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | No | Zone hostname. Defaults to the configured CF_ZONE. | |
| confirm | No | Must equal the resolved zone for ssl_mode or HSTS-raise changes. | |
| dry_run | No | Preview before/after without writing (default false). | |
| settings | Yes | Only the provided keys are changed. | |
| acknowledge_hsts_risk | No | Required true for any HSTS change that raises protection (HSTS is hard to undo). |