yandex_disk_upload
Upload a local file or folder recursively to a Yandex.Disk destination as a background job, returning a job ID and progress while skipping same-size files and verifying each transfer.
Instructions
Upload a local file or folder (recursively, keeping its structure) into a Yandex.Disk folder. Runs as a background job: returns a job_id and progress after wait_seconds; poll it with yandex_disk_upload_status. Files already on the disk with the same size are skipped, missing folders are created, every upload is verified by MD5. Video is uploaded under a temporary '.part' name and renamed afterwards, because Yandex.Disk throttles API uploads of video to ~130 KB/s; a leftover '.part' of the same size is just renamed. The job lives in the MCP server process and stops if the server exits
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": {
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "yandex_disk_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proxy | No | HTTP proxy for the upload traffic (e.g., 'http://127.0.0.1:8078'); API calls go direct. Default: YANDEX_DISK_UPLOAD_PROXY env var; '' disables | |
| ignore | No | File/folder name globs skipped when walking a folder (default: ['.DS_Store', '._*']) | |
| include | No | Upload only these files: paths relative to local_path (as in yandex_disk_compare's only_local) or absolute | |
| log_file | No | Optional local file to append one line per file (OK/SKIP/FAIL) to | |
| overwrite | No | Replace files that already exist on Yandex.Disk. When false, an existing file of the same size is skipped and one of a different size is reported as failed (default: false) | |
| local_path | Yes | Absolute path to a local file or folder | |
| concurrency | No | Files uploaded in parallel, 1-4 (default: 1) | |
| remote_path | Yes | Destination folder on Yandex.Disk (e.g., '/Photo/2017'); created if missing | |
| wait_seconds | No | Wait up to this many seconds for the job to finish before returning, 0-900 (default: 30) | |
| bypass_extensions | No | Extensions uploaded via a temporary '.part' name (default: common video formats; [] disables) |