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
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
dispatch_namespace required | string | dispatch_namespace parameter |
script_name required | string | script_name parameter |
secrets | object | Map of secret names to secret values: - Set to a… |
version_tags | object | Optional 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:
{
"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:
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 ….