Read the code
The full marketplace engine – MIT-licensed, and yours to run. Built on Medusa, so any Node.js developer can clone it, ship it, and extend it.
git clone github.com/mercurjs/mercur
Cloning into 'mercur'...
cat SECURITY.md
Report privately · safe harbor · coordinated disclosure
secret-scanning ✓ Dependabot ✓ CodeQL ✓
bun run dev# your infra
api :9000 · admin /dashboard · vendor /seller
Everything a marketplace runs on
Open source · MIT
Mercur Open Source
The complete standalone marketplace engine – MIT-licensed and public. Test it, build on it, or launch a simpler marketplace yourself.
- MIT-licensed and public
- Complete standalone marketplace engine
- See the code, architecture, and quality
Enterprise
Mercur Enterprise
Everything in open source, plus the production layer for a business that's actually operating – payments, compliance, trust, integrations, and support. Full source for licensees.
- Financial control & settlement
- Compliance & data residency
- Trust, security & audit
- Integrations to your stack
- Enterprise support & SLA
MIT-licensed, and the core stays MIT.
Fork it, ship it, keep it. No relicense, no rug-pull.
Runs on the stack your team knows
Mercur is a set of Medusa v2 modules and plugins on Node.js and PostgreSQL.
What runs in Core
Extend it without a fork
Add to the engine through a typed API across three scopes, registry blocks you copy into your own repo, a dashboard SDK, events, and custom fields – your changes live in your layer, and upgrades leave them intact.
# Admin, vendor and storefront scopesGET /admin/sellersPOST /vendor/offersPATCH /vendor/offers/:idGET /store/offers?product_id=prod_01H8...A generated API reference is on the way; today the typed client gives you the contracts.
Works with your coding agents
We publish AI-readable docs and run an MCP server. Your coding tools query the engine directly.
Inspect the controls yourself
Secret scanning, dependency updates, and a disclosure policy live in the same public repository.
# Security Policy
Report privately to security@mercurjs.com.
Safe harbor for good-faith research.
Coordinated disclosure – no public report before a fix ships.
Where to get help
When you take it to production
Core runs the marketplace. Running one at scale, under audit, across regions adds a layer – settlement, enforced access, integrations, and support. That layer is Enterprise.
| In open source | Enterprise adds |
|---|---|
| The 3P marketplace engine | A settlement ledger, statements, and exports |
| Auth and per-vendor isolation | SSO, enforced roles, and an audit trail |
| A self-hostable stack | On-prem delivery and reference architecture |
| Community support | SLAs and direct access |
Start with the code
Clone it, run it locally, and see how it fits together.