Spree Commerce developer docs for AI agents
Spree Commerce docs for AI coding agents: build headless B2B and marketplace ecommerce on its APIs.
作者提供的说明(英文原文)
Score a Magento or Adobe Commerce store on eight AI agent-readiness checks.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://expandingweb.com/mcp在终端中运行这条命令
claude mcp add --transport http agentic-commerce-readiness https://expandingweb.com/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"agentic-commerce-readiness": {
"url": "https://expandingweb.com/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agentic-commerce-readiness": {
"type": "http",
"url": "https://expandingweb.com/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://expandingweb.com/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
工具名称和描述与服务器在 2026年11月9日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
search_catalogUCP 2026-04-08 catalog search over the engagement tiers. Returns UCP product objects in structuredContent. Call with no query for the whole catalog.
lookup_catalogUCP 2026-04-08 catalog lookup: resolve engagement ids (e.g. readiness-sprint) to UCP product objects.
list_offersList every Expanding Web engagement tier with id, price, currency and what it includes.
get_offerFull record for one engagement tier: price, turnaround, deliverables, pricing policy and limits.
scan_storeRun the free eight-check agent-readiness scan against a live storefront and return the verdicts. Read-only, at most three pages, 15-second budget, robots.txt honoured. Limited to 5 scans per hour.
create_checkout_sessionCreate a Stripe Checkout Session and return its URL — for the Agentic Commerce Readiness Sprint (readiness-sprint) or for Pro licences of the Agentic Commerce Suite Magento module (module-pro, one licence per Magento installation, volume discount from 3). Payment is completed by
report_problemReport something on this site or endpoint that stopped you from completing a task: a page you could not read, data you could not find, a request that was refused. Read by a human. Use this instead of giving up silently — it is the only way we learn that an agent failed here.
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月10日
注册名称已通过域名 expandingweb.com 验证(注册中心会核实域名所有权)
代码最后更新于2个月前
我们还没有从 GitHub 读取这个仓库
在 136 毫秒内响应(HTTP 200)
无需登录
已读取 7 个工具描述,未发现针对 AI 的隐藏指令
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 4 项适用的基础检查中通过了 4 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于2个月前,最新版本(1.0.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spree Commerce developer docs for AI agents, Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Spree Commerce docs for AI coding agents: build headless B2B and marketplace ecommerce on its APIs.
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
MCP server integrating with Stripe - tools for customers, products, payments, and more.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
ExpandingWeb_AgentReadiness runs the eight public agent-readiness checks against your own Magento 2 / Adobe Commerce store from inside the admin, and counts the AI agent traffic (GPTBot, ClaudeBot, PerplexityBot, …) your storefront already gets.
It is the free, open-source tier of the Agentic Commerce Suite by Expanding Web. MIT licence. Nothing leaves your store by default (see Privacy).
Same check ids, semantics and verdict language as the public scanner at https://expandingweb.com/#scan — a score means the same thing in your admin, on the public scan and in the quarterly benchmark.
| ID | Check | What passes |
|---|---|---|
| UCP-01 | /.well-known/ucp profile | A profile at that path that validates against the Universal Commerce Protocol spec, version 2026-04-08. |
| MCP-01 | Advertised MCP endpoint reachable | The MCP endpoint the UCP profile names (or a ) answers an initialize handshake and lists at least one tool. A profile that advertises a dead endpoint fails. |
| BOT-01 | robots.txt policy for AI shopping crawlers | The policy for the crawlers agents use (GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot, ChatGPT-User, Claude-User, Applebot-Extended, Amazonbot, Bingbot, meta-externalagent, CCBot) lets them read product URLs, not only the homepage, and the homepage carries no noindex/noai directive. |
| AGENT-01 | AI agent user-agents served at the edge | robots.txt states a policy; the edge states the truth. The scanner fetches the homepage *as* GPTBot and ClaudeBot and checks the CDN or firewall does not answer 401/403/429/503 or a bot challenge to that user agent. |
| CRAWL-01 | Crawl limits on search and faceted URLs | Catalog search and layered navigation generate unlimited distinct URLs, each a cache miss; the check asks whether robots.txt bounds them (/catalogsearch/result/, /search, query-string URLs) for every AI crawler, not only *. |
| LLMS-01 | /llms.txt present | A plain-text index of the site written for language models exists at the root. |
| FEED-01 | Product structured data completeness | Sampled product pages (up to three) score at least 16 of 35 weighted points across 27 attributes. The eight an agent cannot transact without — name, image, GTIN, price, currency, availability, shipping details, return policy — count double; a value that would mislead (bad GS1 check digit, non-numeric price, expired priceValidUntil) earns nothing. |
| SCHEMA-01 | Product, Offer, AggregateRating JSON-LD | A product page carries valid JSON-LD for the product with an offer and, where reviews exist, an aggregate rating. |
Reading the result:
Where the numbers come from: in the Q3 2026 benchmark of 1,867 Magento stores, 33.9% passed none of the eight checks; on SCHEMA-01 alone, 54% of reachable product pages carried no Product+Offer JSON-LD.
composer require expandingwebcom/module-agent-readiness
bin/magento module:enable ExpandingWeb_AgentReadiness bin/magento setup:upgrade bin/magento cache:flush
Requirements: Magento Open Source / Adobe Commerce 2.4.6 or newer, PHP 8.2 or newer, guzzlehttp/guzzle 7 (already part of Magento). Two tables are created: expw_readiness_scan and expw_readiness_daily. bin/magento module:uninstall ExpandingWeb_AgentReadiness drops both and every expw_readiness/* config value.
The module can be installed alongside the Agentic Commerce Suite — tables, config paths, routes, ACL ids and cron jobs do not collide.
The scan runs on your own server against the default store view's base URL, from the outside in — the same fetches an agent would make: /, /robots.txt, /.well-known/ucp, /llms.txt, /sitemap.xml, up to three product pages, the homepage again as GPTBot and as ClaudeBot, and an MCP handshake if a profile advertises an endpoint. Budget: 60 seconds wall clock, 5 seconds per request, 2 MB per response. Cron expw_readiness_scan runs it daily at 03:15 server time; the last 400 scans are kept.
*Run scan now* is synchronous: the admin POST waits for the scan, so PHP-FPM's request timeout needs to clear 60 seconds.
An observer on controller_action_predispatch matches the request's User-Agent against a list of known AI agent tokens (Model/Tracking/AgentDetector: OAI-SearchBot, ChatGPT-User, GPTBot, Claude-User, Claude-SearchBot, ClaudeBot, Perplexity-User, PerplexityBot, Google-Extended, Applebot-Extended, Amazonbot, Meta-ExternalAgent, Bytespider, CCBot, Bingbot) and, on a match, upserts one row per (day, agent, store view) in expw_readiness_daily. Nothing happens for the other 99.x% of requests beyond one substring scan. "Day" is the store's configured timezone. Rows older than the retention setting (default 400 days) are pruned nightly. The token list is compiled into the module and updated with a module release — a new agent means a new version, never a runtime download.
The dashboard shows 7/30/90-day totals per agent, the change against the previous 30 days, and a 14-day sparkline.
The count is a floor, not a total, for two reasons the dashboard states next to the number:
For a complete picture, count at the edge (CDN or web-server logs). This module deliberately does not ship an edge-log parser.
The module makes no request to anything but your own store:
ExpandingWebAgentReadiness/1.0.0 (+https://expandingweb.com/; readiness self-scan). The one exception is MCP-01: if your UCP profile advertises an MCP endpoint on another host, the handshake goes there — because that is what the profile tells agents to do.User-Agent header and writes an integer to your own database. No IP addresses, no URLs, no headers are stored.No telemetry, no licence check, no agent-list download, no phone-home.
Model/Scanner/Scanner.php and Model/Scanner/UcpProfile.php are generated, not hand-maintained: bin/port-scanner.php re-ports the public scanner's source (app/Agentic/Scanner.php in the expandingweb.com repo, which is not public) into this module's namespace and records the upstream revision in Model/Scanner/.upstream-hash. The script applies exactly five deliberate differences — namespace and strict types, ScanHttp in place of the public scanner's SSRF-hardened client (the only target here is your own base URL, which may legitimately be a private address), sequential instead of concurrent phase-1 fetches, a 60-second instead of 15-second budget (nobody waits on a cron), and the scanner's own identity in the MCP clientInfo and robots.txt matching — and refuses to run if upstream changed shape.
The reason is the promise on the tin: the public scan, the benchmark and the in-store scan have to give the same verdict for the same store. Hand-merging 1,800 lines twice a quarter is how that promise would quietly die, so the file carries a DO NOT EDIT BY HAND marker that CI enforces. Found a check misbehaving? Open an issue with the store shape that trips it; the fix lands upstream and the port is re-run. See CONTRIBUTING.md.
Merchant-feed syndication (OpenAI, Perplexity, Google Merchant Center), Product/Offer/ProductGroup JSON-LD repair, the agent endpoints (/llms.txt, /.well-known/ucp, MCP server, agent product feed, checkout sessions), agent funnel and revenue-exposure analytics, AI visibility and share-of-voice probes and competitor analysis are the paid tier: the Agentic Commerce Suite. This module diagnoses; the Suite repairs.
Expanding Web's own MCP servers are listed in the official MCP registry: com.expandingweb/agentic-commerce-readiness (scan a store, read the offer, open a checkout session) and com.expandingweb/nord-trail-store (a reference agent-ready storefront to look at). Both speak JSON-RPC 2.0 over POST — the same shape this module's checks expect to find on a merchant's store.
ln -s /path/to/agent-readiness app/code/ExpandingWeb/AgentReadiness
bin/magento module:enable ExpandingWeb_AgentReadiness && bin/magento setup:upgrade
Tests, static analysis and coding standard: see CONTRIBUTING.md. Version history: CHANGELOG.md.