Yandex.Disk (unofficial)
v0.4.2Unofficial Yandex.Disk server: manage files, resumable folder upload/download with MD5 checks
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
yandex_disk_info
Get information about Yandex.Disk (total space, used space, etc.)
yandex_disk_list_files
List all files on Yandex.Disk (flat list)
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of files to return (default: 20) |
offset | number | Offset for pagination (default: 0) |
yandex_disk_get_metadata
Get metadata for a file or folder. For a folder, _embedded.items holds one page of its contents and _embedded.total the full count; use limit/offset to page through it
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the file or folder (e.g., '/Documents/file.txt') |
limit | number | Folder items per page (default: 20) |
offset | number | Offset in the folder listing (default: 0) |
yandex_disk_compare
Recursively compare a local folder with a folder on Yandex.Disk. Files are matched by relative path (Unicode-normalized) and size, optionally by MD5. Returns totals, differences grouped by top-level folder and capped lists of differing files; the full report can be saved to a local JSON file (output_file, overwritten if it exists)
| Parameter | Type | Description |
|---|---|---|
local_path * | string | Absolute path to the local folder (e.g., '/Volumes/USB/Photos') |
remote_path * | string | Folder on Yandex.Disk (e.g., '/Backups/Photos') |
check_md5 | boolean | Also compare MD5 of files with equal size. Reads every such local file, slow for large folders (default: false) |
ignore | array | File/folder name globs skipped on both sides (default: ['.DS_Store', '._*']) |
max_items | number | Max entries per list in the response (default: 100) |
output_file | string | Optional local path to write the full, untruncated JSON report; an existing file is overwritten |
yandex_disk_create_folder
Create a new folder on Yandex.Disk
| Parameter | Type | Description |
|---|---|---|
path * | string | Path for the new folder (e.g., '/Documents/NewFolder') |
yandex_disk_get_upload_url
Get URL for uploading a file to Yandex.Disk
| Parameter | Type | Description |
|---|---|---|
path * | string | Path where to upload the file (e.g., '/Documents/file.txt') |
overwrite | boolean | Whether to overwrite if file exists (default: true) |
yandex_disk_upload
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
| Parameter | Type | Description |
|---|---|---|
local_path * | string | Absolute path to a local file or folder |
remote_path * | string | Destination folder on Yandex.Disk (e.g., '/Photo/2017'); created if missing |
bypass_extensions | array | Extensions uploaded via a temporary '.part' name (default: common video formats; [] disables) |
concurrency | number | Files uploaded in parallel, 1-4 (default: 1) |
ignore | array | File/folder name globs skipped when walking a folder (default: ['.DS_Store', '._*']) |
include | array | Upload only these files: paths relative to local_path (as in yandex_disk_compare's only_local) or absolute |
log_file | string | Optional local file to append one line per file (OK/SKIP/FAIL) to |
overwrite | boolean | 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) |
proxy | string | 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 |
wait_seconds | number | Wait up to this many seconds for the job to finish before returning, 0-900 (default: 30) |
yandex_disk_upload_status
Progress of an upload job started by yandex_disk_upload: file counts, bytes, speed, ETA, files in flight and failures. Without job_id lists all jobs of this server process
| Parameter | Type | Description |
|---|---|---|
job_id | string | Job id returned by yandex_disk_upload |
max_items | number | Max entries per list in the response (default: 50) |
wait_seconds | number | Wait up to this many seconds for the job to finish before returning, 0-900 (default: 0) |
yandex_disk_upload_cancel
Cancel an upload job. Files in flight are aborted (an incomplete upload leaves nothing on the disk); finished files stay
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job id returned by yandex_disk_upload |
yandex_disk_download
Download a Yandex.Disk file or folder (recursively, keeping its structure) into a local folder. Runs as a background job: returns a job_id and progress after wait_seconds; poll it with yandex_disk_download_status. Files already on the local disk with the same size are skipped, missing folders are created, every file is verified by MD5 and keeps its Yandex.Disk modification time. A file is written as '<name>.part' and renamed once verified. The job refuses to start if the local volume lacks space. The job lives in the MCP server process and stops if the server exits
| Parameter | Type | Description |
|---|---|---|
local_path * | string | Absolute local folder that receives the contents of remote_path (e.g., '/Volumes/Backup/Photo/2004'); created if missing |
remote_path * | string | File or folder on Yandex.Disk (e.g., '/Photo/2004') |
concurrency | number | Files downloaded in parallel, 1-8 (default: 4) |
ignore | array | File/folder name globs skipped when walking the remote folder (default: ['.DS_Store', '._*']) |
log_file | string | Optional local file to append one line per file (OK/SKIP/FAIL) to |
overwrite | boolean | Replace local files. When false, a local file of the same size is skipped and one of a different size is reported as failed (default: false) |
proxy | string | HTTP proxy for the download traffic (e.g., 'http://127.0.0.1:8078'); API calls go direct. Default: YANDEX_DISK_DOWNLOAD_PROXY env var; '' disables |
wait_seconds | number | Wait up to this many seconds for the job to finish before returning, 0-900 (default: 30) |
yandex_disk_download_status
Progress of a download job started by yandex_disk_download: file counts, bytes, speed, ETA, files in flight and failures. Without job_id lists all jobs of this server process
| Parameter | Type | Description |
|---|---|---|
job_id | string | Job id returned by yandex_disk_download |
max_items | number | Max entries per list in the response (default: 50) |
wait_seconds | number | Wait up to this many seconds for the job to finish before returning, 0-900 (default: 0) |
yandex_disk_download_cancel
Cancel a download job. Files in flight are aborted and their '.part' files removed; finished files stay
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job id returned by yandex_disk_download |
yandex_disk_get_download_url
Get URL for downloading a file from Yandex.Disk
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the file to download (e.g., '/Documents/file.txt') |
yandex_disk_delete
Delete a file or folder from Yandex.Disk
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the file or folder to delete |
permanently | boolean | Delete permanently (true) or move to trash (false, default) |
yandex_disk_copy
Copy a file or folder on Yandex.Disk
| Parameter | Type | Description |
|---|---|---|
from * | string | Source path |
to * | string | Destination path |
overwrite | boolean | Overwrite if destination exists (default: true) |
yandex_disk_move
Move or rename a file or folder on Yandex.Disk
| Parameter | Type | Description |
|---|---|---|
from * | string | Source path |
to * | string | Destination path |
overwrite | boolean | Overwrite if destination exists (default: true) |
yandex_disk_last_uploaded
Get list of recently uploaded files
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of files to return (default: 10) |