b2c-mrt

Installation
SKILL.md

B2C MRT Skill

Use the b2c CLI to manage Managed Runtime (MRT) projects, environments, bundles, and deployments for PWA Kit storefronts.

Tip: If b2c is not installed globally, use npx @salesforce/b2c-cli instead (e.g., npx @salesforce/b2c-cli mrt bundle deploy).

Configuration & Authentication

The CLI auto-discovers the MRT API key from SFCC_MRT_API_KEY, ~/.mobify, dw.json, package.json, and configuration plugins. Project and environment defaults can come from dw.json (mrtProject, mrtEnvironment) or env vars. Flags like --api-key, -p, and -e are usually unnecessary when defaults are configured — only pass them to override.

Run b2c setup inspect to see the resolved configuration and which source provided each value (use --json for scripting, --unmask to reveal secrets). For precedence rules and troubleshooting, see the b2c-cli:b2c-config skill.

Command Structure

Installs
83
GitHub Stars
45
First Seen
Feb 11, 2026
b2c-mrt — salesforcecommercecloud/b2c-developer-tooling