MoySklad MCP Server

MoySklad MCP Server

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.

Category
Visit Server

README

@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.

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 (21)

Products

Tool Description
search_products Search products by name or article
get_product Get a single product by UUID
create_product Create a new product
update_prices Update sale/buy/min prices

Stock

Tool Description
get_stock Current stock report (quantity, reserve, in-transit)
get_stock_by_store Stock broken down by warehouse

Counterparties

Tool Description
get_counterparties Search by name, INN, or phone
get_counterparty Get full counterparty details
create_counterparty Create customer/supplier

Customer Orders

Tool Description
create_customer_order Create order with positions
get_orders List orders with filtering and sorting
get_customer_order Get order with expanded positions
update_customer_order_status Change order status

Shipments & Supply

Tool Description
create_demand Create shipment linked to order and warehouse
create_supply Create incoming supply (purchase receipt)

Reference Data

Tool Description
list_stores List all warehouses
list_organizations List all your legal entities

Reports

Tool Description
get_profit_report Profit by product (revenue, cost, margin)
get_sales_report Sales by product (quantity, revenue)

Webhooks

Tool Description
list_webhooks List registered webhooks
create_webhook 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
MOYSKLAD_TOKEN Bearer token (preferred)
MOYSKLAD_LOGIN + MOYSKLAD_PASSWORD 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 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:

Service MCP Server What it does
MoySklad @theyahia/moysklad-mcp Warehouse, products, orders
CDEK @theyahia/cdek-mcp Delivery, tracking
DaData @theyahia/dadata-mcp Address validation
YooKassa @theyahia/yookassa-mcp 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 test

API Reference

Based on MoySklad API v1.2.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured