Spree Commerce
Lets your AI agent manage a Spree online store in plain language through a local MCP server.
16k stars on GitHubby Spree CommerceLicense BSD-3-ClauseUpdated 18 days ago
How to install
This MCP is remote: it runs in the cloud.
Nothing to install. Copy the address and paste it into your AI app:
Server address
https://<store_domain>/api/v3/admin/mcp
- βΊClaude (site or app): Settings β Connectors β Add custom connector.
- βΊChatGPT: Settings β Apps β Create app (developer mode), and paste the address.
- βΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.
Paste in the terminal:
claude mcp add --transport http ecommerce-b2b-marketplace https://<store_domain>/api/v3/admin/mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Show me this week's orders and which ones are not shipped.
Add a volume price list for my wholesale customers.
What it is
Spree is an open-source ecommerce platform for B2B, wholesale, marketplaces and headless stores, with a REST API, an admin dashboard and a Next.js storefront. New Spree stores include a local MCP server that connects to Claude, ChatGPT or any LLM so you can manage the store by chat.
What it can do
- Manage store through natural language (local MCP server)
- Spree CLI: call the Admin API with
spree api get/post - Docs MCP server to search the latest Spree docs
- Agent skills for Claude Code, Codex, Cursor and Copilot
When to use
- βΊWhen you run a Spree store and want to manage it by chatting with your agent.
- βΊWhen you build a marketplace or B2B store and want your agent to know Spree's conventions.
- βΊWhen you want your agent to search the Spree docs while coding.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
seo-ecommerceHelps your agent review product pages for search, check product schema data and compare Shopping and marketplace visibility for online stores.ecommerce-image-workflowEnables the agent to generate e-commerce product images from photos. It's useful for creating a consistent set of high-quality product images.ecommerce-listing-image-setInstalls and uses an e-commerce product image package. It's useful for paid work on hosted services.Frequently asked questions
Is it free and open source?
Yes, it is BSD 3-Clause licensed. Multi-tenant SaaS needs the paid Enterprise Edition.
How do I try it?
Use the free sandbox at console.spree.sh, or run npx create-spree-app@latest my-store.
What does the MCP server do?
It is a local server you connect to Claude, ChatGPT or any LLM to manage your store using natural language.
Which payments are included?
Stripe, Adyen and PayPal ship with it, and you can add your own provider.
Can I add AI tooling to an existing project?
Yes, run spree add ai to add the agent skills and docs MCP server.
What can it be used for besides retail?
The readme lists marketplaces, B2B and wholesale, headless and omnichannel selling, and cross-border commerce.
If it does not work
- βΊCheck that Node.js 24 or newer is installed and Docker is running before create-spree-app.
- βΊIf setup fails, follow the installation docs at spreecommerce.org/docs.
- βΊRestart your AI client fully after adding the MCP server.
5 new skills a week. 1 minute to read.