Shopops Mcp

Created By
enzoemir12 months ago
AI-powered e-commerce operations manager for Shopify and WooCommerce. 11 tools including inventory forecasting, pricing optimization, RFM customer segmentation, order anomaly detection, ABC product performance analysis, and automated daily/weekly reports.
Overview

ShopOps MCP

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


Features

  • Store connectors for Shopify and WooCommerce.
  • 11 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 $25 and $45 paid plans.

Quick Start

# 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

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


MCP Tools

ToolDescription
store_connectEstablishes a connection to a Shopify or WooCommerce store and validates 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: total sales, orders, customers, and gross margin.
store://inventoryFull inventory catalogue with quantity on hand, reserved stock and forecasted shortages.
store://orders/recentList of the most recent 100 orders with status, total value and payment method.
store://customers/topTop 50 customers ranked by lifetime value, purchase frequency and recency.

Configuration

Create a .env file at the project root. The following variables are required:

VariableRequired forDescription
SHOPIFY_API_KEYShopifyPrivate app API key.
SHOPIFY_API_PASSWORDShopifyPrivate app password.
SHOPIFY_STORE_DOMAINShopifyStore domain (e.g., myshop.myshopify.com).
WOOCOMMERCE_CONSUMER_KEYWooCommerceREST API consumer key.
WOOCOMMERCE_CONSUMER_SECRETWooCommerceREST API consumer secret.
WOOCOMMERCE_STORE_URLWooCommerceStore URL (e.g., https://example.com).
MCP_PORTHTTP transportPort for the Streamable HTTP endpoint (default 8080).
MCP_LOG_LEVELAllLogging verbosity (error, warn, info, debug).
MCP_PRICING_MODELPricing toolsPricing strategy (margin_based).
MCP_FORECAST_WINDOW_DAYSInventory forecastNumber of days to forecast (default 30).

Optional variables:

VariableDescription
MCP_ENABLE_ANONYMIZATIONWhen set to true, personally identifiable data is masked in reports.
MCP_REPORT_S3_BUCKETIf provided, daily/weekly reports are uploaded to the specified S3 bucket.

License

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


Author: Automatia BCN

Server Config

{
  "mcpServers": {
    "shopops-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "shopops-mcp"
      ],
      "env": {
        "SHOPIFY_ACCESS_TOKEN": "<YOUR_TOKEN>",
        "WOOCOMMERCE_KEY": "<YOUR_KEY>",
        "WOOCOMMERCE_SECRET": "<YOUR_SECRET>"
      }
    }
  }
}
Project Info
Created At
2 months ago
Updated At
2 months ago
Author Name
enzoemir1
Star
-
Language
-
License
-
Category
Tags

Recommend Servers

View All