Yandex.Disk (unofficial)
Unofficial MCP server giving AI clients file, backup and sync tools for Yandex.Disk
Yandex.Disk (unofficial) is an open-source MCP server for cloud and infrastructure. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, macOS
- Runs
- Locally
- What it can do
- Can delete data (1 tool)
- Access
- Needs a secret key or token
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add yandex-disk-mcp --env YANDEX_DISK_TOKEN='<YANDEX_DISK_TOKEN>' -- npx -y yandex-disk-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"yandex-disk-mcp": {
"command": "npx",
"args": [
"-y",
"yandex-disk-mcp"
],
"env": {
"YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"yandex-disk-mcp": {
"command": "npx",
"args": [
"-y",
"yandex-disk-mcp"
],
"env": {
"YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"yandex-disk-mcp": {
"command": "npx",
"args": [
"-y",
"yandex-disk-mcp"
],
"env": {
"YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"yandex-disk-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"yandex-disk-mcp"
],
"env": {
"YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add yandex-disk-mcp --env YANDEX_DISK_TOKEN='<YANDEX_DISK_TOKEN>' -- npx -y yandex-disk-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.yandex-disk-mcp]
command = "npx"
args = ["-y", "yandex-disk-mcp"]
env = { YANDEX_DISK_TOKEN = "<YANDEX_DISK_TOKEN>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"yandex-disk-mcp": {
"command": "npx",
"args": [
"-y",
"yandex-disk-mcp"
],
"env": {
"YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "yandex-disk-mcp": { "command": "npx", "args": [ "-y", "yandex-disk-mcp" ], "env": { "YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>" } } } }Or run: gemini mcp add -s user -e YANDEX_DISK_TOKEN='<YANDEX_DISK_TOKEN>' yandex-disk-mcp npx -- -y yandex-disk-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "yandex-disk-mcp": { "command": "npx", "args": [ "-y", "yandex-disk-mcp" ], "env": { "YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "yandex-disk-mcp": { "command": "npx", "args": [ "-y", "yandex-disk-mcp" ], "env": { "YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "yandex-disk-mcp": { "command": "npx", "args": [ "-y", "yandex-disk-mcp" ], "env": { "YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "yandex-disk-mcp": { "command": "npx", "args": [ "-y", "yandex-disk-mcp" ], "env": { "YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "yandex-disk-mcp": { "command": "npx", "args": [ "-y", "yandex-disk-mcp" ], "env": { "YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "yandex-disk-mcp": { "command": "npx", "args": [ "-y", "yandex-disk-mcp" ], "env": { "YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "yandex-disk-mcp": { "command": "npx", "args": [ "-y", "yandex-disk-mcp" ], "env": { "YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
YANDEX_DISK_TOKENYandex OAuth token with cloud_api:disk.read, cloud_api:disk.write and cloud_api:disk.info scopesRequiredYANDEX_DISK_UPLOAD_PROXYHTTP proxy for yandex_disk_upload traffic, e.g. http://127.0.0.1:8078. API calls always go directYANDEX_DISK_DOWNLOAD_PROXYHTTP proxy for yandex_disk_download traffic, e.g. http://127.0.0.1:8078. API calls always go direct
About Yandex.Disk (unofficial)
Connects Claude and other MCP clients to a Yandex.Disk account through its public REST API. Once configured with an OAuth token, an assistant can check storage usage, browse and organise files, create, copy, move or delete items, and run large uploads or downloads as background jobs that can be polled for progress.
The server is built around backup workflows. A folder comparison matches a local directory against a cloud folder by path and size, optionally by MD5, and reports what is missing on either side. Uploads skip files already present with the same size, verify each file's MD5, and rename video files through a temporary name to avoid throttling. Downloads write to a .part file and only finish after the checksum matches, keeping original modification times.
The project is an independent open-source MIT project, not affiliated with Yandex. It suits people who keep local archives, camera libraries or external-drive backups and want an AI assistant to manage the cloud side.
Tools this server provides (17)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 17 tools deletes data and 5 change data; 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- yandex_disk_info
- Get information about your Yandex.Disk (total space, used space, etc.)
- yandex_disk_list_filesName suggests: reads
- List all files on Yandex.Disk (flat list)
- yandex_disk_get_metadataName suggests: reads
- Get metadata for a specific file or folder
- yandex_disk_compare
- Recursively compare a local folder with a folder on Yandex.Disk
- yandex_disk_create_folderName suggests: changes
- Create a new folder
- yandex_disk_uploadName suggests: changes
- Upload a local file or a whole folder into a folder on Yandex.Disk as a background job
- yandex_disk_upload_statusName suggests: changes
- Progress of an upload job
- yandex_disk_upload_cancelName suggests: changes
- Cancel an upload job
- yandex_disk_get_upload_urlName suggests: reads
- Get URL for uploading a file with your own client
- yandex_disk_downloadName suggests: reads
- Download a file or a whole folder from Yandex.Disk into a local folder as a background job
- yandex_disk_download_statusName suggests: reads
- Progress of a download job
- yandex_disk_download_cancelName suggests: reads
- Cancel a download job
- yandex_disk_get_download_urlName suggests: reads
- Get URL for downloading a file with your own client
- yandex_disk_deleteName suggests: deletes
- Delete a file or folder
- yandex_disk_copy
- Copy a file or folder
- yandex_disk_moveName suggests: changes
- Move or rename a file or folder
- yandex_disk_last_uploaded
- Get list of recently uploaded files
What it does
- Disk and file management
- Read storage totals, list and inspect files, and create, copy, move, rename or delete items.
- Folder comparison
- Compares a local folder with a cloud folder by path and size, with optional MD5 checks.
- Background uploads
- Uploads files or whole folders as resumable jobs, skipping files already present and verifying MD5.
- Verified downloads
- Downloads files and folders to a local disk only after size and MD5 match, preserving modification times.
- Job progress tracking
- Status and cancel tools report file counts, speed, ETA and errors for running transfers.
- Proxy support
- Optional HTTP proxies can be set separately for upload and download traffic.
Good for
- Verify that an external-drive backup matches the Yandex.Disk copy
- Upload a camera card folder to a dated cloud folder with resumable transfers
- Download a cloud photo archive to a local backup drive
- Find local files missing from the cloud and upload only those
- Check remaining storage space and review recently uploaded files
Pricing
Open source
Free and MIT-licensed; requires a Yandex account and OAuth token.
Yandex.Disk (unofficial) FAQ
Which Yandex.Disk permissions does the token need?
The token needs the cloud_api:disk.read, cloud_api:disk.write and cloud_api:disk.info scopes.
Does a deleted file go to trash?
By default deletion moves the item to trash; setting permanently to true deletes it outright.
What happens if an upload is interrupted?
Re-running the same upload resumes it, because files already on the disk with the same size are skipped.
Is Yandex.Disk (unofficial) affiliated with Yandex?
No. It is an independent open-source project that uses the public Yandex.Disk REST API with a token the user issues.
Is Yandex.Disk (unofficial) free?
Yes. Yandex.Disk (unofficial) is open source, so you can use and self-host it for free.
How do I add Yandex.Disk (unofficial) to Claude Code?
Run this command in your terminal: claude mcp add yandex-disk-mcp --env YANDEX_DISK_TOKEN='<YANDEX_DISK_TOKEN>' -- npx -y yandex-disk-mcp
What are the best alternatives to Yandex.Disk (unofficial)?
The closest alternatives to Yandex.Disk (unofficial) are WireCat ydisk, Yandex S3 MCP Ai Cli, Proton Drive, NAVER MYBOX and File Got Simplified.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.