Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

Introduction

The B2C Developer Tooling provides command-line and AI-assisted development tools for Salesforce B2C Commerce.

  • B2C CLI: Command-line interface that you can use to deploy code, manage sandboxes, run jobs, and so on from the terminal.
  • MCP Server: AI-assisted development tools for Claude Code, Cursor, GitHub Copilot, and other AI assistants.

Quick CLI Install

bash
npm install -g @salesforce/b2c-cli
bash
npx @salesforce/b2c-cli --help
bash
brew install SalesforceCommerceCloud/tools/b2c-cli

See the CLI Installation Guide for more installation options.

Quick MCP Install

The B2C DX MCP Server enables AI assistants to help with B2C Commerce development tasks.

Claude Code:

bash
cd /path/to/your/project
claude mcp add --transport stdio --scope project b2c-dx -- npx -y @salesforce/b2c-dx-mcp --allow-non-ga-tools
bash
claude mcp add --transport stdio --scope user b2c-dx -- npx -y @salesforce/b2c-dx-mcp --allow-non-ga-tools

Cursor: Add to Cursor

See the MCP Server Installation Guide for detailed setup instructions for Claude Code, Cursor, GitHub Copilot, and other MCP clients.

Next Steps

Released under the Apache-2.0 License.