shopops-mcp
ShopOps MCP
ShopifyおよびWooCommerceストアを管理するための、Model Context Protocol (MCP) を実装したAI駆動型サーバー。
機能
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分析を実行し、顧客を7つのセグメントのいずれかに割り当てます。 |
| 顧客の解約リスクをスコアリングし、リテンション(維持)のための推奨事項を提供します。 |
| パターン認識モデルを使用して、不正または誤りの可能性がある注文を検知します。 |
| ABC分析を実施し、製品クラスごとの貢献度メトリクスを返します。 |
| JSON/CSV形式の日次運用サマリー(売上、在庫、アラート)を生成します。 |
| トレンドの可視化を含む週次パフォーマンスレポートを生成します。 |
MCPリソース
リソース | 説明 |
| ストアのハイレベルなメトリクス:総売上、注文数、顧客数、粗利益。 |
| 手持ち在庫、予約済み在庫、予測される不足分を含む完全な在庫カタログ。 |
| ステータス、合計金額、支払い方法を含む、直近100件の注文リスト。 |
| 生涯価値(LTV)、購入頻度、直近の購入日によってランク付けされた上位50名の顧客。 |
設定
プロジェクトのルートに .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— 週次トレンドレポート + AIインサイト
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.-