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 (Project Scope)

  1. Open your project root in Claude Code.
  2. Install the plugin marketplace entry:
bash
claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
claude plugin install b2c-dx-mcp --scope project

Cursor (Project Scope)

  1. Open your project root.
  2. Create or edit .cursor/mcp.json.
  3. Add this entry under mcpServers (merge with existing config, do not replace the full file):
json
"b2c-dx-mcp": {
  "command": "npx",
  "args": ["-y", "@salesforce/b2c-dx-mcp@latest", "--allow-non-ga-tools"]
}

GitHub Copilot (Project Scope)

  1. Open your project root.
  2. Create or edit .vscode/mcp.json.
  3. Add this entry under servers (merge with existing config, do not replace the full file):
json
"b2c-dx-mcp": {
  "type": "stdio",
  "command": "npx",
  "args": ["-y", "@salesforce/b2c-dx-mcp@latest", "--allow-non-ga-tools"]
}

See the MCP Server Installation Guide for full setup steps and troubleshooting.

Next Steps

Released under the Apache-2.0 License.