Home / Servers / Cloudflare API / custom_pages_for_a_zone_update_a_custom_page

Update a custom page

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

Update a custom page Updates the configuration for a custom page type at the zone level. [PUT /zones/{zone_id}/custom_pages/{identifier}]

Name on the gateway: cloudflare_api__custom_pages_for_a_zone_update_a_custom_page · may change things.

Parameters

NameTypeDescription
zone_id requiredstringzone_id parameter
identifier required1000_errors | 500_errors | basic_challenge | country_challenge | ip_block | managed_challenge | ratelimit_block | under_attack | waf_block | waf_challengeidentifier parameter
state requireddefault | customizedThe custom page state.
url requiredstringThe URL associated with the custom page.

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__custom_pages_for_a_zone_update_a_custom_page",
  "arguments": {
    "zone_id": "…",
    "identifier": "…",
    "state": "…",
    "url": "…"
  }
}

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 a custom page tool with zone_id set to ….

More from Cloudflare API