@theyahia/wildberries-mcp
🗄 仓库已归档
开发已迁移至 theYahia/WWmcp —— 面向非西方 API 的 MCP 服务器单体仓库:独联体、MENA、非洲、LATAM、东南亚。公共核心
@theyahia/mcp-core,统一 CI,统一发布流水线。此处内容的当前版本位于:
servers/wildberries/npm 包不变 ——
@theyahia/wildberries-mcp,安装和使用方式与之前相同。 此处不再更新任何内容。问题和 pull request 请提交到 WWmcp。已归档 —— 开发已迁移至 theYahia/WWmcp, 这是一个面向非西方 API 的 MCP 服务器单体仓库。 该包的当前版本现位于
servers/wildberries/。 npm 包@theyahia/wildberries-mcp保持不变。 请在那里提交问题和 pull request。
@theyahia/wildberries-mcp
MCP 服务器,用于 Wildberries 卖家 API —— 提供 30 个工具,涵盖产品、价格、库存、订单、销售、FBS 供应、分析、反馈、问题、退货和广告。按类别进行主机路由,支持速率限制和 409 惩罚保护。支持 Stdio + Streamable HTTP 传输。
Related MCP server: Wildberries MCP Server
快速开始
npm install -g @theyahia/wildberries-mcp
# stdio transport (for Claude Desktop, Cursor, etc.)
WB_API_TOKEN=your_token wildberries-mcp
# Streamable HTTP transport
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) 在其 MCP 设置中使用相同的 mcpServers 块。
Smithery
npx @smithery/cli install @theyahia/wildberries-mcp身份验证与令牌权限范围
Authorization: Bearer {WB_API_TOKEN}(JWT,有效期 180 天)。在卖家门户的 设置 → API 访问下获取你的令牌。
单个令牌可以携带多个类别权限范围。由于每个工具与不同的 API 主机通信,缺少某个权限范围的令牌会从该主机返回 401,而其他工具继续正常工作。请启用你需要的权限范围:
权限范围 | 支持的工具 |
Content |
|
Prices & discounts |
|
Marketplace |
|
Statistics |
|
Analytics |
|
Tariffs (Common) |
|
Feedbacks & questions |
|
Returns |
|
Advertising |
|
当调用失败时,错误消息会指明主机并包含 WB 的 requestId,因此缺少权限范围或主机错误的问题一目了然(例如 WB API GET advert-api.wildberries.ru/adv/v1/balance → 401: ...)。
架构 —— 按类别划分的主机
Wildberries 卖家 API 不是单一网关。seller.wildberries.ru 是 Web 控制台;API 分散在多个类别主机上。每个请求都会路由到正确的主机:
类别 | 主机 |
Content |
|
Prices & discounts |
|
Marketplace (FBS) |
|
Statistics |
|
Analytics |
|
Common / Tariffs |
|
Feedbacks & questions |
|
Returns |
|
Advertising |
|
工具(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 作为惩罚。客户端为每个主机维护一个令牌桶限制器,并为最严格的端点提供更细粒度的桶:
每主机令牌桶,请求之间设有最小间隔。
409惩罚处理:读取X-Ratelimit-Retry-After/X-Ratelimit-Remaining,扣除惩罚令牌,并在重试前等待指定时长 —— 惩罚仅局限于违规类别。严格的每端点上限(付费存储创建/下载 1/分钟,状态 1/5 秒;价格约 10/6 秒)。
默认值刻意保守,在观察到你账户的实际限制后可以安全调高。无需配置。
配置
变量 | 必填 | 说明 |
| 是 | Wildberries 卖家 API 令牌(JWT)。 |
| 否 | 每个请求的超时时间(毫秒,默认 30000)。 |
| 否 | 使用 |
HTTP 端点(--http):POST /mcp(请求),GET /health({ status, version, tools })。
示例提示
“列出我目录中前 50 个产品及其当前价格。” “对最近 30 天运行 ABC 分析 —— 哪些产品贡献了 80% 的收入?” “创建 FBS 供应 'Morning 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。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityBmaintenanceMCP server for MoySklad (МойСклад) warehouse and CRM management API. 21 tools covering the full order lifecycle: products, stock, counterparties, customer orders, shipments, supplies, warehouses, organizations, reports, and webhooks.601215MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for Wildberries API that enables fetching product cards with multi-cabinet support, automatic pagination, and retry logic.1
- AlicenseAqualityAmaintenanceAI-доступ к кабинетам Wildberries и Ozon через MCP-сервера над Seller API. Обеспечивает 793 метода для управления продажами, остатками, ценами, финансами, отзывами и рекламой с safety-гейтом и авто-пагинацией.5812MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that turns Wildberries marketplace into a toolkit for LLM agents, enabling product search, detailed card inspection, price history, reviews, and cross-product comparison.
Related MCP Connectors
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
Get recommended by Amazon's AI. Hosted MCP server for Amazon listing compliance & generation.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/theYahia/wildberries-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server