shopops-mcp
ShopOps MCP
Сервер на базе ИИ, реализующий протокол Model Context Protocol (MCP) для управления магазинами на Shopify и WooCommerce.
Функции
Коннекторы магазинов для Shopify и WooCommerce.
11 инструментов MCP, охватывающих запасы, ценообразование, клиентов, заказы, эффективность продуктов и отчетность.
4 ресурса MCP, предоставляющих обзор магазина, запасы, последние заказы и топ клиентов.
Прогнозирование запасов с использованием скользящего среднего спроса и расчета страхового запаса.
RFM-сегментация клиентов (7 различных сегментов).
Анализ ценообразования на основе данных с предложениями по оптимизации на основе маржи.
Обнаружение аномалий / мошенничества в заказах.
ABC-анализ эффективности продуктов.
Автоматизированные ежедневные и еженедельные отчеты.
Двойной транспорт: локальный
stdioи Streamable HTTP (MCPize).TypeScript,
@modelcontextprotocol/sdkv1.29+, Zod v4.Бесплатный тариф, а также платные планы за $25 и $45.
Related MCP server: Ecommerce AI MCP
Быстрый старт
# 1. Install the package
npm i shopops-mcp
# 2. Create a .env file (see Configuration section)
cp .env.example .env
# 3. Run the server (local stdio mode)
npx shopops-mcp run --transport stdio
# 4. Or start the HTTP endpoint (MCPize deployment)
npx shopops-mcp run --transport http --port 8080Сервер считает переменные окружения, подключится к настроенному магазину (магазинам) и предоставит инструменты и ресурсы MCP.
Инструменты MCP
Инструмент | Описание |
| Устанавливает соединение с магазином Shopify или WooCommerce и проверяет учетные данные. |
| Возвращает текущие уровни запасов, флаги отложенных заказов и оповещения о низком уровне запасов. |
| Прогнозирует будущие потребности в запасах, используя скользящее среднее спроса и буферы страхового запаса. |
| Генерирует отчет об эластичности цен и определяет SKU с заниженными/завышенными ценами. |
| Предлагает оптимальные цены на основе анализа маржи, скорости продаж и настраиваемых правил ценообразования. |
| Выполняет RFM-анализ и распределяет клиентов по семи сегментам. |
| Оценивает риск оттока клиентов и предоставляет рекомендации по удержанию. |
| Обнаруживает потенциально мошеннические или ошибочные заказы с использованием моделей распознавания образов. |
| Проводит ABC-анализ и возвращает метрики вклада по классам продуктов. |
| Генерирует ежедневную сводку операций в формате JSON/CSV (продажи, запасы, оповещения). |
| Генерирует еженедельный отчет об эффективности с визуализацией трендов. |
Ресурсы MCP
Ресурс | Описание |
| Метрики магазина высокого уровня: общие продажи, заказы, клиенты и валовая прибыль. |
| Полный каталог запасов с количеством в наличии, зарезервированными запасами и прогнозируемым дефицитом. |
| Список из 100 последних заказов со статусом, общей стоимостью и способом оплаты. |
| Топ-50 клиентов, ранжированных по пожизненной ценности (LTV), частоте покупок и давности. |
Конфигурация
Создайте файл .env в корне проекта. Требуются следующие переменные:
Переменная | Требуется для | Описание |
| Shopify | API-ключ частного приложения. |
| Shopify | Пароль частного приложения. |
| Shopify | Домен магазина (например, |
| WooCommerce | Ключ потребителя REST API. |
| WooCommerce | Секрет потребителя REST API. |
| WooCommerce | URL магазина (например, |
| HTTP-транспорт | Порт для Streamable HTTP-эндпоинта (по умолчанию |
| Все | Уровень детализации логирования ( |
| Инструменты цен | Стратегия ценообразования ( |
| Прогноз запасов | Количество дней для прогнозирования (по умолчанию |
Дополнительные переменные:
Переменная | Описание |
| Если установлено значение |
| Если указано, ежедневные/еженедельные отчеты загружаются в указанный бакет S3. |
Pro-лицензия
ShopOps поставляется в бесплатном режиме — store_demo_seed, store_connect, inventory_status, pricing_analyze, customers_segment, product_performance и report_daily открыты. Следующие инструменты требуют Pro-лицензии:
inventory_forecast— прогнозирование спроса по скользящему среднему + точки заказаpricing_optimize— практические рекомендации по изменению ценcustomers_churn— оценка риска оттока + рекомендации по удержаниюorder_anomalies— обнаружение мошенничества / аномалийreport_weekly— отчет о трендах за неделю + ИИ-инсайты
Купить Pro-лицензию (€29, пожизненная, 3 машины): https://automatiabcn.lemonsqueezy.com/buy/cbbe44f0-a146-4c65-88c8-71f371037758
Или получите Indie MCP Stack Bundle (€69, все 4 сервера).
export LEMONSQUEEZY_LICENSE_KEY=YOUR-KEY-HEREИли в конфигурации вашего MCP-клиента:
{
"mcpServers": {
"shopops-mcp": {
"command": "npx",
"args": ["-y", "shopops-mcp-server"],
"env": { "LEMONSQUEEZY_LICENSE_KEY": "YOUR-KEY-HERE" }
}
}
}Валидация кэшируется локально на 24 часа — полностью работает в автономном режиме после первого запуска.
Лицензия
ShopOps MCP выпущена под лицензией MIT. Полные условия см. в LICENSE.
Автор: Automatia BCN
Available Tools
12 toolscustomers_churnChurn RiskARead-onlyIdempotent
Identify customers at risk of churning based on RFM recency + frequency signals. Returns an object with at_risk, hibernating, and lost arrays — each contains customer id, name, email, last_order_date, days_since_last_order, total_spent, total_orders, and a win_back_recommendation string. Use this for targeted re-engagement campaigns.
Inputs: store_id (required).
customers_segmentCustomer SegmentationARead-onlyIdempotent
RFM (Recency, Frequency, Monetary) customer segmentation. Categorizes customers into segments: Champions, Loyal, Potential, At Risk, New, Hibernating, Lost — with actionable recommendations.
Inputs: store_id (required).
inventory_forecastInventory ForecastARead-onlyIdempotent
Predict stock depletion dates using moving-average sales velocity. Returns reorder points, safety stock levels, and suggested reorder quantities for each product.
Inputs: store_id (required), product_id.
inventory_statusInventory StatusARead-onlyIdempotent
Snapshot of current stock levels for a connected store. Returns a summary object with total product count, out-of-stock count, low-stock count (≤10 units), plus two arrays: out_of_stock and low_stock — each containing product id, title, sku, quantity, and status. Items are sorted by urgency (lowest quantity first). Read-only and idempotent.
Inputs: store_id (required).
order_anomaliesOrder Anomaly DetectionARead-onlyIdempotent
Statistical anomaly detection on recent orders. Flags high-value orders (>3σ from mean), velocity spikes (customer ordering unusually fast), unusual quantities, off-hours purchases (2am-5am), and new-customer high-value orders. Returns an array of anomalies with order_id, anomaly_type, severity (low/medium/high), reason, and recommended_action. Useful for fraud detection and revenue spike investigation.
Inputs: store_id (required).
pricing_analyzePricing AnalysisARead-onlyIdempotent
Analyze pricing across products with margin calculation, sales velocity, and rule-based price optimization suggestions. Returns an array where each element contains product_title, current_price, cost, margin_percent, daily_units_sold, revenue_per_day, suggested_price (or null if no change recommended), and suggestion_reason. Pass product_id to scope to a single product, omit for full catalog.
Inputs: store_id (required), product_id.
pricing_optimizePricing OptimizationARead-onlyIdempotent
Filtered pricing recommendations — only products where a price change is suggested. Returns a summary with total_suggestions count and an optimizations array (product, current_price, suggested_price, change_percent, reason, daily_revenue), sorted by absolute change_percent (biggest moves first). Use this instead of pricing_analyze when you only want actionable changes.
Inputs: store_id (required).
product_performanceProduct Performance (ABC Analysis)ARead-onlyIdempotent
Product performance report with ABC analysis. Category A = top 80% revenue, B = next 15%, C = bottom 5%. Includes trends, margins, and daily sales velocity.
Inputs: store_id (required), period_days.
report_dailyDaily ReportARead-onlyIdempotent
Daily operational report: orders, revenue, top products, new vs returning customers, low stock alerts, and anomaly count.
Inputs: store_id (required), date.
report_weeklyWeekly ReportARead-onlyIdempotent
Weekly trend report: revenue/order changes vs previous week, customer segment distribution, trending products, and AI-generated insights.
Inputs: store_id (required).
store_connectConnect StoreA
Manage Shopify or WooCommerce store connections. action="connect" adds a new store and performs an initial sync of products, orders, and customers; action="sync" refreshes cached data for an existing store; action="list" returns all connected stores with their sync counts. Returns a JSON payload with store metadata (id, name, platform, url, counts, last_sync) — credentials are never returned.
Inputs: action (required), name, platform, url, +3 more.
store_demo_seedSeed Demo StoreA
Create a realistic demo store populated with 20 products, 40 customers across 6 archetype buckets (champions, loyal, new, at-risk, hibernating, one-off), and 150+ orders spanning the last 6 months. Use this to explore ShopOps without real Shopify or WooCommerce credentials — every tool (inventory_status, customers_segment, order_anomalies, report_weekly, etc.) will return meaningful output on the returned store_id. Safe to call multiple times; each call creates a new demo store with a unique ID. Returns the store_id plus product/customer/order counts.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool targets a distinct aspect of shop operations (customers, inventory, orders, pricing, products, reports, store management). Even similar tools like customers_churn and customers_segment have clear differences in scope and output. There is no overlap that would cause confusion.
All tool names follow a consistent 'domain_verb' pattern using snake_case (e.g., customers_churn, inventory_forecast, order_anomalies). This makes it easy to infer the tool's purpose and domain from its name.
With 12 tools, the server covers all essential aspects of shop operations without being overwhelming. Each tool serves a clear purpose, and the count is appropriate for the server's scope.
The tool set provides comprehensive coverage for analyzing and managing a shop: customer segmentation and churn, inventory status and forecasting, order anomaly detection, pricing analysis and optimization, product performance, daily/weekly reports, and store connectivity. There are no obvious gaps for the intended use case.
Maintenance
Related MCP Connectors
Run your online store with your own AI: products, orders, customers, ads, emails and reports.
Let your AI manage WooCommerce and Shopify stores: products, SEO, descriptions and images.
AI commerce for Shopify: product search, comparison, recommendations, and checkout via MCP.
Run storefronts, listings, orders, content, fulfillment, and analytics through AI.
Related MCP Servers
- AlicenseAqualityBmaintenanceMulti-channel inventory intelligence for Shopify and Amazon sellers. 28 tools for stockout risk, demand forecasts, purchase order management, and sales analytics — with human-in-the-loop safeguards.53436 npm2MIT
- AlicenseNot gradedqualityCmaintenanceEcommerce AI - MCP server providing AI-powered tools and automation by MEOK AI Labs9 npm28 PyPIMIT
- FlicenseNot gradedqualityNot gradedmaintenanceHosted MCP server connecting Shopify, Klaviyo, GA4, Meta Ads, Google Ads, Xero, Gorgias and 20+ e-commerce data sources so AI assistants can answer merchant questions that span every source at once.-
- FlicenseNot gradedqualityDmaintenanceProvides Shopify demand forecasting, reorder recommendations, and dollar-impact reports as MCP tools.-