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
| Name | Type | Description |
|---|---|---|
zone_id required | string | zone_id parameter |
analytics | object | Cloudflare Monitoring settings. |
consent | object | Consent management configuration. |
dataLayer required | boolean | Data layer compatibility mode enabled. |
debugKey required | string | The key for Zaraz debug mode. |
historyChange | boolean | Single Page Application support enabled. |
settings required | object | General Zaraz settings. |
triggers required | object | Triggers set up under Zaraz configuration, where… |
variables required | object | Variables set up under Zaraz configuration… |
zarazVersion required | integer | Zaraz internal version of the config. |
tools required | object | Tools 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:
{
"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:
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 ….