Spree Commerce developer docs for AI agents

السجل الرسمي أدوات المطورين

Spree Commerce docs for AI coding agents: build headless B2B and marketplace ecommerce on its APIs.

ماذا يمكنك أن تفعل مع Spree Commerce developer docs for AI agents؟

  • REST API & TypeScript SDKs — a REST API for storefronts, admins and sellers, with publishable keys, scoped secret keys, rate limiting and an OpenAPI 3.0 spec. Each provide their own ...
  • React Admin Dashboard — a Vite + React application built on TanStack Router and Query, shadcn/ui and Tailwind. Own it and customize without forking: [change navignation](https://spreecommerc...
  • Next.js Storefront — open-source storefront built with Next.js 16, React 19, Tailwind CSS 4, and TypeScript. Full shopping experience, multi-region URL routing, Stripe payments (Apple Pay, Google Pay, Klarna, Affir...
  • Spree CLI — manage projects from the terminal (boot, generate, migrate, upgrade) and call the Admin API directly with spree api get/post/... — zero-config in local dev, built for scripts and A...
  • MCP Server — a local server that you can connect to Claude, ChatGPT, or any LLM to fully manage your store via natural language.
  • Marketplace & Payouts — seller onboarding with a configurable requirements checklist, per-seller order splitting, a [commission engine](https://spreecommerce.org/docs/developer/core-conce...
  • B2B & Wholesale — price lists with volume tiers and negotiated rates, [customer groups](https://spreecommerce.org/docs...
  • Payments — provider-agnostic payment sessions that finish reliably even when a tab closes. Ships with Stripe, [Adyen](https...

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http spree-commerce-developer-docs-for-ai-age 'https://spreecommerce.org/docs/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "spree-commerce-developer-docs-for-ai-age": {
            "type": "http",
            "url": "https://spreecommerce.org/docs/mcp"
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Use Cases
  2. Getting Started
  3. Features
  4. Deployment
  5. Community & Contributing
  6. Spree Enterprise Edition
  7. License

Website · Next.js Storefront · Documentation · Free Sandbox · API · Roadmap · Discord

Build commerce the way you want it. Spree is an open-source commerce platform with a complete REST API, TypeScript SDKs, a React admin dashboard, and a production-ready Next.js storefront. BSD 3-Clause licensed — keep full ownership of your code, data, and infrastructure.

Teams use Spree to build multi-vendor marketplaces and B2B and wholesale channels, as well as headless DTC, cross-border and omnichannel selling — all from one set of commerce primitives, and all alongside the ERP, PIM, and payment systems you already run.

Use AI agents to build your ecommerce business. Spree ships with a collection of agent skills for coding agents and a local MCP server that allows your to manage your store via chat.

Use Cases

Spree ships commerce primitives, so the same core serves very different businesses.

Multi-vendor Marketplace

Seller onboarding with configurable requirement checklists, orders split per seller at completion, a flexible commission engine, a payout ledger with Stripe Connect, and a dedicated Seller Panel. All in the open-source core.

B2B & Wholesale

Price lists with volume tiers, customer groups, companies with locations, contacts and tax exemptions, catalogs for per-segment assortments, and storefronts gated to approved buyers.

Headless & Omnichannel

Run web storefronts, mobile apps, points of sale, B2B panels and marketplaces off one backend. Channels give each surface its own catalog, pricing, payment methods and order attribution.

The Next.js storefront is one such surface — production-ready, open source, built with Next.js 16, React 19 and TypeScript. Fork it, customize it, deploy it. Try the live demo

Cross-border Commerce

Markets bundle currency, language, payment methods and shipping per region, so each customer sees a localized storefront from a single platform. Translations for product content, EU Omnibus price history and customs duties are built in.

Multi-tenant SaaS Enterprise

Run a SaaS platform where each tenant gets its own isolated store — catalog, orders, customers, payment methods and branding — with staff able to manage several tenants. Requires the Enterprise Edition.

Getting Started

Try it in a sandbox

The fastest way to see Spree is a free sandbox: a hosted store with the admin dashboard and APIs, ready in your browser. Nothing to install — sign in, click Create store, and explore.

Install locally

Copy and paste the following command to your terminal to set up Spree locally in 5 minutes:

npx create-spree-app@latest my-store

This sets up the Spree backend, the React Admin Dashboard, and optionally the Next.js storefront in a monorepo. The storefront is built with Next.js 16, React 19, Tailwind CSS 4, and TypeScript. Admin dashboard uses Vite and TanStack.

You need Node.js 24+ installed and Docker running. Learn more in the installation docs.

Agentic Development

Spree comes with agent skills, which teach Claude Code, Codex, Cursor, Copilot and 60+ other tools Spree's conventions, customization patterns and upgrade flows. It also connects Claude Code, Cursor and VS Code to the documentation MCP server, so your agent can search the latest docs. This is automatically setup for you when you run npx create-spree-app and can be added to existing projects with spree add ai. See the Agentic Development docs for more details.

Features

Everything below ships in this repository under the BSD 3-Clause license.

Deployment

The Spree backend can be deployed anywhere — cloud, on-prem or VPS. We provide official Docker images and Dockerfiles, so you can use AWS, Azure, GCP, Render, Railway, Fly.io, Heroku, or any other Docker-compatible host. The Next.js storefront can be deployed to Vercel, Netlify, or any Node.js host. See the Deployment Documentation for more details.

Community & Contributing

Spree is an open-source project, and we love contributions in any form — pull requests, issues, feature ideas.

Spree Enterprise Edition

Spree is built and maintained by a funded team behind the open-source project. Beyond the open-source core, we offer a paid Enterprise Edition for organizations that need additional modules and SLA-backed support.

Enterprise adds B2B approval workflows with role-based approval chains and ERP connectors, marketplace automations such as Shopify and WooCommerce seller sync and advanced reporting, multi-tenant SaaS — running many isolated tenant stores from one deployment, with a super-admin, tenant provisioning and white-label billing — audit logging and encryption at-rest, and SLA support with a dedicated success manager, LTS releases and 24/7 monitoring.

Everything else — the APIs, the SDKs, the dashboard, marketplace, B2B and cross-border — is in this repository. Enterprise Edition builds on the same BSD 3-Clause core, so your team keeps full ownership of the code, the data, and the infrastructure. Zero platform fees. Zero transaction fees.

Contact our Sales team for an Enterprise Edition demo, or join Discord to use the open-source edition with the community.

License

Spree Commerce core code in the spree/spree repository is released under the free, open-source BSD-3-Clause license (LICENSE).

If you like what you see, consider giving Spree a GitHub star ⭐

Thank you for supporting Spree open-source ❤️

الأسئلة الشائعة

ما هو Spree Commerce developer docs for AI agents؟

Spree Commerce docs for AI coding agents: build headless B2B and marketplace ecommerce on its APIs.

كيف أثبّت Spree Commerce developer docs for AI agents؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http spree-commerce-developer-docs-for-ai-age 'https://spreecommerce.org/docs/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Spree Commerce developer docs for AI agents إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل Spree Commerce developer docs for AI agents مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص BSD-3-Clause.

من يصون Spree Commerce developer docs for AI agents؟

ينشره spree. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.