Home / Servers / Cloudflare API / namespace_worker_patch_script_secrets_bulk

Patch multiple Workers for Platforms script secrets

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

Patch multiple Workers for Platforms script secrets Create, update, or delete multiple secrets on a Workers for Platforms script in a single operation… [PATCH /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/secrets-bulk]

Name on the gateway: cloudflare_api__namespace_worker_patch_script_secrets_bulk · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
dispatch_namespace requiredstringdispatch_namespace 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__namespace_worker_patch_script_secrets_bulk",
  "arguments": {
    "account_id": "…",
    "dispatch_namespace": "…",
    "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 workers for platforms script secrets tool with account_id set to ….

More from Cloudflare API