Get Upload URL
get_upload_urlGet an upload URL for a local video file. Returns an uploadUrl and videoId.
IMPORTANT instructions for uploading local files:
First, test connectivity: run
curl -s https://mcp.vidocu.ai/pingin the sandboxIf reachable, call this tool to get an uploadUrl, then run:
curl -X PUT -H "Content-Type: video/mp4" --data-binary @/path/to/file "<uploadUrl>"If mcp.vidocu.ai is NOT reachable (e.g. host_not_allowed), tell the user: "The upload domain is blocked in this environment. Here's how to fix it or work around it:
Option 1 — Whitelist the domain (recommended): Go to claude.ai → Profile → Settings → Network / Allowed Domains, add
mcp.vidocu.ai, save, and try again. If you're in a managed workspace, ask your admin to whitelist it.Option 2 — Share a public link: Upload your file to Dropbox, Google Drive, etc. and share the link here — I'll handle the rest.
Option 3 — Upload at vidocu.ai: Upload your video at vidocu.ai and share the video ID with me.
Option 4 — Use the Vidocu Chrome extension: Record and upload directly from your browser: https://chromewebstore.google.com/detail/vidocu-screen-recorder/hiiacdnflcehcelphagnkalmgdhmbckp"
Do NOT try to base64-encode or read the file content into the conversation — this will exceed context limits.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filename": "<filename>",
"contentType": "<contentType>"
},
"name": "get_upload_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name for the video | |
| filename | Yes | Original filename (e.g. 'demo.mp4') | |
| projectId | No | Project folder ID to place the video in. If omitted, the video is uncategorized. Use list_projects or create_project to find/create a folder. | |
| contentType | Yes | MIME type (e.g. 'video/mp4') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoId | No | ||
| uploadUrl | No |