Introduction
Official developer hub for the native Go xclade Commerce Platform
Welcome to xclade Docs
xclade is a cloud-native commerce platform engineered in Go 1.26. Every store provisions into its own dedicated Kubernetes compute pod and isolated PostgreSQL database—delivering predictable sub-50ms execution, zero noisy neighbors, and 0% transaction fees.
Instead of stitching together fragile plugins, every capability is compiled directly into your store binary and exposed across four clean surfaces:
- Storefront & B2B GraphQL (
POST /graphql) — 53 queries and 45 mutations across 22 commerce domains with DataLoader batching, Automatic Persisted Queries, and Redis response caching. - Merchant Admin GraphQL (
POST /admin/graphql) — 31 queries and 65 mutations for catalog, pricing, WMS warehouse bins & cycle counts, orders, B2B quotes/approvals, RBAC, analytics, ERP sync, and SSE. - Remote MCP & Agentic Commerce (
/mcp,/mcp/store, UCP, ACP, A2A) — OAuth 2.1 Streamable HTTP/SSE servers for AI operations and buyer agents. - Control Plane API (
https://api.xclade.com) — Root-mounted REST API for organizations, store lifecycle, snapshots, Storefront Studio, and Growth Studio.
Explore the Platform
Storefront & B2B GraphQL
Catalog, contextual pricing, carts, Stripe/Authorize.Net checkout, ID Rabbit verification, OTP login, and B2B quotes/approvals.
Merchant Admin GraphQL
Back-office queries and mutations protected by RBAC directives, WMS inventory tools, price-list debugger, and batch importers.
TypeScript SDK (@xclade/sdk)
Zero-dependency pure GraphQL SDK v2 covering both Storefront and Admin APIs with typed error handling.
Remote MCP Servers
Connect Claude, Cursor, Windsurf, or custom agents to 45+ Admin tools on /mcp or 8 buyer tools on /mcp/store.
Agentic Commerce
Built-in support for Google UCP, OpenAI ACP, A2A, WebMCP, llms.txt, AP2 mandates, x402, and RFC 9421 Web Bot Auth.
Storefront Studio & TSX
Visual storefront builder, custom React/Tailwind section components, and Git-backed template publishing.
Growth Studio
Visual email studio, AI architect, automation flows, RFM segments, and mandatory 2048-bit RSA DKIM custom sending domains.
Control Plane API
Root-mounted API at https://api.xclade.com for orgs, stores, snapshots, billing, migrations, and studios.
60-Second Quick Start
1. Install @xclade/sdk
pnpm add @xclade/sdk2. Query your store's GraphQL endpoint
Every store serves Storefront & B2B GraphQL at https://{shortId}.api.myxclade.com/graphql:
import { createXcladeSDK } from '@xclade/sdk';
const xclade = createXcladeSDK({
baseUrl: 'https://{shortId}.api.myxclade.com',
publishableKey: 'pk_live_...',
});
const { products, count } = await xclade.store.listProducts({
limit: 12,
currency_code: 'usd',
});Or call POST /graphql directly with curl:
curl -X POST https://{shortId}.api.myxclade.com/graphql \
-H "Content-Type: application/json" \
-H "X-Xclade-Publishable-Key: pk_live_..." \
-H "X-Xclade-Request: true" \
-d '{
"query": "query GetProducts($currency: String!) { products(limit: 5, pricing_context: { currency_code: $currency }) { products { id title handle variants { id sku inventory_quantity calculated_price { calculated_amount currency_code } } } count } }",
"variables": { "currency": "usd" }
}'Service Base URLs
| Surface | Base URL | Protocol |
|---|---|---|
| Control Plane API | https://api.xclade.com (root-mounted) | JSON REST + OAuth 2.1 + Platform MCP |
| Store Backend | https://{shortId}.api.myxclade.com | Go GraphQL (/graphql, /admin/graphql), Remote MCP (/mcp, /mcp/store), Agentic Commerce, Webhooks |
| Merchant Console | https://app.xclade.com | Workspace, Storefront Studio, Growth Studio, Billing, Domains |
| Store Admin Console | https://{shortId}.api.myxclade.com/app | Embedded Store Operations Console + GraphiQL Playground |
| Hosted Storefront | https://{shortId}.myxclade.com or your custom domain | Next.js Edge Storefront Fleet |
AI Coding Assistants
Point Claude, Cursor, Windsurf, or Antigravity at our LLM-ready endpoints:
/llms.txt— Structured table of contents/llms-full.txt— Complete single-file Markdown documentation bundle