Skip to main content
Glama

ShopOps MCP

Shopify 및 WooCommerce 스토어를 관리하기 위한 Model Context Protocol(MCP)을 구현하는 AI 기반 서버입니다.

License: MIT TypeScript MCP


주요 기능

  • Shopify 및 WooCommerce용 스토어 커넥터.

  • 재고, 가격, 고객, 주문, 제품 성과 및 보고를 다루는 11개의 MCP 도구.

  • 스토어 개요, 재고, 최근 주문 및 상위 고객을 노출하는 4개의 MCP 리소스.

  • 이동 평균 수요와 안전 재고 계산을 사용한 재고 예측.

  • RFM 기반 고객 세분화 (7개의 개별 세그먼트).

  • 마진 기반 최적화 제안을 포함한 데이터 기반 가격 분석.

  • 주문 이상/사기 탐지.

  • 제품 성과에 대한 ABC 분석.

  • 자동화된 일간 및 주간 보고서.

  • 이중 전송: 로컬 stdio 및 Streamable HTTP (MCPize).

  • TypeScript, @modelcontextprotocol/sdk v1.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 도구

도구

설명

store_connect

Shopify 또는 WooCommerce 스토어에 연결을 설정하고 자격 증명을 검증합니다.

inventory_status

현재 재고 수준, 백오더 플래그 및 재고 부족 알림을 반환합니다.

inventory_forecast

이동 평균 수요와 안전 재고 버퍼를 사용하여 향후 재고 요구 사항을 예측합니다.

pricing_analyze

가격 탄력성 보고서를 생성하고 가격이 낮거나 높은 SKU를 식별합니다.

pricing_optimize

마진 분석, 판매 속도 및 구성 가능한 가격 책정 규칙을 기반으로 최적의 가격대를 제안합니다.

customers_segment

RFM 분석을 수행하고 고객을 7개 세그먼트 중 하나로 할당합니다.

customers_churn

고객의 이탈 위험을 점수화하고 유지 전략을 제안합니다.

order_anomalies

패턴 인식 모델을 사용하여 잠재적인 사기 또는 오류 주문을 탐지합니다.

product_performance

ABC 분석을 수행하고 제품 클래스별 기여 지표를 반환합니다.

report_daily

일일 운영 요약(판매, 재고, 알림)을 JSON/CSV 형식으로 생성합니다.

report_weekly

추세 시각화가 포함된 주간 성과 보고서를 생성합니다.


MCP 리소스

리소스

설명

store://overview

총 매출, 주문, 고객 및 총 마진과 같은 상위 수준의 스토어 지표입니다.

store://inventory

보유 수량, 예약 재고 및 예상 부족분을 포함한 전체 재고 카탈로그입니다.

store://orders/recent

상태, 총 가치 및 결제 수단을 포함한 최근 주문 100개 목록입니다.

store://customers/top

평생 가치, 구매 빈도 및 최근성 기준으로 순위가 매겨진 상위 50명의 고객입니다.


구성

프로젝트 루트에 .env 파일을 생성하세요. 다음 변수가 필요합니다:

변수

필수 대상

설명

SHOPIFY_API_KEY

Shopify

비공개 앱 API 키.

SHOPIFY_API_PASSWORD

Shopify

비공개 앱 비밀번호.

SHOPIFY_STORE_DOMAIN

Shopify

스토어 도메인 (예: myshop.myshopify.com).

WOOCOMMERCE_CONSUMER_KEY

WooCommerce

REST API 소비자 키.

WOOCOMMERCE_CONSUMER_SECRET

WooCommerce

REST API 소비자 비밀.

WOOCOMMERCE_STORE_URL

WooCommerce

스토어 URL (예: https://example.com).

MCP_PORT

HTTP 전송

Streamable HTTP 엔드포인트용 포트 (기본값 8080).

MCP_LOG_LEVEL

전체

로깅 상세 수준 (error, warn, info, debug).

MCP_PRICING_MODEL

가격 도구

가격 책정 전략 (margin_based).

MCP_FORECAST_WINDOW_DAYS

재고 예측

예측할 일수 (기본값 30).

선택적 변수:

변수

설명

MCP_ENABLE_ANONYMIZATION

true로 설정하면 보고서에서 개인 식별 데이터가 마스킹됩니다.

MCP_REPORT_S3_BUCKET

제공된 경우, 일간/주간 보고서가 지정된 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 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.
      -