mcpField
S
shopops-mcp

shopops-mcp

Local
github.com/enzoemir1Business & Marketing1Updated 7w ago

About shopops-mcp

shopops-mcp is an MCP server for operating Shopify and WooCommerce stores. It exposes store data and tools for inventory, pricing, customer analysis, orders, and reporting.

Key features

  1. 01Shopify and WooCommerce store connections
  2. 02Inventory status and demand forecasting
  3. 03Pricing and margin analysis
  4. 04RFM customer segments and churn scoring
  5. 05Order anomaly detection and product ABC analysis
  6. 06Daily and weekly operations reports

Use cases

  1. 01Review stock levels and forecast inventory needs
  2. 02Analyze product prices and sales contribution
  3. 03Segment customers and identify churn risk
  4. 04Generate store operations and performance reports

MCP support

The server exposes 12 MCP tools and four resources for connected Shopify and WooCommerce stores. It supports local stdio and Streamable HTTP transports.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"enzoemir1-shopops": {
"command": "npx",
"args": [
"-y",
"shopops-mcp-server"
]
}
}
}
Run commandnpx -y shopops-mcp-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmshopops-mcp-server1.2.2

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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

# 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_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.:

// 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).

export LEMONSQUEEZY_LICENSE_KEY=YOUR-KEY-HERE

Or in your MCP client config:

{
  "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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.