@theyahia/wildberries-mcp
MCP-сервер для Wildberries Seller API — 30 инструментов для ИИ-агента
Если вы искали, как подключить кабинет продавца Wildberries к Claude или другому ИИ-агенту, — этот сервер даёт агенту прямой доступ к Seller API: остатки и цены, заказы и продажи, поставки FBS, аналитика, отзывы, вопросы, возвраты и реклама. Спрашиваете обычными словами — «какие товары кончаются на складе Коледино», «подними цену на SW-4410 до 3490 ₽» — и получаете готовый ответ таблицей, а не выгрузку, которую ещё надо разбирать. Маршрутизация по хостам категорий, соблюдение лимитов запросов и защита от 409-штрафа — на стороне сервера.
Быстрый старт
npm install -g @theyahia/wildberries-mcp
# транспорт stdio (для Claude Desktop, Cursor и других)
WB_API_TOKEN=your_token wildberries-mcp
# транспорт Streamable HTTP
WB_API_TOKEN=your_token wildberries-mcp --httpClaude Desktop
Добавьте в claude_desktop_config.json:
{
"mcpServers": {
"wildberries": {
"command": "npx",
"args": ["-y", "@theyahia/wildberries-mcp"],
"env": { "WB_API_TOKEN": "your_token_here" }
}
}
}Cursor, Windsurf и VS Code (Copilot) используют тот же блок mcpServers в своих настройках MCP.
Smithery
npx @smithery/cli install @theyahia/wildberries-mcpRelated MCP server: wildberries-mcp
Авторизация и категории токена
Authorization: Bearer {WB_API_TOKEN} (JWT, срок жизни 180 дней). Токен выдаётся в
кабинете продавца в разделе
Настройки → Доступ к API.
Один токен может нести сразу несколько категорий доступа. Поскольку каждый инструмент ходит
на свой хост API, при отсутствующей категории 401 вернёт именно этот хост, а остальные
инструменты продолжат работать. Включайте нужные категории:
Категория | Какие инструменты питает |
Контент |
|
Цены и скидки |
|
Маркетплейс |
|
Статистика |
|
Аналитика |
|
Тарифы (Общее) |
|
Отзывы и вопросы |
|
Возвраты |
|
Реклама |
|
Когда вызов падает, в тексте ошибки указан хост и requestId от WB, поэтому недостающая категория
или ошибка с хостом видны сразу (например, WB API GET advert-api.wildberries.ru/adv/v1/balance → 401: ...).
Архитектура — хост на каждую категорию
Seller API Wildberries — это не единый шлюз. seller.wildberries.ru — это веб-кабинет,
а API разнесён по хостам категорий. Каждый запрос маршрутизируется на нужный:
Категория | Хост |
Контент |
|
Цены и скидки |
|
Маркетплейс (FBS) |
|
Статистика |
|
Аналитика |
|
Общее / Тарифы |
|
Отзывы и вопросы |
|
Возвраты |
|
Реклама |
|
Инструменты (30)
Товары и контент
Инструмент | Метод | Хост · Эндпоинт |
| POST | content · |
| POST | content · |
| POST | prices · |
| PUT | marketplace · |
| POST | marketplace · |
Заказы и продажи
Инструмент | Метод | Хост · Эндпоинт |
| GET | marketplace · |
| GET | marketplace · |
| GET | statistics · |
| GET | statistics · |
| GET | statistics · |
Склады и поставки FBS
Инструмент | Метод | Хост · Эндпоинт |
| GET | marketplace · |
| GET | marketplace · |
| POST | marketplace · |
| PATCH | marketplace · |
| PATCH | marketplace · |
| GET | marketplace · |
Аналитика
Инструмент | Метод | Хост · Эндпоинт |
| GET | statistics · |
| GET | statistics · |
| POST | analytics · |
| GET | analytics · |
Справочники по ценообразованию
Инструмент | Метод | Хост · Эндпоинт |
| GET | common · |
| GET | common · |
Отзывы и вопросы
Инструмент | Метод | Хост · Эндпоинт |
| GET | feedbacks · |
| PATCH | feedbacks · |
| GET | feedbacks · |
| PATCH | feedbacks · |
Возвраты и реклама
Инструмент | Метод | Хост · Эндпоинт |
| GET | returns · |
| GET | advert · |
| GET | advert · |
| POST | advert · |
Ограничение частоты запросов
Wildberries считает запросы по каждой категории API отдельно, а не одним общим пулом, и
возвращает 409 как штраф за всплески. Клиент держит по одному token-bucket лимитеру на хост
плюс более узкие корзины для самых строгих эндпоинтов:
Token-bucket на каждый хост с минимальным интервалом между запросами.
Обработка штрафа
409: читаетX-Ratelimit-Retry-After/X-Ratelimit-Remaining, списывает штрафные токены и ждёт указанное время перед повтором — штраф остаётся изолированным внутри провинившейся категории.Жёсткие лимиты по эндпоинтам (создание и скачивание платного хранения 1/мин, статус 1/5 с; цены ~10/6 с).
Значения по умолчанию сознательно консервативны — их безопасно поднять, когда вы увидите реальные лимиты своего аккаунта. Настраивать ничего не нужно.
Конфигурация
Переменная | Обяз. | Описание |
| да | Токен Wildberries Seller API (JWT). |
| нет | Таймаут запроса в мс (по умолчанию 30000). |
| нет | HTTP-порт при запуске с |
HTTP-эндпоинты (--http): POST /mcp (запросы), GET /health ({ status, version, tools }).
Демо-промпты
«Покажи первые 50 товаров каталога с текущими ценами.» «Сделай ABC-анализ за последние 30 дней — какие товары дают 80% выручки?» «Создай поставку FBS „Утро 2026-06-23“, добавь заказы 1001 и 1002, закрой её на отгрузку и дай штрихкод.» «Покажи неотвеченные вопросы и набросай ответ на первый.» «Какой у меня рекламный баланс и какие кампании активны?»
Разработка
git clone https://github.com/theYahia/wildberries-mcp.git
cd wildberries-mcp
npm install
npm run build
npm testЛицензия
MIT — см. LICENSE.
Available Tools
30 toolsadd_orders_to_supplyC
Attach one or more assembly orders to an FBS supply
Inputs: orderIds (required), supplyId (required).
create_supplyC
Create a new FBS supply (delivery)
Inputs: name (required).
deliver_supplyA
Close an FBS supply and send it to delivery (orders move to 'in delivery')
Inputs: supplyId (required).
get_abc_analysisB
Compute ABC analysis of products by sales revenue (Pareto). A = products making up the top 80% of revenue, B = next 15%, C = bottom 5%. Identifies best-sellers and slow movers.
Inputs: dateTo (required), dateFrom (required).
get_balanceA
Get advertising account balance (balance, net account, bonuses)
Inputs: no named parameters.
get_campaign_statsC
Get full advertising statistics for one or more campaigns over a date range
Inputs: dateTo (required), dateFrom (required), campaignIds (required).
get_commissionB
Get WB commission rates per category (subject)
Inputs: locale.
get_fbw_stocksA
Get FBW stock levels (goods stored at WB warehouses) since a date
Inputs: dateFrom (required).
get_feedbacksB
Get product feedbacks (reviews)
Inputs: skip, take, order, isAnswered.
get_funnelB
Get the product sales funnel (views, add-to-cart, orders, buyouts) by period
Inputs: dateTo (required), dateFrom (required), page, nmIDs.
get_incomesC
Get FBW supply incomes (deliveries to WB warehouses) since a date
Inputs: dateFrom (required).
get_new_ordersA
Get new (unprocessed) FBS orders
Inputs: no named parameters.
get_ordersC
Get FBS orders list with filters
Inputs: next, limit, dateTo, dateFrom.
get_paid_storageB
Get the paid storage cost report for a period (async report: created, polled, then downloaded)
Inputs: dateTo (required), dateFrom (required).
get_productB
Get detailed info for specific product cards by nm IDs
Inputs: nmIDs (required).
get_questionsB
Get customer questions about products
Inputs: skip, take, order, isAnswered.
get_returnsB
Get buyer return claims (requests to return goods)
Inputs: nmId, limit, offset, isArchive.
get_salesC
Get sales report
Inputs: dateFrom (required), flag, dateTo.
get_statisticsC
Get detailed realization (sales) report by period
Inputs: dateTo (required), dateFrom (required), limit, rrdid.
get_stocksB
Get current FBS stock levels for a specific warehouse
Inputs: warehouseId (required), skus.
get_supplyC
Get FBS supplies (deliveries) list with pagination
Inputs: next, limit.
get_supply_barcodeA
Get the QR barcode for an FBS supply (available after deliver_supply)
Inputs: supplyId (required), type.
get_tariffsB
Get WB box (logistics & storage) tariffs for a date
Inputs: date.
get_warehousesA
Get list of WB warehouses (offices)
Inputs: no named parameters.
list_campaignsA
List advertising campaigns grouped by type and status (counts + IDs)
Inputs: no named parameters.
list_productsA
List seller products (cards) with pagination and optional text search
Inputs: limit, cursor, textSearch.
reply_feedbackB
Post a reply to a customer review on Wildberries
Inputs: id (required), text (required).
reply_questionB
Post an answer to a customer question on Wildberries
Inputs: id (required), text (required), state.
update_pricesB
Update product prices (creates an async upload task)
Inputs: prices (required).
update_stocksB
Update FBS product stocks at a specific warehouse
Inputs: stocks (required), warehouseId (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 30 tools
Most tools are clearly distinct (e.g., get_orders vs get_new_orders), but some overlap exists between reporting tools like get_sales, get_statistics, and get_funnel; however, descriptions clarify differences.
All tool names follow a consistent verb_noun pattern (e.g., list_campaigns, get_product, update_prices), with no mixed conventions or vague verbs.
30 tools is on the high side but appropriate given the breadth of Wildberries operations (advertising, products, orders, supplies, feedback, analytics). Each tool serves a specific need, though some consolidation could reduce count.
Covers most key areas but notable gaps exist: no create/update product card, no campaign management beyond stats/list. Core order and supply workflows are complete, but product lifecycle and advertising tools are missing update/delete operations.
Maintenance
Related MCP Connectors
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
Hosted MCP server for OTTO Market, Kaufland and Mirakl sellers: orders, stock, listings and ads.
Бесплатная русскоязычная аналитика Wildberries, SEO, калькуляторы и прогноз пополнения через MCP.
MCP server for SkuVault — products, inventory, sales, purchase orders and stock adjustments.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server for Wildberries API that enables fetching product cards with multi-cabinet support, automatic pagination, and retry logic.1-
- FlicenseNot gradedqualityDmaintenanceMCP server that turns Wildberries marketplace into a toolkit for LLM agents, enabling product search, detailed card inspection, price history, reviews, and cross-product comparison.-
- AlicenseAqualityDmaintenanceMCP server for Wildberries Seller API enabling management of products, orders, supplies, analytics, advertising, and finance through natural language commands.32MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that simplifies interaction with Wildberries API, providing unified access to analytics, promotion statistics, sales funnel data, search queries, stock reports, and EVIRMA PRO report imports.MIT