PO Pilot MCP (po-pilot-mcp)
[npm v1.0.0]
[Get Solo Kit ($49)]
[Get Agency 10-Store ($249)]
[Hosted Cloud ($0 / $29)]
[Glama Grade A]
[License: MIT]
[PO Pilot — Post-Stocky Shopify PO & 3-Way Match Kit]
Solo Pro Kit + 3 n8n Workflows ($49) →
|
Agency / 3PL 10-Store Suite ($249) →
|
Hosted Cloud ($0 / $29 mo) →
|
Glama (Grade A) →
Post-Stocky replenishment math, Open-to-Buy & US tariff landed-cost Purchase Orders, Shopify POS barcode Transfer CSVs, Stocky CSV supplier recovery, and Accounts Payable 3-way invoice matching (with QuickBooks Online & Xero Bill CSV exports) for Shopify merchants and US wholesalers.
Shopify retired Stocky on August 31, 2026. Native Shopify Admin stores inventory counts and draft PO records, yet drops the purchasing logic merchants relied on: reorder point calculation, carton/case-pack rounding, vendor minimum order thresholds, supplier export, and invoice discrepancy checks. Meanwhile, Shopify's official Storefront and UCP MCP endpoints (catalog, cart, checkout, policies) serve front-office shoppers only.
po-pilot-mcp connects Claude Desktop, Claude Code, Cursor, or n8n to four deterministic back-office purchasing tools. Every tool runs locally or over Streamable HTTP with zero required credentials in demo_mode or CSV mode, and optionally connects to live Shopify Admin GraphQL (2026-04) when read-only store credentials are supplied.
Setup in Under 60 Seconds
Option A: Zero-Key Quickstart (Claude Desktop / Cursor)
Add this block to claude_desktop_config.json or .cursor/mcp.json (exact version pin recommended for reproducible deployments):
Option B: Claude Code CLI (One Command)
Option C: Live Shopify Store Mode (Optional Read-Only Admin Token)
Create a custom app in Shopify Admin -> Settings -> Apps and sales channels -> Develop apps with three read-only scopes: read_products, read_inventory, and read_orders.
Option D: Remote Streamable HTTP (n8n / Cloud Gateways / MCPize)
3 Copy-Paste Prompts (Test Immediately)
Prompt 1: Monday Morning Vendor PO Run + Landed Cost + POS Barcode CSV (Zero API Keys Needed)
Prompt 2: Rescue Un-Exportable Supplier Data from Stocky CSV
Prompt 3: Finance Ops 3-Way Match Audit + QuickBooks/Xero Verified Bill CSV
Tool Reference (4 Workflow Tools)
Deterministic Math Under the Hood
- Inventory Position (prevents double-ordering while stock is in transit):
$$\text{IP} = \text{OnHand} + \text{OnOrder} - \text{Committed} - \text{Backorders}$$
- Stockout-Adjusted Daily Velocity (prevents artificially depressed velocity when a bestseller was out of stock for part of the month):
$$d = \frac{\text{UnitsSold}}{\max(1,; \text{WindowDays} - \text{StockoutDays})}$$
- Demand + Lead-Time Variability Safety Stock:
$$\text{SS} = \left\lceil Z \cdot \sqrt{\text{LT} \cdot \sigma_d^2 + d^2 \cdot \sigma_{\text{LT}}^2} \right\rceil$$
where $Z \in {1.04, 1.28, 1.65, 1.96, 2.33}$ for $85%, 90%, 95%, 97.5%, 99%$ cycle service levels.
- Periodic Review Order Quantity & Carton Rounding:
$$\text{ROP} = \lceil d \cdot \text{LT} + \text{SS} \rceil, \quad S = \lceil d \cdot (\text{LT} + R) + \text{SS} \rceil$$
When $\text{IP} \le \text{ROP}$, raw order need $Q_0 = \max(\text{SKU-MOQ}, S - \text{IP})$ is rounded to carton multiples $\lceil Q_0 / \text{CasePack} \rceil \times \text{CasePack}$. If a vendor PO falls short of
min_order_value_usd (such as a $2,200 wholesale minimum or free-freight tier), the engine adds carton increments to the highest-velocity A-class SKU rather than padding slow C-items.
Security, Privacy & Reliability Guarantees
- Zero Credential Persistence: Tokens passed via
SHOPIFY_ACCESS_TOKEN remain in memory for the request lifetime only and are never logged, written to disk, or echoed in error payloads.
- Read-Only Store Access: Live Shopify GraphQL integration issues
POST queries solely for read operations (productVariants and orders) and enforces a strict 15-second AbortSignal timeout.
- Crash-Proof Error Envelopes: Invalid CSV headers, missing parameters, or network timeouts return structured MCP
isError: true responses with remediation steps instead of terminating the stdio process.
- Zero Known Dependency Advisories: Verified clean under
npm audit.
Pricing & Entitlements
- Local Free Sandbox (
npx -y [email protected]): $0 — unlimited Stocky CSV supplier recovery (migrate_stocky_csv_snapshot), full demo_mode, and up to 25 SKUs / 15 unique invoice SKUs per call via CSV or JSON.
- Self-Hosted Lifetime Licenses + 3 n8n Automation Workflows (Solo $49 → | Agency $249 →):
- MCPize Managed Cloud (Subscribe on MCPize →):
Maintainer Publish & Deploy Commands
See docs/LOOM-SCRIPT.md for the 3-minute product walkthrough script and docs/RESEARCH-REPORT.md for the market audit behind this build.
License
MIT License — see LICENSE.