Storefront MCP server
io.github.Maarmapa/storefront-mcp·v1.0.1·1 starsE-commerce storefront over MCP: public catalog tools plus token-gated back-office tools.
1 stars32 downloads/wk
Reviews
Write oneNobody has reviewed Storefront yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Storefront tools (11, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
get_color_cardReturn a brand variant chart (color card): every variant with code, name, SKU and — when
get_order_statuswrite actionStatus of one order by its public short_id (the id shown at checkout).
get_productReturn full detail for one product by its exact slug: name, price, availability,
get_promotionsList products currently on sale. Returns up to 100.
get_quoteBuild a quote for a list of items and return the total plus a payment_link to hand to
get_recent_ordersLatest orders, read-only and anonymized: short_id, total, status, date, item count.
get_sales_summarySales summary for a period: total revenue, order count, average ticket, top 5 brands by revenue.
get_stock_bulkReal-time stock for multiple SKUs in one call. Ideal to verify availability before quoting.
get_top_productsBest-selling products over the last N days. Returns name, SKU, units sold and revenue.
list_brandsList available variant charts (slug, brand, product line, number of variants, base price).
search_productsSearch purchasable products in the catalog by name, brand or SKU. Returns slug, name,
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan9 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 29 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Storefront compares
Against every graded E-commerce MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 77% of 2,174 E-commerce servers
- Tools
- 11
- the typical E-commerce server has 6
- Tools that change things
- 9%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 65% of 1,047 E-commerce servers
- Downloads a week
- 32
- more than 24% of 411 E-commerce servers with a package
What its tools let an agent do: 10 read · 1 change
Install Storefront in Claude Code, Cursor or VS Code
Runs npx -y storefront-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add storefront-mcp -- npx -y storefront-mcp
What the publisher says
From the Storefront repository's README, as published. We do not edit it. Read it on GitHub
storefront-mcp
An MCP server template for e-commerce storefronts. AI agents get your catalog; only you get your back office.
(Español más abajo / Spanish below.)
Quickstart (30 seconds)
npx storefront-mcpThat starts an MCP server over stdio serving a demo catalog (the bundled memory adapter) with 8 public tools — 6 read tools plus the two write tools, which start in dry mode: they run every check and then create nothing. Plug it into Claude Desktop or Claude Code by adding this to your MCP config (claudedesktopconfig.json, or claude mcp add storefront -- npx storefront-mcp):
{
"mcpServers": {
"storefront": {
"command": "npx",
"args": ["storefront-mcp"]
}
}
}Want the 5 back-office tools too? On stdio there is no HTTP header, so the gate is the presence of MCP_SECRET in the server process env — whoever launches the process owns the machine it runs on:
{
"mcpServers": {
"storefront": {
"command": "npx",
"args": ["storefront-mcp"],
"env": { "MCP_SECRET": "anything-non-empty" }
}
}
}Prefer curl? npx storefront-mcp --http 8787 serves the same JSON-RPC contract over plain HTTP on localhost, with the real Authorization: Bearer check (same behavior as the Next.js route below), plus the opt-in confirmation page at /api/stock-alert/confirm:
npx storefront-mcp --http 8787 &
curl -s http://127.0.0.1:8787/ -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Pick the adapter with CATALOG_ADAPTER (memory by default, woocommerce for the Store API skeleton). To serve your own catalog, write an adapter (see below) — the CLI, the Next.js route and the registry entry (server.json) all reuse the same tool definitions and privilege boundary.
What is this
A Model Context Protocol server, packaged as a Next.js App Router route, that exposes an online store to AI agents (Claude, custom GPTs, agent frameworks — anything that speaks MCP over Streamable HTTP). It defines 13 tools, and announces the subset your adapter can actually answer:
Only searchproducts and getproduct are always present. Everything else is a capability: implement the adapter method and the tool appears, skip it and the tool does not exist on your deployment — see guard rail 18.
The write tools are public on purpose — an agent buying on a human's behalf is the point — so their protection is behavioral, not a token. They start in dry mode. See the guard rails.
It is extracted from a production storefront server, with everything store-specific removed and replaced by a clean adapter interface.
Why
AI agents are becoming a sales channel. When someone asks their assistant "find me a warm gray alcohol marker in stock near me", the stores that win are the ones the agent can actually query: structured search, real availability, a quote with a payment link. A public MCP endpoint is how your store shows up in that conversation — on your own domain, with your own data, under your own rules.
The core design: privilege separation
An agent may browse the shop window; it never sees the operation.
Every tool is either public or sensitive, and the boundary is enforced twice in the protocol layer (src/lib/protocol.ts, shared by the Next.js route and the standalone CLI):
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Storefront: common questions
- Is Storefront MCP server safe?
- Mostly: it is graded B (83/100). Read the Storefront safety report
- How do I install Storefront?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Storefront need an API key?
- Yes. The registry entry asks for
MCP_SECRET. - Is Storefront maintained?
- The last commit was 70 days ago (2026-08-25). The latest release is v1.0.1.
- What can I use instead of Storefront?
- Servers from other publishers that do the same job: HasData Shopify MCP server, Kapruka MCP server and Sellbase MCP server. Compare all Storefront alternatives.
- How does Storefront compare with other E-commerce MCP servers?
- safety score 83/100 (higher than 77% of 2,174 E-commerce servers); tools 11 (the typical E-commerce server has 6); tools that change things 9% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Storefront
Same job from other publishers: the closest match first, then the best rated.
- HasData ShopifyThe public product catalogue and collections of any Shopify storefront, as structured JSON.not reviewedGrowingA
Kapruka MCPFree public MCP server for Kapruka.com — Sri Lanka's largest e-commerce platform.not reviewedGrowingB- SellbaseOpen source commerce in your own Supabase: catalog, checkout, orders and bookings, run by your AI.not reviewedGrowingB
- Loki ModeAutonomous spec-to-product coding-agent CLI with an MCP server exposing 39 tools over stdio.not reviewedEstablishedB
BuywhereAgent-native product catalog: 300M+ products, 150,000+ stores, deliver_to ranking.not reviewedEstablishedA