Home / Servers / Cloudflare API / worker_patch_script_secrets_bulk

Patch multiple Worker script secrets

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

Patch multiple Worker script secrets Create, update, or delete multiple secrets on a Worker script in a single operation using JSON… [PATCH /accounts/{account_id}/workers/scripts/{script_name}/secrets-bulk]

Name on the gateway: cloudflare_api__worker_patch_script_secrets_bulk · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
script_name requiredstringscript_name parameter
secretsobjectMap of secret names to secret values: - Set to a…
version_tagsobjectOptional version tags to apply to the new script…

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__worker_patch_script_secrets_bulk",
  "arguments": {
    "account_id": "…",
    "script_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 patch multiple worker script secrets tool with account_id set to ….

More from Cloudflare API