Skip to main content
Glama
dontsovcmc

mcp-server-wildberries

by dontsovcmc

mcp-server-wildberries

Version

mcp-name: io.github.dontsovcmc/wildberries

MCP-сервер для Wildberries Seller API — товары, заказы, поставки, аналитика, реклама, финансы.

235 действий, покрывающих все разделы WB API.

Построен по официальной документации Wildberries API.

Архитектура

Сервер использует паттерн search + execute — вместо 235 отдельных инструментов предоставляет 3:

Инструмент

Описание

wb_search

Поиск действий по описанию на естественном языке

wb_execute

Выполнение действия по ID

wb_execute_file

Выполнение действия со скачиванием файла

Это экономит токены в контексте LLM — схемы 3 инструментов вместо 235.

Как это работает

LLM: wb_search("cancel fbs order")
→ [{"id": "fbs-order-cancel", "params_schema": {"order_id": "int"}, ...}]

LLM: wb_execute("fbs-order-cancel", '{"order_id": 12345}')
→ {"status": "ok"}

Related MCP server: wildberries-mcp

Настройка

1. Получите API-токен Wildberries

Откройте Личный кабинет продавца WB → Настройки → Доступ к API → Создать токен.

2. Установите и подключите

macOS / Linux

Установка:

pip install mcp-server-wildberries

Подключение к Claude Code (токен в командной строке):

claude mcp add wildberries -e WB_TOKEN=ваш-токен -- mcp-server-wildberries

Подключение к Claude Code (токен из .env файла):

source .env && claude mcp add wildberries -e WB_TOKEN -- mcp-server-wildberries

Удаление MCP-сервера:

claude mcp remove wildberries

CLI без Claude (токен в командной строке):

WB_TOKEN=ваш-токен mcp-server-wildberries ping

CLI без Claude (токен из .env файла):

source .env && mcp-server-wildberries ping

Windows

Установка:

pip install mcp-server-wildberries

Подключение к Claude Code (токен в командной строке):

set WB_TOKEN=ваш-токен && claude mcp add wildberries -e WB_TOKEN -- mcp-server-wildberries

Подключение к Claude Code (токен из .env файла):

for /f "tokens=1,2 delims==" %a in (.env) do set %a=%b
claude mcp add wildberries -e WB_TOKEN -- mcp-server-wildberries

Удаление MCP-сервера:

claude mcp remove wildberries

CLI без Claude (токен в командной строке):

set WB_TOKEN=ваш-токен && mcp-server-wildberries ping

CLI без Claude (токен из .env файла):

for /f "tokens=1,2 delims==" %a in (.env) do set %a=%b
mcp-server-wildberries ping

Запуск через uvx (без установки)

Если не хотите устанавливать пакет глобально, используйте uvx — он скачает и запустит автоматически:

# Подключение к Claude Code
claude mcp add wildberries -e WB_TOKEN=ваш-токен -- uvx mcp-server-wildberries

# CLI
WB_TOKEN=ваш-токен uvx mcp-server-wildberries ping

Запуск через --mcp-config (на одну сессию)

Подключает сервер только на время одной сессии Claude, не сохраняя в настройки. Токен хранится в отдельном .env.mcp файле, а не в конфиге Claude.

Из JSON-строки:

claude --mcp-config '{"wildberries":{"command":"bash","args":["-c","source ~/.env.mcp && exec uvx mcp-server-wildberries"]}}'

Из файла:

claude --mcp-config ~/mcp-servers.json

Только указанные серверы, без сохранённых:

claude --strict-mcp-config --mcp-config ~/mcp-servers.json

Пример ~/mcp-servers.json:

{
  "wildberries": {
    "command": "bash",
    "args": ["-c", "source ~/.env.mcp && exec uvx mcp-server-wildberries"]
  }
}

Пример ~/.env.mcp:

WB_TOKEN=ваш-токен

Плюсы:

  • Токены в отдельном файле .env.mcp, а не в настройках Claude

  • Один файл mcp-servers.json на все проекты — легко делиться конфигом в команде

  • --strict-mcp-config — запуск с точным набором серверов, без лишних

  • Не засоряет глобальные настройки при экспериментах

Минусы:

  • Сервер не сохраняется между сессиями — нужно указывать флаг при каждом запуске

  • Длинная команда запуска, если без файла

После подключения перезапустите Claude Code.

Переменные окружения

Переменная

Обязательная

По умолчанию

Описание

WB_TOKEN

Да

API-токен Wildberries (JWT)

WB_TIMEOUT

Нет

30

Таймаут HTTP-запросов к API (секунды)

WB_FILE_TIMEOUT

Нет

60

Таймаут скачивания файлов (секунды)

Доступные действия (235)

Все действия доступны через wb_searchwb_execute. Подробное описание каждого действия — в документации по разделам:

Домен

Кол-во

Описание

general

9

Ping, информация о продавце, пользователи

content

18

Категории, карточки товаров, теги, бренды

fbs_orders

31

FBS-заказы, стикеры, поставки, пропуска, метаданные

dbw_orders

16

DBW-заказы (доставка WB)

dbs_orders

20

DBS-заказы (дропшиппинг)

pickup_orders

16

Самовывоз (click & collect)

fbw_supplies

7

FBW-поставки на склад WB

advertising

26

Рекламные кампании, ставки, статистика

communications

22

Вопросы, отзывы, чаты

tariffs

5

Комиссии, тарифы на доставку

analytics

17

Воронка продаж, поисковые запросы, остатки

reports

24

Заказы, продажи, остатки, маркировка

finance

12

Баланс, отчёты, эквайринг, документы

wbd

12

Цифровые товары, ключи активации

Примеры поиска

wb_search("новые заказы fbs")
wb_search("баланс")
wb_search("отзывы", domain="communications")
wb_search("download report", domain="reports")

CLI

# MCP-сервер (по умолчанию, без аргументов)
mcp-server-wildberries

# Все доступные команды
mcp-server-wildberries --help

# Справка по конкретной команде
mcp-server-wildberries fbs-orders --help

# Примеры команд
mcp-server-wildberries ping
mcp-server-wildberries seller-info
mcp-server-wildberries fbs-orders-new
mcp-server-wildberries tariff-commissions
mcp-server-wildberries fbs-orders --date-from 2025-01-01 --limit 10
mcp-server-wildberries advert-campaign-rename 12345 "Новое название"
mcp-server-wildberries analytics-csv-download dl_abc report.csv

# Версия
mcp-server-wildberries --version

Пример

$ WB_TOKEN=ваш-токен mcp-server-wildberries ping
{"TS": "2026-05-06T18:06:30Z", "Status": "OK"}

$ WB_TOKEN=ваш-токен mcp-server-wildberries seller-info
{"name": "ИП Иванов И.И.", "sid": "...", "tradeMark": "MyBrand"}

Pydantic-модели

Модели параметров доступны как отдельная библиотека для использования в своих Python-программах:

pip install mcp-server-wildberries
from mcp_server_wildberries.models import FbsOrdersParams, SubjectsListParams

params = FbsOrdersParams(date_from="2025-01-01", limit=50)
# params.model_dump() → {"date_from": "2025-01-01", "date_to": "", "limit": 50, ...}

62 Pydantic-модели покрывают параметры всех 235 действий. Полный список — в src/mcp_server_wildberries/models.py.

Разработка

pip install -e ".[test]"
ruff check src/ tests/
pytest tests/ -v

Лицензия

MIT

Available Tools

3 tools
wb_executeA

Execute a Wildberries API action by ID.

Use wb_search first to find the action ID and its parameter schema.

Args: action: action ID from wb_search results (e.g. "wb_fbs_order_cancel") params_json: JSON object with action parameters matching the schema

ParametersJSON Schema
NameRequiredDescriptionDefault
actionYes
params_jsonNo{}

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate readOnlyHint=false, so the tool modifies data. The description does not add behavioral details beyond this (e.g., side effects, error behavior). While the output schema may cover return values, the description lacks transparency on execution outcomes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with a clear two-sentence purpose statement followed by bullet-point-like parameter explanations. No superfluous information, and the essential guidance is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the generic executor nature and existence of an output schema, the description adequately covers how to use the tool (via wb_search). It does not explain return values or errors, but the output schema likely fills that gap. Slightly incomplete without mentioning the mapping to wb_search results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description compensates by explaining 'action' as an ID from wb_search results with an example, and 'params_json' as a JSON object matching the schema. This adds meaning beyond the raw schema, though more detail on params_json format could help.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Execute a Wildberries API action by ID', specifying the verb and resource. It distinguishes from sibling tools wb_search (which finds actions) and wb_execute_file (likely file-based execution).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs to use wb_search first to obtain the action ID and parameter schema, providing clear when-to-use guidance and an implicit exclusion for using without prior search.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

wb_execute_fileC

Execute a Wildberries API action that downloads a file.

Args: action: action ID for download actions file_path: local file path to save the downloaded file params_json: JSON object with action parameters

ParametersJSON Schema
NameRequiredDescriptionDefault
actionYes
file_pathYes
params_jsonNo{}

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate readOnlyHint=false, consistent with downloading a file (local write). However, the description does not disclose potential side effects (e.g., API quota usage, required permissions, or error handling). The minimal transparency relies entirely on annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and uses a bullet format for parameters, which is clear. However, it is under-specified; conciseness should not come at the expense of completeness. It is acceptable but not exemplary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool downloads a file and has an output schema, the description fails to mention return values, success/failure behavior, or file format. It also does not differentiate from sibling tools (wb_search, wb_execute). The context is incomplete for effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description must compensate. It lists parameter names and brief descriptions (action ID, local path, JSON params) but lacks details like valid action IDs, JSON format, or constraints. This adds minimal meaning beyond the schema's parameter names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it executes an action that downloads a file, specifying the verb and resource. It distinguishes from siblings like wb_search (search) and wb_execute (generic execution) by focusing on file download, though the distinction could be sharper.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives, no prerequisites, and no context about appropriate scenarios. The description only states what the tool does, not when to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 3 tool updatesv0.2.1
    • First observedwb_execute
    • First observedwb_execute_file
    • First observedwb_search

TDQS

A3.5/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: wb_search for discovering actions, wb_execute for executing non-file actions, and wb_execute_file for file downloads. No overlap or ambiguity.

Naming Consistency5/5

All tools follow a consistent 'wb_verb' pattern, with wb_execute_file extending the pattern for file-specific actions. The naming is predictable and uniform.

Tool Count4/5

With only 3 tools, the server is lightweight but well-scoped for its purpose of providing a searchable interface to a large API. The count is slightly low but appropriate given the abstraction pattern.

Completeness4/5

The tool surface covers the essential workflow: search for actions, execute actions, and handle file downloads. A minor gap is the lack of a direct listing or schema retrieval tool, but the search tool mitigates this.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    B
    maintenance
    Wildberries Seller API MCP server providing 15 tools for managing products, prices, stocks, orders, sales, warehouses, supplies, statistics, feedbacks, and ABC analysis with built-in rate limiting and 409 penalty protection.
    30
    53
    13
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    MCP server that turns Wildberries marketplace into a toolkit for LLM agents, enabling product search, detailed card inspection, price history, reviews, and cross-product comparison.
    -
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for Ozon Seller API that enables AI clients to manage products, prices, stocks, orders, analytics, and finances on Ozon marketplace.
    26
    73
    6
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dontsovcmc/mcp-server-wildberries'

If you have feedback or need assistance with the MCP directory API, please join our Discord server