Skip to content

Latest commit

 

History

History
115 lines (81 loc) · 4.63 KB

File metadata and controls

115 lines (81 loc) · 4.63 KB
description Introduction to the Agentic B2C Developer Toolkit — CLI, Agent Skills, MCP Server, VS Code extension, and SDK for Salesforce Agentforce Commerce.
<script setup> import {data as vsxRelease} from '../vscode-extension/release.data.ts'; </script>

Introduction

The Agentic B2C Developer Toolkit exposes the B2C Commerce platform as commands, MCP tools, and coding skills — so you and your AI agents can build, deploy, and operate storefronts from the terminal or directly inside your IDE. No clicking through Business Manager to deploy, no context-switching to run a job, no manual copy-paste when your agent needs to touch a live sandbox.

  • B2C CLI — a single command for every workflow: cartridge deploys, jobs, ODS/MRT, WebDAV, site archives, SLAS, eCDN, Account Manager, CI/CD.
  • Agent Skills — 30+ preconfigured skills that teach your coding agent (Claude Code, Cursor, Agentforce Vibes, Copilot, Codex) how B2C Commerce works — SCAPI Custom APIs, SLAS, SFRA controllers and forms, ISML, Page Designer, hooks, custom objects — and which CLI commands to run when.
  • MCP Server — a focused set of MCP tools that complement the CLI for agent-driven workflows.
  • VS Code Extension (Developer Preview) — sandbox management, cartridge code sync, content libraries, SCAPI explorer, and a server-side script debugger right inside VS Code.
  • Tooling SDK — everything the CLI does, available as a typed TypeScript SDK for custom integrations.

Quick CLI Install

::: code-group

npm install -g @salesforce/b2c-cli
npx @salesforce/b2c-cli --help
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:
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):
"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):
"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.

Quick VS Code Extension Install

The B2C DX VS Code Extension brings sandbox management, code sync, content libraries, the SCAPI explorer, and a server-side debugger into VS Code. It isn't on the Marketplace yet — install the latest pre-built .vsix from GitHub.

Latest version: {{ vsxRelease.version }} · Download {{ vsxRelease.vsixAssetName }} · Release notes

code --install-extension {{ vsxRelease.vsixAssetName }}
# or, in Cursor:
cursor --install-extension {{ vsxRelease.vsixAssetName }}

The extension hasn't shipped a release yet. Browse the GitHub releases page for b2c-vs-extension@* tags.

See the VS Code Extension section for the full overview, installation, and configuration.

Next Steps