Build on a commerce
platform you can extend.
Mercentia is API-first from the data model up. Typed REST endpoints with RLS-enforced tenant isolation, idempotency on every mutating call, signed webhooks with at-least-once delivery, an MCP server that ships agentic checkout out of the box — and per-tool rate limits that fail loudly rather than silently.
"hl-k">import { Mercentia } "hl-k">from '@mercentia/sdk'
"hl-k">const sf = "hl-k">new Mercentia({ apiKey: "hl-k">process.env.SF_KEY })
"hl-k">const product = "hl-k">await sf.products.create({
title: 'Single-origin · Ethiopia Yirgacheffe',
vendor: 'Ember Roastery',
variants: [
{ sku: 'EMB-ETH-12OZ', price: 22.00, weight: 0.34 },
{ sku: 'EMB-ETH-2LB', price: 60.00, weight: 0.91 },
],
tags: ['single-origin', 'light-roast'],
})
"hl-k">console.log(product.id) "hl-c">// "prd_2WJ..."Typed REST + GraphQL
Every endpoint typed end-to-end, idempotent on writes, RLS-isolated per tenant. TypeScript client today (Python, Go & Ruby planned). GraphQL is in beta.
API referenceIdempotent webhooks
Signed (HMAC), retried with backoff, dead-lettered on terminal failure, and replayable. Test them locally with the Mercentia CLI before you ship.
Webhook guideCLI & local dev
Sign in, switch stores, pull and push themes with live reload, and scaffold apps — all from `npm i -g @mercentia/cli`.
CLI docsTypeScript SDK
A type-safe, tree-shaken storefront SDK with React bindings — serverless-ready. Python and Ruby SDKs are on the roadmap.
SDK guidesWorkflows API Coming soon
Trigger workflows from your code, run agent steps with shared memory, observe every run.
Workflows docsMCP server Beta
Expose your store to AI agents via the Model Context Protocol. Self-hostable. Run it anywhere.
Read MCP docsAn MCP server that turns your store into an AI tool.
The Mercentia MCP server lets Claude, ChatGPT, and any MCP-compatible agent search products, place orders, and run workflows on your behalf — securely scoped to your workspace.
- Tool-use compatible with Claude, OpenAI, and Anthropic Agent SDK
- Typed inputs and outputs for every commerce primitive
- Per-agent permissions with audit logs
- Self-hostable — run it on your own infrastructure
Build apps for Mercentia merchants.
We're opening the marketplace to developers soon. Build, list, and monetize apps while Mercentia handles billing, security review, and distribution — you focus on the product.
Start with a free workspace.
Scale it however you need.
Connect your existing Shopify, BigCommerce, Magento, Wix, or WooCommerce store in one click. We'll bring your catalog, customers, and order history across — and your URLs keep working via auto-generated 301s.