Shopops Mcp

io.github.enzoemir1由 GitHub 帳號 enzoemir1 發布v1.2.2更新於 Oct 24, 2026

AI e-commerce operations. Inventory, pricing, segmentation, and analytics.

已驗證STDIO僅桌面資料與分析商業與電商

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理連接 Shopify 與 WooCommerce 商店,處理庫存、定價、客戶分群、訂單檢查與報表。

可以做什麼
連接、列出、中斷與同步 Shopify 或 WooCommerce 商店,或建立含範例資料的示範商店,以便在沒有真實憑證時試用。查看庫存水位、缺貨標記與低庫存警示,並預測未來庫存需求。分析價格彈性並依毛利率與銷售速度提出建議價格。依 RFM 為客戶分群、評估流失風險並提供留存建議。找出異常或疑似詐欺訂單,並對商品表現做 ABC 分析。產生每日與每週營運報表,並以資源形式讀取商店概況、庫存、最近訂單與主要客戶。
適用情境
適合需要助理協助經營 Shopify 或 WooCommerce 商店的情境:檢視庫存、測試定價想法、劃分客戶群、標記可疑訂單,或定期產出銷售與庫存報表。示範資料功能方便在連接真實商店前先試用。
執行需求
以 Node.js 本機程序執行,從 npm 安裝 shopops-mcp。商店憑證在執行時傳給 store_connect 工具:Shopify 的商店網域與存取權杖,或 WooCommerce 的商店網址、consumer key 與 consumer secret。選用環境變數 PORT 與 MCPIZE 可切換為 HTTP 端點;LEMONSQUEEZY_LICENSE_KEY 可解鎖 Pro 版本。
安裝前請注意
商店憑證(Shopify 存取權杖、WooCommerce consumer key 與 secret)以工具參數傳入,會出現在對話與工具呼叫中。伺服器可同步並讀取真實商店資料,這些資料會傳送給助理及其模型供應商。提供付費 Pro 授權,沒有授權金鑰時以免費版執行。報表匿名化與匯出功能僅列於開發藍圖,尚未實作。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Shopops Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ShopOps MCP

AI-powered server that implements the Model Context Protocol (MCP) for managing Shopify and WooCommerce stores.

[License: MIT] [TypeScript] [MCP]


Features

  • Store connectors for Shopify and WooCommerce.
  • 12 MCP tools covering inventory, pricing, customers, orders, product performance and reporting.
  • 4 MCP resources exposing store overview, inventory, recent orders and top customers.
  • Inventory forecasting using moving-average demand plus safety-stock calculation.
  • RFM-based customer segmentation (7 distinct segments).
  • Data-driven pricing analysis with margin-based optimization suggestions.
  • Order anomaly / fraud detection.
  • ABC analysis of product performance.
  • Automated daily and weekly reports.
  • Dual transport: local stdio and Streamable HTTP (MCPize).
  • TypeScript, @modelcontextprotocol/sdk v1.29+, Zod v4.
  • Free tier, plus a €29 lifetime Pro license.

Quick Start

bash
# 1. Install the packagenpm 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

The server will read the environment variables, connect to the configured store(s), and expose the MCP tools and resources.


MCP Tools

ToolDescription
store_connectConnects, lists, disconnects, or syncs a Shopify/WooCommerce store (action: "connect" | "list" | "disconnect" | "sync") and validates credentials.
store_demo_seedCreates a realistic demo store (20 products, 40 customers, 150+ orders) so you can explore every tool without real store credentials.
inventory_statusReturns current stock levels, back-order flags and low-stock alerts.
inventory_forecastProjects future inventory requirements using moving-average demand and safety-stock buffers.
pricing_analyzeGenerates a price elasticity report and identifies under-/over-priced SKUs.
pricing_optimizeSuggests optimal price points based on margin analysis, sales velocity, and configurable pricing rules.
customers_segmentPerforms RFM analysis and assigns customers to one of seven segments.
customers_churnScores customers for churn risk and provides retention recommendations.
order_anomaliesDetects potentially fraudulent or erroneous orders using pattern-recognition models.
product_performanceConducts ABC analysis and returns contribution metrics per product class.
report_dailyGenerates a JSON/CSV daily operations summary (sales, inventory, alerts).
report_weeklyGenerates a weekly performance report with trend visualisations.

MCP Resources

ResourceDescription
store://overviewHigh-level store metrics: product, order, and customer counts per connected store.
store://inventoryLow-stock alerts: active products with on-hand quantity ≤ 10, sorted lowest first.
store://orders/recentThe 20 most recent orders across all stores, with order number, total, status and date.
store://customers/topTop 20 customers by total spending, with name, email and order count.

Configuration

ShopOps reads only a handful of environment variables. Store credentials are not env vars — they are passed to the store_connect tool at runtime (one connection per store), so the same server process can manage multiple Shopify/WooCommerce stores.

VariableRequiredDescription
PORTNoIf set (or MCPIZE=true), the server runs as a Streamable HTTP endpoint on this port (default 8080) instead of local stdio.
MCPIZENoSet to true by the MCPize runtime to force HTTP transport.
LEMONSQUEEZY_LICENSE_KEYNoPro license key. Without it the server runs in Free tier (see Pro License).

A minimal .env is provided in .env.example.

Connecting a store

Shopify and WooCommerce credentials are supplied as parameters to store_connect, e.g.:

jsonc
// Shopify{ "action": "connect", "platform": "shopify",  "store_domain": "myshop.myshopify.com", "access_token": "shpat_..." }
// WooCommerce{ "action": "connect", "platform": "woocommerce",  "store_url": "https://example.com", "consumer_key": "ck_...", "consumer_secret": "cs_..." }

store_connect returns a store_id that every other tool takes as input. To explore the server without real credentials, call store_demo_seed instead.

Roadmap (not yet implemented): report anonymization, S3 report export, and a configurable pricing-model / log-level are planned but not read by the current release.


Pro License

ShopOps ships in Free mode — store_demo_seed, store_connect, inventory_status, pricing_analyze, customers_segment, product_performance, and report_daily are open. The following tools require a Pro license:

  • inventory_forecast — moving-average demand forecasting + reorder points
  • pricing_optimize — actionable price-change recommendations
  • customers_churn — churn risk scoring + retention recommendations
  • order_anomalies — fraud / anomaly detection
  • report_weekly — week-over-week trend report + AI insights

Buy a Pro License (€29, lifetime, 3 machines): https://automatiabcn.lemonsqueezy.com/buy/cbbe44f0-a146-4c65-88c8-71f371037758

Or get the Indie MCP Stack Bundle (€69, all 4 servers).

bash
export LEMONSQUEEZY_LICENSE_KEY=YOUR-KEY-HERE

Or in your MCP client config:

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

Validation is cached locally for 24 h — fully offline-capable after first run.


License

ShopOps MCP is released under the MIT License. See LICENSE for full terms.


Author: Automatia BCN

來源:README.md,提交 14da807

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分