Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
// The RFC 9728 document an MCP client reads before it has any credential,
// to discover which authorization server to send the merchant to. It is
// public and unauthenticated, so it is fetched directly rather than through
// the SDK.
// region:example
const response = await fetch('https://your-store.com/api/v3/oauth/protected-resource/admin')
const metadata = await response.json()
// endregion:example
export { metadata }