E-commerce storefront over MCP: public catalog tools plus token-gated back-office tools.
MCPpedia last refreshed this data
io.github.Maarmapa/storefront-mcp is an MCP server that e-commerce storefront over MCP: public catalog tools plus token-gated back-office tools. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 85/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"storefront": {
"args": [
"storefront-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
E-commerce storefront over MCP: public catalog tools plus token-gated back-office tools.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked storefront-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in ecommerce
Remote MCP connector for eBay, Shopify, Best Buy & Etsy marketplace data via the Commerce API
AI data analyst by getdot.ai. Ask your data warehouse in plain English; get SQL, answers and charts.
Read-only MCP for 12 RU/CN marketplaces (WB, Ozon, Yandex, Avito, Ali): prices, stock, comparison
Signed, traced record of what an npm package or file attempts when run, network included. No key.
MCP Security Weekly
Get CVE alerts and security updates for io.github.Maarmapa/storefront-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.)
npx storefront-mcp
That 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 (claude_desktop_config.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 <MCP_SECRET> 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.
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:
| Public read (no auth) | Public write (guarded) | Sensitive (Bearer token) |
|---|---|---|
search_products | create_checkout | get_stock_bulk |
get_product | subscribe_stock_alert | get_top_products |
get_variant_chart | get_recent_orders | |
list_variant_charts | get_order_status | |
get_promotions | get_sales_summary | |
get_quote |
Only search_products and get_product 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.
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.
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):
tools/list — without a valid Authorization: Bearer <MCP_SECRET>
header, only the publ