Read-only Shopify catalogue MCP server: stdlib-only, one file, with a 183-assertion self-test
PrestigiousAddress47 · reddit · 2026-09-15
A developer open-sourced shop-mcp, a read-only Shopify catalogue/inventory MCP server designed to avoid handing write access over a live store to an LLM. It ships four tools (searchproducts, getproduct, checkinventory, lowstockreport) in a single Python file using only the standard library: hand-written JSON-RPC over stdio and urllib for the Shopify Admin GraphQL API. Notable edge-case handling includes quoting SKUs with spaces, not coercing null inventory to zero, and using a presence check (not truthiness) for msg ids. It offers a tokenless --self-test (183 assertions) plus a mutation test that injects 23 defects, all caught. MIT licensed, no telemetry, available on PyPI and the MCP Registry — a useful reference for hand-rolling MCP servers.
More from coding & agent
- Snapcompact renders context as pixel-font bitmaps, cutting LLM input costs ~2x — brandon_galang · 2026-09-15
- Benzi lets you chat with any public GitHub repo, now shipped as a VS Code extension — DonkeyTheKing · 2026-09-15
- Ant Ling, Hugging Face and NVIDIA to host hands-on local AI assistant session on Sept 17 — heyneighbor · 2026-09-15
- Dev turns 2 weeks of Obsidian plugin experience into open-source Skill that lets Codex build and ship plugins — vista8 · 2026-09-15
- Tencent open-sources WeKnora, an enterprise RAG knowledge platform with 23.3k GitHub stars — yangyi · 2026-09-15
- Dev open-sources Taskuary, a local control layer that gives coding agents a shared task queue — Appropriate-Path-461 · 2026-09-15