Home / Servers / Cloudflare API / accounts_turnstile_widget_update

Update a Turnstile Widget

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

Update a Turnstile Widget Updates the configuration of a Turnstile widget. [PUT /accounts/{account_id}/challenges/widgets/{sitekey}]

Name on the gateway: cloudflare_api__accounts_turnstile_widget_update · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
sitekey requiredstringsitekey parameter
bot_fight_modebooleanIf bot_fight_mode is set to true, Cloudflare…
clearance_levelno_clearance | jschallenge | managed | interactiveIf Turnstile is embedded on a Cloudflare site…
domains requiredarray
ephemeral_idbooleanReturn the Ephemeral ID in /siteverify (ENT only).
mode requirednon-interactive | invisible | managedWidget Mode
name requiredstringHuman readable widget name. Not unique.…
offlabelbooleanDo not show any Cloudflare branding on the…
regionworld | chinaRegion where this widget can be used. This…

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__accounts_turnstile_widget_update",
  "arguments": {
    "account_id": "…",
    "sitekey": "…",
    "domains": [],
    "mode": "…",
    "name": "…"
  }
}

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 turnstile widget tool with account_id set to ….

More from Cloudflare API