MoySklad MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MoySklad MCP ServerShow me stock levels for all warehouses"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@theyahia/moysklad-mcp
MCP 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.
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-mcpSet 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 (21)
Products
Tool | Description |
| Search products by name or article |
| Get a single product by UUID |
| Create a new product |
| Update sale/buy/min prices |
Stock
Tool | Description |
| Current stock report (quantity, reserve, in-transit) |
| Stock broken down by warehouse |
Counterparties
Tool | Description |
| Search by name, INN, or phone |
| Get full counterparty details |
| Create customer/supplier |
Customer Orders
Tool | Description |
| Create order with positions |
| List orders with filtering and sorting |
| Get order with expanded positions |
| Change order status |
Shipments & Supply
Tool | Description |
| Create shipment linked to order and warehouse |
| Create incoming supply (purchase receipt) |
Reference Data
Tool | Description |
| List all warehouses |
| List all your legal entities |
Reports
Tool | Description |
| Profit by product (revenue, cost, margin) |
| Sales by product (quantity, revenue) |
Webhooks
Tool | Description |
| List registered webhooks |
| Register a new webhook |
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:
Variable | Description |
| Bearer token (preferred) |
| HTTP 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 3000Endpoints: 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:
Service | MCP Server | What it does |
MoySklad |
| Warehouse, products, orders |
CDEK |
| Delivery, tracking |
DaData |
| Address validation |
YooKassa |
| Payments |
Part of the russian-mcp series.
Demo Prompts
Inventory check:
"Show me all products with low stock (less than 10 units) and their current prices"
Order workflow:
"Create a customer order for counterparty 'OOO Roga i Kopyta' with 50 units of 'Widget Pro' at 1500 rubles each, then create a shipment from the main warehouse"
Sales analytics:
"Pull the profit report and tell me which products have the highest margin this month"
Development
npm install
npm run build
npm testAPI Reference
Based on MoySklad API v1.2.
License
MIT
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/theYahia/moysklad-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server