Spree Commerce: open-source B2B and marketplace ecommerce
MCP server by spree Community
Spree is an open-source headless commerce platform with a built-in MCP server. The MCP server lets Claude, ChatGPT, Cursor or other MCP clients manage a store in natural language, within permissions you approve. It is aimed at teams building marketplaces, B2B and wholesale stores.
Install Spree Commerce: open-source B2B and marketplace ecommerce
Built from the published package, never by AI.
claude mcp add --transport http spree-commerce-open-source-b2b-and-marke https://{store_domain}/api/v3/admin/mcpRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install Spree Commerce: open-source B2B and marketplace ecommerce in Claude Code
{
"mcpServers": {
"spree-commerce-open-source-b2b-and-marke": {
"url": "https://{store_domain}/api/v3/admin/mcp"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Spree Commerce: open-source B2B and marketplace ecommerce in Claude Desktop
{
"mcpServers": {
"spree-commerce-open-source-b2b-and-marke": {
"url": "https://{store_domain}/api/v3/admin/mcp"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
Step-by-step: install Spree Commerce: open-source B2B and marketplace ecommerce in Cursor
{
"servers": {
"spree-commerce-open-source-b2b-and-marke": {
"url": "https://{store_domain}/api/v3/admin/mcp"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
Step-by-step: install Spree Commerce: open-source B2B and marketplace ecommerce in VS Code
{
"mcpServers": {
"spree-commerce-open-source-b2b-and-marke": {
"serverUrl": "https://{store_domain}/api/v3/admin/mcp"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Spree Commerce: open-source B2B and marketplace ecommerce in Antigravity CLI
https://{store_domain}/api/v3/admin/mcpIn ChatGPT: Settings, Connectors, Add custom connector, then paste this URL. Works in any client that supports remote servers.
Step-by-step: install Spree Commerce: open-source B2B and marketplace ecommerce in ChatGPT
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the spree-commerce-open-source-b2b-and-marke block.
About
Spree is an open-source headless commerce platform licensed under BSD 3-Clause. It provides REST APIs, TypeScript SDKs, a React admin dashboard and a Next.js storefront. Its MCP server is built into the backend and lets Claude, ChatGPT, Cursor or any MCP client manage a store in natural language, limited to the permissions you approve. The Spree CLI can also call the Admin API directly for scripts and AI agents.
Teams use Spree for multi-vendor marketplaces, B2B and wholesale channels, headless direct-to-consumer selling, cross-border commerce and omnichannel retail. The source also describes agent skills for coding agents and a documentation MCP server, which is set up automatically when you run npx create-spree-app. Spree suits developers and merchants who want to keep ownership of their code, data and infrastructure.
Written from the project's README and checked against it.
What you need
- Node.js 24+
- Git
- Docker
Try asking
- Ask Claude to manage my Spree store in natural language through the MCP server
- Ask Cursor to search the Spree documentation while I customize my checkout
- Ask my MCP client to review store settings within the permissions I approved
Good to know
- MCP actions are limited to the permissions you approve.
- Multi-tenant SaaS features require the Enterprise Edition.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Manage a online store through chat
- Build B2B and wholesale channels
- Run a multi-vendor marketplace
Alternatives to Spree Commerce: open-source B2B and marketplace ecommerce
All alternatives →Spree Commerce documentation for AI coding agents, covering headless B2B and marketplace ecommerce built on its APIs. It lets agents search the latest Spree docs and manage a store through an MCP server.
Spree CLI manages Spree Commerce projects from the terminal, including running the Docker image locally, generators and API keys. It also acts as an Admin API client for scripts and AI agents. It is aimed at developers building on the open-source headless commerce platform.
Any Agent Client Protocol agent as an AgentRun harness: the agent over stdio in a private HOME, the host's tools as one loopback MCP server, its permission asks through the host's gate, durable in AgentRun's own store.
Crossly provides MCP servers that give an AI agent Crossly's seller and buyer APIs as tools. It is for resellers who list items to several marketplaces and manage their stores.
A command line tool for setting up Shopify Dev MCP server
Lets an AI agent design, fill with real store data, render and publish pages for a Store Builder site. It runs as a local MCP stdio server with no manual clicking needed.
Compare with Spree Commerce developer docs for AI agents, Spree CLI or Agentrun Harness Acp
Spree Commerce: open-source B2B and marketplace ecommerce: common questions
Does Spree have an MCP server?
Yes. The MCP server is built into the Spree backend and lets Claude, ChatGPT, Cursor or any MCP client manage your store in natural language.
Is Spree open source?
Yes. Spree is open source and licensed under BSD 3-Clause, and the source says you keep full ownership of your code, data and infrastructure.
What kinds of stores can Spree build?
The source says Spree is used for multi-vendor marketplaces, B2B and wholesale channels, headless DTC, cross-border and omnichannel selling.
How do I install Spree Commerce: open-source B2B and marketplace ecommerce?
In Claude Code run claude mcp add --transport http spree-commerce-open-source-b2b-and-marke https://{store_domain}/api/v3/admin/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Spree Commerce: open-source B2B and marketplace ecommerce the official server?
Spree Commerce: open-source B2B and marketplace ecommerce is a community project by spree, not verified by a company domain.
Is Spree Commerce: open-source B2B and marketplace ecommerce free?
The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.
Is Spree Commerce: open-source B2B and marketplace ecommerce safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Spree Commerce: open-source B2B and marketplace ecommerce?
Similar MCP servers: Spree Commerce developer docs for AI agents, Spree CLI, Agentrun Harness Acp, Crossly.
Does Spree Commerce: open-source B2B and marketplace ecommerce work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
