Yandex.Disk MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Yandex.Disk MCP Server
MCP (Model Context Protocol) сервер для интеграции с Яндекс.Диском.
Возможности
✅ Просмотр файлов - список файлов и папок
✅ Загрузка файлов - upload на Яндекс.Диск
✅ Скачивание файлов - download с ��ндекс.Диска
✅ Создание файлов - создание новых файлов
✅ Создание папок - создание новых директорий
❌ Запрет на редактирование - нельзя менять существующие файлы
Related MCP server: WebDAV MCP Server
Установка
1. Клонируйте репозиторий
git clone https://github.com/yermidi-bot/yandex-disk-mcp.git
cd yandex-disk-mcp2. Создайте виртуальное окружение
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate3. Установите зависимости
pip install -r requirements.txt4. Получите OAuth токен Яндекса
Перейдите на https://oauth.yandex.ru/
Создайте новое приложение с доступом к Яндекс.Диску
Получите
access_token
5. Настройте переменные окружения
cp .env.example .env
# Отредактируйте .env и добавьте ваш YANDEX_OAUTH_TOKENИспользование
Запуск сервера
python yandex_disk_mcp.pyДоступные команды (Tools)
1. list_files
Просмотреть файлы и папки
{
"path": "/"
}2. get_file_info
Получить информацию о файле
{
"path": "/path/to/file.txt"
}3. upload_file
Загрузить файл на Яндекс.Диск
{
"local_path": "/local/path/file.txt",
"disk_path": "/file.txt"
}4. download_file
Скачать файл с Яндекс.Диска
{
"disk_path": "/file.txt",
"local_path": "/local/path/file.txt"
}5. create_file
Создать новый файл
{
"disk_path": "/new_file.txt",
"content": "Hello, World!"
}6. create_directory
Создать новую папку
{
"disk_path": "/new_folder"
}Получение OAuth токена
Способ 1: Через браузер
Откройте URL (замените
YOUR_CLIENT_ID):
https://oauth.yandex.ru/authorize?client_id=YOUR_CLIENT_ID&response_type=codeАвторизуйтесь в аккаунте Яндекса
Разрешите доступ к приложению
Получите
codeиз URL перенаправленияОбменяйте код на токен:
curl -X POST "https://oauth.yandex.ru/token" \
-d "grant_type=authorization_code&code=YOUR_CODE&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET"Способ 2: Быстрый способ (для тестирования)
Используйте Яндекс.Диск веб-интерфейс для получения токена через приложение.
Безопасность
Никогда не коммитьте
.envфайл с токенамиИспользуйте
YANDEX_OAUTH_TOKENтолько в защищённой средеРегулярно обновляйте токены
Ограничения
Запрет на редактирование существующих файлов (защита от случайных изменений)
Максимальный размер файла: зависит от плана Яндекс.Диска
API rate limit: см. документацию Яндекса
Документация
Лицензия
MIT
Автор
yermidi-bot
Вопросы? Создайте issue в репозитории!
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Encrypted team workspace: tasks, notes, tables, projects and time tracking. Read and write.
1Transfer and sync files between 19 cloud storages (Yandex, Google, VK, Telegram, S3)
Read Talkspirit circles, roles and meetings; write tasks, goals and proposals, with your own rights.
Browse, upload, download, and share files in your S3-compatible buckets with delegated roles.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables read-only interaction with Overleaf LaTeX projects through compatible clients like Claude Desktop, Cursor, and VS Code. Allows users to list and read project files safely without modification capabilities.37 PyPI1-
- AlicenseAqualityDmaintenanceEnables CRUD operations on WebDAV file systems with authentication support, allowing users to manage files and directories through natural language commands. Includes advanced features like file search, range requests, smart editing with diff preview, and directory tree visualization.162MIT
- AlicenseAqualityFmaintenanceEnables reading, creating, updating, and appending content to Yandex Wiki pages via MCP. Supports both read-write and read-only modes.785 PyPI9MIT
- AlicenseNot gradedqualityBmaintenanceEnables read-only file-management operations from AI assistants, including health checks, connection and folder listings, search, share-link resolution, metadata retrieval, and on-demand document reading.MIT