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

NameTypeDescription
account_id requiredstringaccount_id parameter
allowedOriginsarrayLists the origins allowed to display the video.…
creatorstringA user-defined identifier for the media creator.
expirystringThe date and time after upload when videos will…
maxDurationSeconds requiredintegerThe maximum duration in seconds for a video…
metaobjectA user modifiable key-value store used to…
requireSignedURLsbooleanIndicates whether the video can be a accessed…
scheduledDeletionstringIndicates the date and time at which the video…
thumbnailTimestampPctnumberThe timestamp for a thumbnail image calculated…
watermarkobject

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__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:

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 upload videos via direct upload urls tool with account_id set to ….

More from Cloudflare API