MCP Hub
Back to servers

moysklad-mcp

MCP server for MoySklad (МойСклад) — products, stock, orders, counterparties.

Registrynpm29/wk
Updated
Mar 31, 2026

Quick Install

npx -y @theyahia/moysklad-mcp

@theyahia/moysklad-mcp

MCP server for MoySklad warehouse management API. 10 tools for products, stock, orders, counterparties, supplies, and reports.

npm license

Quick Start

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "moysklad": {
      "command": "npx",
      "args": ["-y", "@theyahia/moysklad-mcp"],
      "env": {
        "MOYSKLAD_TOKEN": "your-bearer-token"
      }
    }
  }
}

Claude Code

claude mcp add moysklad -- npx -y @theyahia/moysklad-mcp

Set env: MOYSKLAD_TOKEN or both MOYSKLAD_LOGIN + MOYSKLAD_PASSWORD.

Cursor / Windsurf

Add to MCP settings:

{
  "moysklad": {
    "command": "npx",
    "args": ["-y", "@theyahia/moysklad-mcp"],
    "env": {
      "MOYSKLAD_TOKEN": "your-bearer-token"
    }
  }
}

Tools

ToolDescription
search_productsSearch products by name or article
get_productGet a single product by UUID
create_productCreate a new product
get_stockGet current stock/inventory report
update_pricesUpdate sale/buy/min prices for a product
get_counterpartiesSearch counterparties by name or INN
create_customer_orderCreate a customer order
get_ordersGet customer orders with filtering
get_profit_reportProfit report by product
create_supplyCreate an incoming supply

Prices

The MoySklad API stores all prices in kopecks (1 ruble = 100 kopecks). This MCP server handles the conversion automatically:

  • Input: pass prices in rubles (e.g. 1500.50)
  • Output: prices are returned in rubles
  • Internally: converted to/from kopecks when talking to the API

Auth

Two options:

VariableDescription
MOYSKLAD_TOKENBearer token (preferred)
MOYSKLAD_LOGIN + MOYSKLAD_PASSWORDHTTP Basic auth

Get a token in MoySklad: Settings > Users > Access tokens.

HTTP Transport

# Start with Streamable HTTP transport
HTTP_PORT=3000 npx @theyahia/moysklad-mcp
# or
npx @theyahia/moysklad-mcp --http 3000

Endpoints: POST /mcp (JSON-RPC), GET /health (status).

Rate Limiting

Built-in token-bucket rate limiter: 45 requests per 3 seconds (MoySklad API limit). Automatic retry with exponential backoff on 429/5xx errors.

E-commerce Stack

Build a full Russian e-commerce backend with MCP:

ServiceMCP ServerWhat it does
MoySklad@theyahia/moysklad-mcpWarehouse, products, orders
CDEK@theyahia/cdek-mcpDelivery, tracking
DaData@theyahia/dadata-mcpAddress validation
YooKassa@theyahia/yookassa-mcpPayments

Part of the russian-mcp series.

License

MIT

Reviews

No reviews yet

Sign in to write a review