Home / Servers / Cloudflare API / stream_videos_upload_videos_via_direct_upload_ur_ls
Upload videos via direct upload URLs
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Upload videos via direct upload URLs Creates a direct upload endpoint that allows an end-user to upload a video without an API key. [POST /accounts/{account_id}/stream/direct_upload]
Name on the gateway: cloudflare_api__stream_videos_upload_videos_via_direct_upload_ur_ls · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
allowedOrigins | array | Lists the origins allowed to display the video.… |
creator | string | A user-defined identifier for the media creator. |
expiry | string | The date and time after upload when videos will… |
maxDurationSeconds required | integer | The maximum duration in seconds for a video… |
meta | object | A user modifiable key-value store used to… |
requireSignedURLs | boolean | Indicates whether the video can be a accessed… |
scheduledDeletion | string | Indicates the date and time at which the video… |
thumbnailTimestampPct | number | The timestamp for a thumbnail image calculated… |
watermark | 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__stream_videos_upload_videos_via_direct_upload_ur_ls",
"arguments": {
"account_id": "…",
"maxDurationSeconds": 0
}
}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 videos via direct upload urls tool with account_id set to ….