Yandex.Disk MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Yandex.Disk MCP Server list the files in my Yandex.Disk root folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Yandex.Disk MCP Server (unofficial)
English | Русский
Unofficial MCP server for the Yandex.Disk REST API, for Claude and other MCP clients.
Not affiliated with Yandex. This is an independent open-source project. It is not made, endorsed or supported by Yandex. It talks only to the public Yandex.Disk REST API, using an OAuth token you issue yourself. "Yandex" and "Yandex.Disk" are trademarks of their respective owners and are used here only to name the service this server works with. Report problems with this server in Issues, not to Yandex support.
Features
This MCP server provides tools to interact with Yandex.Disk:
📊 Get disk information (total/used space)
📁 List files and folders
📄 Get file/folder metadata (with pagination for large folders)
🔍 Compare a local folder with a Yandex.Disk folder (recursive, by size and optionally MD5)
➕ Create folders
⬆️ Upload files and folders as a background job (resumable, MD5-verified, fast for video)
🔗 Get an upload URL for your own uploader
⬇️ Download files and folders to a local disk as a background job (MD5-verified, keeps modification times)
🔗 Get a download URL for your own downloader
🗑️ Delete files/folders
📋 Copy files/folders
🔄 Move/rename files/folders
🕐 Get recently uploaded files
Related MCP server: ai-distiller-mcp
Prerequisites
Node.js 18 or higher
Yandex.Disk OAuth token
Getting OAuth Token
Go to Yandex OAuth
Create a new OAuth application
Select required permissions:
cloud_api:disk.read- read filescloud_api:disk.write- write filescloud_api:disk.info- disk information
Get your Client ID
Open this URL in browser (replace
<CLIENT_ID>with your actual Client ID):https://oauth.yandex.ru/authorize?response_type=token&client_id=<CLIENT_ID>Copy the token from the authorization page
Save the token securely
Installation
Option 1: Install from npm (recommended)
npm install -g yandex-disk-mcpOption 2: Install from GitHub
git clone https://github.com/gorokhovdenis/yandex-disk-mcp.git
cd yandex-disk-mcp
npm install
npm run buildConfiguration
Add to your Claude Code configuration file (~/.claude.json):
{
"mcpServers": {
"yandex-disk": {
"type": "stdio",
"command": "node",
"args": ["/path/to/yandex-disk-mcp/dist/index.js"],
"env": {
"YANDEX_DISK_TOKEN": "your_oauth_token_here"
}
}
}
}Note: Replace /path/to/yandex-disk-mcp with the actual path where you cloned the repository.
Optional: set YANDEX_DISK_UPLOAD_PROXY / YANDEX_DISK_DOWNLOAD_PROXY (e.g. http://127.0.0.1:8078) in env to send the traffic of yandex_disk_upload / yandex_disk_download through an HTTP proxy. API calls always go direct.
Available Tools
Every tool carries the standard MCP annotations readOnlyHint, destructiveHint and openWorldHint, so a client can tell what it may change:
Read only:
yandex_disk_info,yandex_disk_list_files,yandex_disk_get_metadata,yandex_disk_last_uploaded,yandex_disk_get_upload_url,yandex_disk_get_download_urland the_statustools.Write, and may replace or remove existing files:
yandex_disk_upload,yandex_disk_download,yandex_disk_copy,yandex_disk_move,yandex_disk_delete, andyandex_disk_compare(it writes only itsoutput_file, overwriting an existing file there).Write without destroying anything:
yandex_disk_create_folderand the_canceltools (they stop a job; a cancelled download also removes its unfinished.partfiles).
The _status and _cancel tools work inside the server process and make no network requests; all the others call the Yandex.Disk API.
yandex_disk_info
Get information about your Yandex.Disk (total space, used space, etc.)
Parameters: None
Example:
Claude, get my Yandex.Disk infoyandex_disk_list_files
List all files on Yandex.Disk (flat list)
Parameters:
limit(number, optional): Maximum number of files to return (default: 20)offset(number, optional): Offset for pagination (default: 0)
Example:
Claude, list 50 files from my Yandex.Diskyandex_disk_get_metadata
Get metadata for a specific file or folder. For a folder, _embedded.items holds one page of its contents and _embedded.total the full count.
Parameters:
path(string, required): Path to the file or folder (e.g., '/Documents/file.txt')limit(number, optional): Folder items per page (default: 20)offset(number, optional): Offset in the folder listing (default: 0)
Example:
Claude, get metadata for /Documents/report.pdf on Yandex.Diskyandex_disk_compare
Recursively compare a local folder with a folder on Yandex.Disk — e.g. to check that a backup on an external drive matches the cloud copy.
Files are matched by relative path and size, optionally by MD5. Paths are Unicode-normalized (NFC), so names with letters like «й»/«ё» coming from macOS still match. Remote folders are listed in parallel with retries on 429/5xx.
Parameters:
remote_path(string, required): Folder on Yandex.Disk (e.g., '/Backups/Photos')local_path(string, required): Absolute path to the local folder (e.g., '/Volumes/USB/Photos')check_md5(boolean, optional): Also compare MD5 of files with equal size. Reads every such local file, so it is slow for large folders (default: false)ignore(string[], optional): File/folder name globs skipped on both sides (default:['.DS_Store', '._*'])max_items(number, optional): 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
Returns: totals for both sides, counts of matching / only_local / only_remote / size_mismatch / md5_mismatch / case_mismatch (same name differing only by letter case), differences grouped by top-level folder, and the lists themselves (capped by max_items, see truncated).
Example:
Claude, compare /Volumes/USB/Photos with /Photos on Yandex.Diskyandex_disk_create_folder
Create a new folder
Parameters:
path(string, required): Path for the new folder (e.g., '/Documents/NewFolder')
Example:
Claude, create folder /Backups/2026 on Yandex.Diskyandex_disk_upload
Upload a local file or a whole folder (recursively, keeping its structure) into a folder on Yandex.Disk.
The upload runs as a background job inside the MCP server, so multi-gigabyte uploads don't hit tool-call timeouts: the tool waits wait_seconds, then returns a job_id with progress. Poll it with yandex_disk_upload_status.
Files that already exist on the disk with the same size are skipped, so re-running the same upload resumes it.
Missing destination folders are created.
Every uploaded file is verified against the local MD5.
Video is uploaded under a temporary
.partname and renamed afterwards. Yandex.Disk throttles API uploads of video files to ~130 KB/s, judging by the extension of the target path; the same bytes under another name go at full speed. The renamed file keeps its MD5 and is recognized as a video, with its EXIF date. A leftover.partof the same size from an interrupted run is just renamed.Before the rename the tool waits for Yandex.Disk to process the file (up to 60 s, usually a few seconds). The disk builds the preview and reads the capture date asynchronously after the upload and writes the result by path. Renaming earlier sends the result to the old path: a ghost
.partcomes back there, and the renamed file has no date, so it lands in the wrong place in the Photos timeline. If neither a preview nor a date shows up in 60 s, the file is renamed anyway and the log line says so.The job lives in the server process: if the MCP client restarts the server, the job stops. Re-run the same call to continue.
Parameters:
local_path(string, required): Absolute path to a local file or folderremote_path(string, required): Destination folder on Yandex.Disk (e.g., '/Photo/2017'); created if missinginclude(string[], optional): Upload only these files — paths relative tolocal_path(as inyandex_disk_compare'sonly_local) or absoluteoverwrite(boolean, optional): Replace existing files. When false, an existing file of the same size is skipped and one of a different size is reported as failed (default: false)ignore(string[], optional): File/folder name globs skipped when walking a folder (default:['.DS_Store', '._*'])bypass_extensions(string[], optional): Extensions uploaded via a temporary.partname (default: common video formats — mp4, mov, m4v, avi, mkv, 3gp, wmv, webm, mts, m2ts, mpg, mpeg, flv;[]disables)concurrency(number, optional): Files uploaded in parallel, 1–4 (default: 1)proxy(string, optional): HTTP proxy for the upload traffic (e.g., 'http://127.0.0.1:8078'). Default:YANDEX_DISK_UPLOAD_PROXY;''disableslog_file(string, optional): Local file to append one line per file to (OK/SKIP/FAIL) — handy fortail -fwait_seconds(number, optional): Wait up to this long for the job to finish before returning, 0–900 (default: 30)
Returns: job status (see below).
Example:
Claude, upload /Volumes/USB/DCIM/Camera to /Photo/2017 on Yandex.Diskyandex_disk_upload_status
Progress of an upload job: file counts (done / skipped / failed / pending / ...), bytes, average speed, ETA, files in flight and the errors of failed ones. Without job_id it lists all jobs of the server process.
Parameters:
job_id(string, optional): Job id returned byyandex_disk_uploadwait_seconds(number, optional): Wait up to this long for the job to finish before returning, 0–900 (default: 0)max_items(number, optional): Max entries per list in the response (default: 50)
yandex_disk_upload_cancel
Cancel an upload job. Files in flight are aborted — an incomplete upload leaves nothing on the disk; finished files stay.
Parameters:
job_id(string, required): Job id returned byyandex_disk_upload
yandex_disk_get_upload_url
Get URL for uploading a file with your own client (curl, etc.). For most cases yandex_disk_upload is simpler
Parameters:
path(string, required): Path where to upload the fileoverwrite(boolean, optional): Whether to overwrite if file exists (default: true)
Example:
Claude, get upload URL for /Documents/report.pdf on Yandex.Diskyandex_disk_download
Download a file or a whole folder from Yandex.Disk (recursively, keeping its structure) into a local folder — e.g. for a local backup.
Like the upload, it runs as a background job: the tool waits wait_seconds, then returns a job_id with progress. Poll it with yandex_disk_download_status.
Files already on the local disk with the same size are skipped, so re-running the same download resumes it.
Missing local folders are created.
Every file is written as
<name>.partand renamed only after its size and MD5 match Yandex.Disk, so an interrupted download never passes for a complete one.Downloaded files keep their Yandex.Disk modification time (when the file was uploaded or last changed there, not the capture date).
If a storage host sends nothing for 30 s, the attempt is dropped and retried with a fresh link, up to 3 attempts. Yandex.Disk sometimes has a storage host that accepts requests for some files and never answers, while other files come within a second; such files end up in
failed. Re-run the same download later to fetch them.The job refuses to start if the local volume has less free space than the files to download.
Yandex.Disk does not hand out a download link for a folder (the API answers 500), so the tool walks the folder and downloads file by file.
Parameters:
remote_path(string, required): File or folder on Yandex.Disk (e.g., '/Photo/2004')local_path(string, required): Absolute local folder that receives the contents ofremote_path(e.g., '/Volumes/Backup/Photo/2004'); created if missingoverwrite(boolean, optional): 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)ignore(string[], optional): File/folder name globs skipped when walking the remote folder (default:['.DS_Store', '._*'])concurrency(number, optional): Files downloaded in parallel, 1–8 (default: 4)proxy(string, optional): HTTP proxy for the download traffic (e.g., 'http://127.0.0.1:8078'). Default:YANDEX_DISK_DOWNLOAD_PROXY;''disableslog_file(string, optional): Local file to append one line per file to (OK/SKIP/FAIL)wait_seconds(number, optional): Wait up to this long for the job to finish before returning, 0–900 (default: 30)
Returns: job status, same shape as for the upload.
Example:
Claude, download /Photo from Yandex.Disk to /Volumes/Backup/Photoyandex_disk_download_status
Progress of a download job: file counts, bytes, average speed, ETA, files in flight and the errors of failed ones. Without job_id it lists all download jobs of the server process.
Parameters:
job_id(string, optional): Job id returned byyandex_disk_downloadwait_seconds(number, optional): Wait up to this long for the job to finish before returning, 0–900 (default: 0)max_items(number, optional): Max entries per list in the response (default: 50)
yandex_disk_download_cancel
Cancel a download job. Files in flight are aborted and their .part files removed; finished files stay.
Parameters:
job_id(string, required): Job id returned byyandex_disk_download
yandex_disk_get_download_url
Get URL for downloading a file with your own client. For whole folders yandex_disk_download is simpler
Parameters:
path(string, required): Path to the file to download
Example:
Claude, get download URL for /Documents/report.pdf from Yandex.Diskyandex_disk_delete
Delete a file or folder
Parameters:
path(string, required): Path to the file or folder to deletepermanently(boolean, optional): Delete permanently (true) or move to trash (false, default)
Example:
Claude, delete /temp/old_file.txt from Yandex.Diskyandex_disk_copy
Copy a file or folder
Parameters:
from(string, required): Source pathto(string, required): Destination pathoverwrite(boolean, optional): Overwrite if destination exists (default: true)
Example:
Claude, copy /Documents/file.txt to /Backups/file.txt on Yandex.Diskyandex_disk_move
Move or rename a file or folder
Parameters:
from(string, required): Source pathto(string, required): Destination pathoverwrite(boolean, optional): Overwrite if destination exists (default: true)
Example:
Claude, move /temp/file.txt to /Documents/file.txt on Yandex.Diskyandex_disk_last_uploaded
Get list of recently uploaded files
Parameters:
limit(number, optional): Maximum number of files to return (default: 10)
Example:
Claude, show me 20 recently uploaded files on Yandex.DiskUsage Examples
Once configured, you can use natural language with Claude:
Check disk space:
"Show me how much space I have on Yandex.Disk"Upload files:
"Upload /Users/me/Desktop/report.pdf to /Documents on Yandex.Disk"Organize files:
"Create a folder /Projects/2026 and move all files from /temp there on Yandex.Disk"Backup files:
"Copy all .md files from current directory to /Backups on Yandex.Disk"Verify a backup:
"Compare /Volumes/USB/Archive with /Archive on Yandex.Disk and tell me what is missing in the cloud"Fill the gaps:
"Upload the files that are only local to /Archive"(Claude passes
only_localfrom the comparison asincludetoyandex_disk_upload)Local backup:
"Download /Photo from Yandex.Disk to /Volumes/Backup/Photo"
Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode (for development)
npm run watch
# Run in development mode
npm run devAPI Reference
This server uses the Yandex.Disk REST API.
API Endpoint: https://cloud-api.yandex.net/v1/disk
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Author
Denis Gorokhov gorokhovdenis@protonmail.com
Links
Available Tools
17 toolsyandex_disk_compareADestructive
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)
Inputs: local_path (required), remote_path (required), ignore, check_md5, +2 more.
yandex_disk_copyCDestructive
Copy a file or folder on Yandex.Disk
Inputs: to (required), from (required), overwrite.
yandex_disk_create_folderC
Create a new folder on Yandex.Disk
Inputs: path (required).
yandex_disk_deleteCDestructive
Delete a file or folder from Yandex.Disk
Inputs: path (required), permanently.
yandex_disk_downloadADestructive
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 '.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
Inputs: local_path (required), remote_path (required), proxy, ignore, +4 more.
yandex_disk_download_cancelA
Cancel a download job. Files in flight are aborted and their '.part' files removed; finished files stay
Inputs: job_id (required).
yandex_disk_download_statusARead-only
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
Inputs: job_id, max_items, wait_seconds.
yandex_disk_get_download_urlCRead-only
Get URL for downloading a file from Yandex.Disk
Inputs: path (required).
yandex_disk_get_metadataARead-only
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
Inputs: path (required), limit, offset.
yandex_disk_get_upload_urlCRead-only
Get URL for uploading a file to Yandex.Disk
Inputs: path (required), overwrite.
yandex_disk_infoARead-only
Get information about Yandex.Disk (total space, used space, etc.)
Inputs: no named parameters.
yandex_disk_last_uploadedCRead-only
Get list of recently uploaded files
Inputs: limit.
yandex_disk_list_filesBRead-only
List all files on Yandex.Disk (flat list)
Inputs: limit, offset.
yandex_disk_moveBDestructive
Move or rename a file or folder on Yandex.Disk
Inputs: to (required), from (required), overwrite.
yandex_disk_uploadADestructive
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
Inputs: local_path (required), remote_path (required), proxy, ignore, +6 more.
yandex_disk_upload_cancelA
Cancel an upload job. Files in flight are aborted (an incomplete upload leaves nothing on the disk); finished files stay
Inputs: job_id (required).
yandex_disk_upload_statusARead-only
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
Inputs: job_id, max_items, wait_seconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Most tools target clearly distinct operations (upload vs download vs copy vs move vs delete), and the status/cancel tools are explicitly tied to their job-starting counterparts. Minor overlap exists between yandex_disk_list_files and yandex_disk_get_metadata (which also pages folder contents), and between yandex_disk_get_upload_url/get_download_url and the full upload/download tools, though descriptions do distinguish them.
Every tool uses the same yandex_disk_ prefix followed by a snake_case action or noun, forming a highly predictable set. The verb_noun pattern holds throughout (list_files, create_folder, get_metadata, upload_status, download_cancel), with only trivially short nouns like info and last_uploaded deviating.
17 tools is on the heavier side but each earns its place: the job-based upload/download model legitimately needs status and cancel companions. The only mild redundancy is the pair of get_*_url tools alongside the full transfer tools, which could arguably be folded in.
The core lifecycle is well covered: info, list/metadata, folder creation, upload and download (with URLs, progress, cancellation), copy, move/rename, delete, and compare/last-uploaded helpers. Gaps include no search, no trash/restore or permanent-vs-recoverable delete distinction, and no public sharing/link management.
Maintenance
Related MCP Connectors
Browse and manage files in your Moxt AI workspace from any MCP client.
Persistent file storage for AI agents via MCP and curl. Upload, download, and version files.
Give Claude only the Google Drive files you choose. Every action logged.
Cloud file relay: chunked uploads, folders, share links, inline text reads, ZIP packing.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Claude to manage Google Drive files and folders through natural language commands. Supports creating folders, moving/renaming files, retrieving file metadata, and listing folder contents with secure OAuth authentication.-
- FlicenseNot gradedqualityDmaintenanceProvides filesystem access to Claude via the MCP protocol, enabling local file operations through natural language.-
- FlicenseAqualityDmaintenanceConnects Claude with OneDrive via Microsoft Graph API to list, search, create, move, copy, and share files.10-
- FlicenseNot gradedqualityDmaintenanceEnables Claude to read, create, update, and manage files in Google Drive through MCP tools.1-