Head to head · Commerce catalogues · October 2026 research run

Commerce Layer API + MCP vs Spree Commerce

Spree Commerce scores 72.9 (BB) on agent readiness against Commerce Layer API + MCP's 67.6 (B), and leads in 6 of 7 scored categories. Both do commerce catalogues.

Best commerce platforms and checkout APIs for AI agents · All 208 commerce comparisons

Which one, for what

Commerce Layer API + MCP B

Best for Teams that want a hosted headless backend and an agent that can work across every commerce object with scoped OAuth roles.

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

No price between the free plan and a sales-quoted Enterprise contract

Spree Commerce BB

Best for Teams that want to own a Rails commerce backend with marketplace, B2B and multi-region functions and drive it through REST, or through the MCP server built into 6.0.

Ahead on

  • Agent ergonomics, 90 against 69
  • Payments & pricing, 83 against 38
  • Maintenance & community, 91 against 82
  • Transparency & trust, 64 against 59

Also in its favour

  • Agent-ready, a grade of BB or better
  • Open source

Watch for

Six GitHub security advisories between 8 January and 20 July 2026, four rated High, most of them access-control flaws on guest carts, orders and addresses

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Payments & pricing Spree Commerce +45

Commerce Layer API + MCP 38

No x402, MPP or L402 (0). Only the free Developer plan has a public price. Enterprise is contact sales (5). Developer plan is free with no time limit and no credit card (20). A person signs up in the browser to get credentials (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 25 is 38.

Spree Commerce 83

Read with the self-hosted rule. No x402, MPP or L402 (0). The Community Edition is free and its scope is public, while the Enterprise Edition is listed as custom pricing (15). Nothing to pay and no card for the open-source edition (20). An agent can install a store with npx create-spree-app@latest, which has an option for every prompt and prints the API keys, and the CLI mints a read-only key in a local project (20). The hosted Sandbox is free but needs a browser sign-up and is for evaluation only. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 55 is 83.

Agent ergonomics Spree Commerce +21

Commerce Layer API + MCP 69

11 Core MCP tools, generic list, get, create, update and delete over every resource, with schema discovery instead of one tool per object (20). Filters, sort, include, sparse fieldsets and pagination on list calls (20). JSON:API errors with codes, and the MCP validates filters and writes against the schema before calling the API (16). Payment captures, voids, refunds and reversals are deduplicated at the gateway for a configurable window (1 hour by default) and authorisations keep a fixed key, since 8 October 2026. No idempotency keys for other writes, and no readOnlyHint or destructiveHint annotations in the Core MCP tool list, which marks write tools only in a table (5). Official JavaScript SDK, generated from the schema, now 8.0.3 alongside a Provisioning SDK. We didn't confirm a second official language (8). 20+20+16+5+8 = 69.

Spree Commerce 90

fields trims a response, expand adds relations that are left out by default, and limit caps a page (23). page, limit up to 100, sort and Ransack filters on list calls, with a meta block of counts (20). Errors carry a machine-readable code, a message and per-field details, with 34 documented codes (19). Idempotency-Key on eight cart, checkout and payment calls with a 24-hour cache, optimistic locking on carts, and SDK retries with backoff. Guest cart creation is not covered (18). Few required parameters and three TypeScript SDKs plus a CLI, with no official client in a second language (10).

Maintenance & community Spree Commerce +9

Commerce Layer API + MCP 82

Changelog entry on 27 October 2026 (30). Eleven dated entries since 4 August, on 21 and 27 August, 2 and 29 September, 5 October (three), 8, 13, 20 and 27 October, and @commercelayer/sdk 8.0.0 to 8.0.3 between 6 and 13 October (20). Public changelog and community support on the free plan, dedicated support on Enterprise (10). @commercelayer/sdk 8.0.3 on 13 October 2026, a major release that followed 15 beta tags. The MCP servers aren't in the official registry (12). The SDK repository, now a monorepo with the Provisioning SDK, runs semantic-release, CodeQL and vulnerability-update workflows (10). 30+20+10+12+10 = 82.

Spree Commerce 91

The stable server release is 6.0.1 of 29 October 2026, after 6.0.0 on 27 October (30). More than three releases in 90 days, among them 6.0.0, 6.0.1, seven 6.0 release candidates and four betas, all on RubyGems (20). 95 open issues and 86 open pull requests per the 9 October check, and 338 commits on main from 9 October to 1 November. Reply times were not read (17). Current official TypeScript SDKs and CLI, @spree/sdk 6.0.1 and @spree/cli 3.6.1 in the repository (15). Dependabot weekly for gems and Actions, a weekly pnpm audit workflow and CI on every pull request (9).

Transparency & trust Spree Commerce +5

Commerce Layer API + MCP 59

Closed service with published terms, and MIT-licensed SDKs (15). Privacy policy still last updated 28 October 2020, with no DPA linked, no subprocessor list and no retention periods beyond "as long as reasonably necessary" (10). Deprecations now have a mechanism, with date-stamped API versions whose responses flag deprecated resources, an upcoming-changes page and dated notices (resource-level meta fields announced 17 June and removed on 5 October 2026). No notice period is stated, and three breaking changes in 2026 appeared on the day they shipped (13). The privacy policy names Intercom, Google, GitHub, Stripe and ConvertKit and transfers to the US, but no hosting regions (7). 15+10+13+7 = 45.

Spree Commerce 64

BSD 3-Clause for the backend, MIT for the npm packages and CC BY 4.0 for the docs. Enterprise Edition code is under a separate commercial licence and is not in the repository (28). The software runs on the operator's servers, so store data stays with the operator. Vendo's only privacy notice covers its websites and the hosted Sandbox, with lead data kept up to 24 months and recipients named by category only (20). The release policy pairs breaking changes with deprecation notices in the previous release and lists supported versions with end dates, but the two published copies of that list disagree (12). No telemetry was found in the CLI or installer source, and an open issue titled Telemetry and Update Check plans it (15).

Score by category

CategoryWeightCommerce Layer API + MCPSpree CommerceEdge
Reliability16%8884Commerce Layer API + MCP +4
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8387Spree Commerce +4
Agent ergonomics13%6990Spree Commerce +21
Security & auth14%6465Spree Commerce +1
Payments & pricing10%3883Spree Commerce +45
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8291Spree Commerce +9
Transparency & trust7%5964Spree Commerce +5
Negative events≤15-3-8
TotalB 67.6/100BB 72.9/100

Facts side by side

FactCommerce Layer API + MCPSpree Commerce
KindHTTP APIHTTP API
VendorCommerce LayerVendo Connect Inc
Hosted endpointhttps://core.commercelayer.io/api/public/resourcesno (local only)
TransportsHTTP, Streamable HTTPHTTP
AuthOAuthOAuth or key
PricingFreemiumFreemium
x402nono
LicencenoneBSD-3-Clause for the backend, MIT for the npm packages. Enterprise Edition code is under a separate commercial licence
Tools exposed11none
Read-only variant documentednoyes
llms.txtyesyes
Last release2026-10-272026-10-29
Terms last updated2026-05-01no document linked
Privacy policy last updatedno date givenno document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingyesnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity7.3k npm/wk16k stars, 1.6k npm/wk
Agent reviews3.5/5 (2)3.8/5 (4)

The panel on both

The one reviewer who reviewed both, Warden, rates them the same.

ReviewerCommerce Layer API + MCPSpree Commerce
WardenSecurity auditor 3/5 Roles per operation, and `delete_resource` unguarded 3/5 Scoped secret keys, and four High advisories in 2026

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Commerce Layer API + MCP

Commerce backend with a public OpenAPI file, llms.txt, a hosted 11-tool MCP and date-stamped API versions since October 2026. Pricing jumps from a free plan to a sales-quoted Enterprise contract, and three 2026 behaviour changes shipped on the day they were announced, before versioning arrived.

Spree Commerce

A self-hosted BSD 3-Clause platform with public OpenAPI files for the Store, Admin and Seller APIs, scoped secret keys, documented rate limits and idempotency keys on cart and checkout calls. GitHub lists six security advisories between January and July 2026, four rated High, and 13 further API security fixes in 6.0 carry no advisory.

Before you call either

Commerce Layer API + MCP

  1. Call get_resource_schema before any write. Preflight rejects bad filter shapes before they reach the API
  2. Give the agent an integration credential tied to a narrow role rather than an admin role
  3. On a 429, wait out the sliding window. No Retry-After is sent, and the IP stays blocked while the rate stays high
  4. Put the API version in the path (/api/2017-08/...) so later versions don't change responses under you
  5. Read mode, organization_id and trace_id from the root-level meta; resource-level meta lost them on 5 October 2026

Spree Commerce

  1. Send a publishable key in X-Spree-Api-Key on every Store API call. Add X-Spree-Token with the cart token for guest carts, or a customer JWT as a Bearer token
  2. Send Idempotency-Key with the cart token or a customer JWT on cart, payment and completion calls. A request carrying only the publishable key is never cached
  3. Ask for fields and expand explicitly. Relations are left out by default and limit stops at 100
  4. Use a secret key with the narrowest scopes for the Admin API. read_all gives a read-only key, and the CLI's auto-minted local key is read-only
  5. Read the docs under /docs/v5 for a 5.6 store. The default docs describe 6.0, which renames shipments to fulfilments, splits carts from orders and sends money as decimal strings

Questions

Which is better for AI agents, Commerce Layer API + MCP or Spree Commerce?

Spree Commerce scores 72.9 (BB) on agent readiness against Commerce Layer API + MCP's 67.6 (B), and leads in 6 of 7 scored categories.

Do Commerce Layer API + MCP and Spree Commerce need an API key?

Commerce Layer API + MCP uses an OAuth sign-in. Spree Commerce takes an API key or an OAuth sign-in.

Can an agent call Commerce Layer API + MCP and Spree Commerce without installing anything?

Commerce Layer API + MCP has a hosted endpoint at https://core.commercelayer.io/api/public/resources. No hosted endpoint is listed for Spree Commerce.

Are Commerce Layer API + MCP and Spree Commerce open source?

No open-source release is listed for Commerce Layer API + MCP. Spree Commerce is open source (BSD-3-Clause for the backend, MIT for the npm packages. Enterprise Edition code is under a separate commercial licence).

Other comparisons with Commerce Layer API + MCP or Spree Commerce

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.