Skip to main content
Glama

ShopOps MCP

KI-gestützter Server, der das Model Context Protocol (MCP) zur Verwaltung von Shopify- und WooCommerce-Shops implementiert.

License: MIT TypeScript MCP


Funktionen

  • Shop-Konnektoren für Shopify und WooCommerce.

  • 11 MCP-Tools für Bestände, Preise, Kunden, Bestellungen, Produktleistung und Berichterstattung.

  • 4 MCP-Ressourcen für Shop-Übersicht, Bestände, aktuelle Bestellungen und Top-Kunden.

  • Bestandsvorhersage mittels gleitendem Durchschnitt der Nachfrage und Sicherheitsbestand-Berechnung.

  • RFM-basierte Kundensegmentierung (7 verschiedene Segmente).

  • Datengestützte Preisanalyse mit margenbasierten Optimierungsvorschlägen.

  • Erkennung von Bestellanomalien / Betrug.

  • ABC-Analyse der Produktleistung.

  • Automatisierte tägliche und wöchentliche Berichte.

  • Dualer Transport: lokales stdio und Streamable HTTP (MCPize).

  • TypeScript, @modelcontextprotocol/sdk v1.29+, Zod v4.

  • Kostenlose Version sowie kostenpflichtige Pläne für 25 $ und 45 $.


Related MCP server: Ecommerce AI MCP

Schnellstart

# 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

Der Server liest die Umgebungsvariablen, verbindet sich mit dem/den konfigurierten Shop(s) und stellt die MCP-Tools und -Ressourcen bereit.


MCP-Tools

Tool

Beschreibung

store_connect

Stellt eine Verbindung zu einem Shopify- oder WooCommerce-Shop her und validiert die Anmeldedaten.

inventory_status

Gibt aktuelle Lagerbestände, Rückstands-Flags und Warnungen bei niedrigem Bestand zurück.

inventory_forecast

Projiziert zukünftigen Bestandsbedarf mittels gleitendem Durchschnitt der Nachfrage und Sicherheitsbeständen.

pricing_analyze

Erstellt einen Bericht zur Preiselastizität und identifiziert unter- oder überbewertete SKUs.

pricing_optimize

Schlägt optimale Preispunkte basierend auf Margenanalyse, Verkaufsgeschwindigkeit und konfigurierbaren Preisregeln vor.

customers_segment

Führt eine RFM-Analyse durch und weist Kunden einem von sieben Segmenten zu.

customers_churn

Bewertet Kunden hinsichtlich des Abwanderungsrisikos und bietet Empfehlungen zur Kundenbindung.

order_anomalies

Erkennt potenziell betrügerische oder fehlerhafte Bestellungen mithilfe von Mustererkennungsmodellen.

product_performance

Führt eine ABC-Analyse durch und gibt Beitragskennzahlen pro Produktklasse zurück.

report_daily

Erstellt eine tägliche Zusammenfassung der Betriebsabläufe (Verkäufe, Bestände, Warnungen) als JSON/CSV.

report_weekly

Erstellt einen wöchentlichen Leistungsbericht mit Trendvisualisierungen.


MCP-Ressourcen

Ressource

Beschreibung

store://overview

Hochrangige Shop-Kennzahlen: Gesamtumsatz, Bestellungen, Kunden und Bruttomarge.

store://inventory

Vollständiger Bestandskatalog mit verfügbaren Mengen, reserviertem Bestand und prognostizierten Engpässen.

store://orders/recent

Liste der 100 aktuellsten Bestellungen mit Status, Gesamtwert und Zahlungsmethode.

store://customers/top

Top 50 Kunden, sortiert nach Lifetime Value, Kaufhäufigkeit und Aktualität.


Konfiguration

Erstellen Sie eine .env-Datei im Projektstammverzeichnis. Die folgenden Variablen sind erforderlich:

Variable

Erforderlich für

Beschreibung

SHOPIFY_API_KEY

Shopify

API-Schlüssel der privaten App.

SHOPIFY_API_PASSWORD

Shopify

Passwort der privaten App.

SHOPIFY_STORE_DOMAIN

Shopify

Shop-Domain (z. B. myshop.myshopify.com).

WOOCOMMERCE_CONSUMER_KEY

WooCommerce

Consumer-Key der REST-API.

WOOCOMMERCE_CONSUMER_SECRET

WooCommerce

Consumer-Secret der REST-API.

WOOCOMMERCE_STORE_URL

WooCommerce

Shop-URL (z. B. https://example.com).

MCP_PORT

HTTP-Transport

Port für den Streamable HTTP-Endpunkt (Standard 8080).

MCP_LOG_LEVEL

Alle

Ausführlichkeit der Protokollierung (error, warn, info, debug).

MCP_PRICING_MODEL

Preis-Tools

Preisstrategie (margin_based).

MCP_FORECAST_WINDOW_DAYS

Bestandsvorhersage

Anzahl der Tage für die Vorhersage (Standard 30).

Optionale Variablen:

Variable

Beschreibung

MCP_ENABLE_ANONYMIZATION

Wenn auf true gesetzt, werden personenbezogene Daten in Berichten maskiert.

MCP_REPORT_S3_BUCKET

Falls angegeben, werden tägliche/wöchentliche Berichte in den angegebenen S3-Bucket hochgeladen.


Pro-Lizenz

ShopOps wird im Free-Modus ausgeliefert — store_demo_seed, store_connect, inventory_status, pricing_analyze, customers_segment, product_performance und report_daily sind frei verfügbar. Die folgenden Tools erfordern eine Pro-Lizenz:

  • inventory_forecast — Nachfrageprognose mittels gleitendem Durchschnitt + Nachbestellpunkte

  • pricing_optimize — umsetzbare Empfehlungen zur Preisänderung

  • customers_churn — Bewertung des Abwanderungsrisikos + Empfehlungen zur Kundenbindung

  • order_anomalies — Betrugs-/Anomalieerkennung

  • report_weekly — Wochenvergleichsbericht + KI-Erkenntnisse

Kaufen Sie eine Pro-Lizenz (29 €, lebenslang, 3 Rechner): https://automatiabcn.lemonsqueezy.com/buy/cbbe44f0-a146-4c65-88c8-71f371037758

Oder holen Sie sich das Indie MCP Stack Bundle (69 €, alle 4 Server).

export LEMONSQUEEZY_LICENSE_KEY=YOUR-KEY-HERE

Oder in Ihrer MCP-Client-Konfiguration:

{
  "mcpServers": {
    "shopops-mcp": {
      "command": "npx",
      "args": ["-y", "shopops-mcp-server"],
      "env": { "LEMONSQUEEZY_LICENSE_KEY": "YOUR-KEY-HERE" }
    }
  }
}

Die Validierung wird lokal für 24 Stunden zwischengespeichert — nach dem ersten Durchlauf vollständig offlinefähig.


Lizenz

ShopOps MCP wird unter der MIT-Lizenz veröffentlicht. Siehe LICENSE für die vollständigen Bedingungen.


Autor: Automatia BCN

Available Tools

12 tools
customers_churnChurn RiskA
Read-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 SegmentationA
Read-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 ForecastA
Read-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 StatusA
Read-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 DetectionA
Read-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 AnalysisA
Read-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 OptimizationA
Read-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)A
Read-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 ReportA
Read-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 ReportA
Read-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

    A4.3/5.0

    Scored across 12 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness5/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Hosted 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.
      -