Home / Servers / Cloudflare API / worker_versions_upload_version
Upload Version
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Upload Version Upload a Worker Version without deploying to Cloudflare's network. You can find more about the… [POST /accounts/{account_id}/workers/scripts/{script_name}/versions]
Name on the gateway: cloudflare_api__worker_versions_upload_version · 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 | JSON-encoded metadata about the uploaded parts… |
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_versions_upload_version",
"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 version tool with account_id set to ….