Home / Servers / Cloudflare API / put_zones_zone_identifier_zaraz_config

Update Zaraz configuration

An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.

Update Zaraz configuration Updates Zaraz configuration for a zone. [PUT /zones/{zone_id}/settings/zaraz/config]

Name on the gateway: cloudflare_api__put_zones_zone_identifier_zaraz_config · may change things.

Parameters

NameTypeDescription
zone_id requiredstringzone_id parameter
analyticsobjectCloudflare Monitoring settings.
consentobjectConsent management configuration.
dataLayer requiredbooleanData layer compatibility mode enabled.
debugKey requiredstringThe key for Zaraz debug mode.
historyChangebooleanSingle Page Application support enabled.
settings requiredobjectGeneral Zaraz settings.
triggers requiredobjectTriggers set up under Zaraz configuration, where…
variables requiredobjectVariables set up under Zaraz configuration…
zarazVersion requiredintegerZaraz internal version of the config.
tools requiredobjectTools set up under Zaraz configuration, where…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "cloudflare_api__put_zones_zone_identifier_zaraz_config",
  "arguments": {
    "zone_id": "…",
    "dataLayer": true,
    "debugKey": "…",
    "settings": "…",
    "triggers": "…",
    "variables": "…",
    "zarazVersion": 0,
    "tools": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update zaraz configuration tool with zone_id set to ….

More from Cloudflare API