Home / Servers / Cloudflare API / worker_script_upload_worker_module
Upload Worker
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Upload Worker code and configuration. For ES module and other module-based Workers, use multipart/form-data with… [PUT /accounts/{account_id}/workers/scripts/{script_name}]
Name on the gateway: cloudflare_api__worker_script_upload_worker_module · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
script_name required | string | script_name parameter |
bindings_inherit | strict | When set to "strict", the upload will fail with… |
files | array | An array of modules (often JavaScript files)… |
metadata required | object |
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__worker_script_upload_worker_module",
"arguments": {
"account_id": "…",
"script_name": "…",
"metadata": "…"
}
}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 upload worker tool with account_id set to ….