
Yandex Market Seller
io.github.dontsovcmcPublished by GitHub account dontsovcmcv0.6.0Updated Oct 25, 2026
MCP server for Yandex Market Partner API — orders, offers, prices, stocks, analytics
Overview
Local MCP server for the Yandex Market Partner API that lets an assistant search and run seller actions on orders, offers, prices, stocks, returns and analytics
- What you can do
- Search a catalog of 131 Yandex Market seller actions by natural-language description and run the chosen one by ID, with an optional file-download variant for labels and documents. Work with orders, returns, shipments, warehouses and supply requests. Manage offers, product cards, prices, price quarantine and stocks. Read buyer feedback, questions and chats, and send chat messages. Pull quality ratings, order and SKU statistics, reports, promos, bids, outlets, regions and categories.
- When to use it
- Useful when a seller or marketplace operator wants an assistant to inspect and act on their Yandex Market storefront from Claude Code or Claude Desktop, for example listing orders, downloading labels, updating stocks or checking reviews.
- Requirements
- Runs locally as a Python package via uvx or pip, so Python and uv (for uvx) are needed. Requires a Yandex Market API key or OAuth token in YM_TOKEN, plus YM_CAMPAIGN_ID and YM_BUSINESS_ID; YM_AUTH_TYPE selects api-key or oauth. Network access to the Yandex Market Partner API is required.
Installation
In SourceWeft
- Open Yandex Market Seller in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
mcp-server-yandex-market-seller
MCP-сервер, CLI-утилита и библиотека Pydantic-моделей для Yandex Market Partner API.
- MCP-сервер — интеграция с Claude Code, Claude Desktop и другими MCP-клиентами
- CLI-утилита — работа с API из терминала, скрипты и автоматизация
- Pydantic-модели — типизированные модели API для использования в своих Python-программах
Все данные остаются на вашем компьютере — токен никуда не передаётся.
Оглавление
- Архитектура
- Доступные действия (131)
- MCP-сервер
- CLI-утилита
- Pydantic-модели
- Переменные окружения
- Разработка
- Лицензия
Архитектура
Сервер использует паттерн search + execute — вместо 131 отдельного инструмента предоставляет 3:
Как это работает
Доступные действия (131)
MCP-сервер
Установка
Шаг 1. Получить API-ключ
- Откройте личный кабинет Яндекс Маркета
- Перейдите в Настройки → API-ключи
- Создайте новый ключ с нужными правами
- Скопируйте API-ключ
Альтернативно можно использовать OAuth-токен.
Шаг 2. Узнать ID кампании и бизнеса
Запишите campaignId и businessId из вывода.
Шаг 3. Подключить MCP-сервер
Подключение к Claude Code
Способ 1: через uvx (не требует установки пакета)
Требуется uv — если не установлен:
Способ 2: через pip
Для удаления:
Подключение к Claude Desktop
Добавьте в конфигурационный файл:
Через uvx:
Через pip (после pip install mcp-server-yandex-market-seller):
Подключение через --mcp-config
Подключает сервер только на время одной сессии Claude, не сохраняя в настройки. Токен хранится в отдельном .env.mcp файле, а не в конфиге Claude.
Из JSON-строки:
Из файла:
Пример ~/mcp-servers.json:
Пример ~/.env.mcp:
Шаг 4. Проверить
Попросите Claude: «покажи мои заказы на Маркете» — он вызовет ym_search, затем ym_execute.
Примеры (MCP)
- «покажи мои заказы» →
ym_search("list orders")→ym_execute("orders") - «отправь заказ 12345» →
ym_execute("order_status", '{"order_id": 12345, "status": "DELIVERY"}') - «скачай этикетки для заказа 12345» →
ym_execute_file("order_labels", "/tmp/labels.pdf", '{"order_id": 12345}') - «какие цены на SKU1?» →
ym_execute("prices", '{"offer_ids": ["SKU1"]}') - «обнови остатки SKU1 до 50 шт.» →
ym_execute("stocks_update", '{"skus": [{"shopSku": "SKU1", "warehouseId": 111, "items": [{"count": 50, "type": "FIT"}]}]}') - «покажи возвраты» →
ym_execute("returns") - «покажи отзывы» →
ym_execute("feedbacks") - «сгенерируй отчёт united-netting» →
ym_execute("report_generate", '{"report_type": "united-netting"}')
CLI-утилита
Установка (CLI)
Переменные окружения YM_TOKEN, YM_CAMPAIGN_ID и YM_BUSINESS_ID должны быть установлены:
Или через файл:
Формат файла — KEY=VALUE, по одной переменной на строку, #-комментарии.
Использование (CLI)
Без аргументов запускается MCP-сервер, с командой — CLI. Все команды выводят JSON.
Переменная окружения YM_TOKEN должна быть установлена:
Или через файл:
Формат файла — KEY=VALUE, по одной переменной на строку, #-комментарии.
Примеры команд
Pydantic-модели
Пакет содержит типизированные Pydantic-модели параметров API. Модели можно использовать в своих Python-программах для валидации данных и автодополнения в IDE.
Установка (библиотеки)
Использование в своих программах
Все модели используют extra="allow" для forward compatibility — неизвестные поля API не вызывают ошибок.
Полный список моделей: models.py
Переменные окружения
Каждый инструмент также принимает campaign_id/business_id как параметр — это позволяет работать с несколькими магазинами в одной сессии.
Разработка
Лицензия
MIT
Source: README.md at commit c1c0398
Tools
0Version history
1- v0.6.0LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.