Home / Servers / Cloudflare API / namespace_worker_delete_scripts

Delete Workers for Platforms Scripts

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

Delete Workers for Platforms Scripts Delete multiple scripts from a Workers for Platforms dispatch namespace based on optional tag… [DELETE /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts]

Name on the gateway: cloudflare_api__namespace_worker_delete_scripts · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
dispatch_namespace requiredstringdispatch_namespace parameter
tags requiredstringFilter scripts by tags before deletion. Format…
limitintegerLimit the number of scripts to delete.

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_delete_scripts",
  "arguments": {
    "account_id": "…",
    "dispatch_namespace": "…",
    "tags": "…"
  }
}

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 delete workers for platforms scripts tool with account_id set to ….

More from Cloudflare API