Yandex.Disk (unofficial)

v0.4.2
io.github.gorokhovdenis/yandex-disk-mcp Checked 8 hours ago Published 2 days ago

Unofficial Yandex.Disk server: manage files, resumable folder upload/download with MD5 checks

Values you need

VariableWhat it is
YANDEX_DISK_TOKENrequired secret Yandex OAuth token with cloud_api:disk.read, cloud_api:disk.write and cloud_api:disk.info scopes
YANDEX_DISK_UPLOAD_PROXYoptional HTTP proxy for yandex_disk_upload traffic, e.g. http://127.0.0.1:8078. API calls always go direct
YANDEX_DISK_DOWNLOAD_PROXYoptional HTTP proxy for yandex_disk_download traffic, e.g. http://127.0.0.1:8078. API calls always go direct

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add yandex-disk-mcp -e 'YANDEX_DISK_TOKEN=<YANDEX_DISK_TOKEN>' -- npx -y yandex-disk-mcp@0.4.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "yandex-disk-mcp": {
      "args": [
        "-y",
        "yandex-disk-mcp@0.4.2"
      ],
      "command": "npx",
      "env": {
        "YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "yandex-disk-mcp": {
      "args": [
        "-y",
        "yandex-disk-mcp@0.4.2"
      ],
      "command": "npx",
      "env": {
        "YANDEX_DISK_TOKEN": "<YANDEX_DISK_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "YANDEX_DISK_TOKEN",
      "id": "yandex-disk-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "yandex-disk-mcp": {
      "args": [
        "-y",
        "yandex-disk-mcp@0.4.2"
      ],
      "command": "npx",
      "env": {
        "YANDEX_DISK_TOKEN": "${input:yandex-disk-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.yandex-disk-mcp]
command = "npx"
args = ["-y", "yandex-disk-mcp@0.4.2"]
env = { "YANDEX_DISK_TOKEN" = "<YANDEX_DISK_TOKEN>" }

For AI agents

  1. Ask the user for: YANDEX_DISK_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: yandex_disk_info, yandex_disk_list_files, yandex_disk_get_metadata, yandex_disk_compare, yandex_disk_create_folder, yandex_disk_get_upload_url, yandex_disk_upload, yandex_disk_upload_status, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json