Shop MCP logo

Shop MCP

Read-only Shopify catalogue and inventory access over stdio MCP, using four focused tools and Python's standard library.

Install Shop MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "shop-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "shop-mcp",
        "shop-mcp"
      ],
      "env": {
        "SHOPIFY_SHOP_DOMAIN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx --from shop-mcp shop-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

shop-mcp MCP server connects an LLM agent to a Shopify store's catalogue and stock data over stdio. It provides product search, full product details, SKU inventory by location, and low-stock reporting through a hand-written MCP implementation. Run it with Python 3 without installing the MCP SDK, requests, or another dependency. Reach for it when an agent needs read-only Shopify product and inventory answers rather than catalogue mutations.

Use cases

  • Search a Shopify catalogue for products matching an agent's description
  • Retrieve every variant, SKU, price, and stock value for a product
  • Check SKU inventory across Shopify locations
  • Generate a threshold-based low-stock report

Key features

  • Read-only Shopify catalogue access
  • SKU inventory by location
  • Low-stock reporting with scan status
  • Standard-input/output MCP transport
  • Python standard library only
  • Built-in self-test suite

Tools4

What Shop MCP lets your agent do. Expand a tool for its parameters.

Self-reported~70 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 62d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · shop-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed4Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Shop MCP works

What shop-mcp MCP server does

The shop-mcp MCP server gives an LLM agent read-only access to a Shopify store's catalogue and inventory. Its scope is deliberately limited to four questions: which products match a description, what a particular product contains, how much stock exists for a SKU at each location, and which variants are at or below a chosen threshold.

The server does not expose catalogue or inventory mutations. It is intended for agents that need to answer store-operations questions without changing Shopify data.

How it works

shop-mcp MCP server communicates over standard input and output using MCP messages. The implementation is contained in a single Python file and writes diagnostics to stderr so that stdout remains available for protocol frames. It implements the protocol layer directly rather than depending on an MCP SDK.

The Shopify side uses Admin GraphQL queries. Throttled GraphQL responses are retried with growing backoff, while authentication failures are not retried. Tool failures are returned as tool results marked with isError, allowing the model to receive the reason and adjust its request.

The implementation also handles protocol details that affect strict clients, including notifications, request ID 0, unknown protocol versions, and newline-delimited JSON framing. Product searches quote SKUs correctly, and inventory quantities that Shopify reports as null remain distinct from zero.

Setup and configuration

The basic installation path is the source checkout:

text
python3 shop_mcp.py

The project states that no external Python dependencies are needed. A self-test can be run with:

text
python3 shop_mcp.py --self-test

That test does not require credentials or network access. The package can also be launched with uvx --from shop-mcp shop-mcp.

Tools and capabilities

The shop-mcp MCP server exposes these tools:

  • search_products: Finds matching products and reports their identity and total stock.
  • get_product: Returns one product with every variant, including SKU, price, and stock.
  • check_inventory: Reports a SKU's available, committed, and on-hand quantities for each location.
  • low_stock_report: Lists variants at or below a supplied threshold, ordered from lowest stock upward.

The low-stock scan reports whether it reached its configured scan limit. This prevents an incomplete scan from being presented as proof that no qualifying variants exist.

Limitations and notes

The repository's self-test covers 200 assertions in a clone and 183 when installed from PyPI because repository-only files are absent from the package. The tests exercise protocol handling, schema checks, retries, SKU quoting, null quantities, threshold boundaries, and scan exhaustion.

The project has not been run against a live Shopify store. Its Shopify requests are checked against a transport double based on the documented schema, so a successful self-test does not prove a live-store round trip. The server is therefore best evaluated as a read-only Shopify data interface whose production connectivity still needs to be verified with the target shop and credentials.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Shop MCP

shop-mcp is an MCP server that connects LLM agents to a Shopify store's catalogue and inventory through stdio. Its main tools search products, retrieve complete product and variant details, check SKU stock by location, and report low-stock variants. It is read-only and uses Python's standard library without external dependencies.

Run `python3 shop_mcp.py` from the source checkout, or launch the package with `uvx --from shop-mcp shop-mcp`. No MCP SDK, requests package, or other Python dependency is required.

Set `SHOPIFY_SHOP_DOMAIN` and provide the required Shopify credentials.

Run `python3 shop_mcp.py --self-test`; it requires neither credentials nor network access. The test exercises the protocol and tool layers using a transport seam instead of a live Shopify session.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewShop MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/shop-mcp?style=directory)](https://allmcps.com/mcp/shop-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/shop-mcp"><img src="https://allmcps.com/api/badge/shop-mcp?style=directory" alt="Shop MCP on AllMCPs" /></a>