---
description: Introduction to the Agentic B2C Developer Toolkit — CLI, Agent Skills, MCP Server, IDE extension, and SDK for Salesforce B2C Commerce.
---

# Introduction

The Agentic B2C Developer Toolkit helps you and your AI assistant build, deploy, and operate Salesforce B2C Commerce from your terminal or IDE.

- **B2C CLI** — commands for cartridge deployment, jobs, sandboxes, Managed Runtime, WebDAV, and administration.
- **MCP Server** — documentation, skills, debugging, deployment, and B2C Commerce API access for your AI assistant.
- **Agent Skills** — B2C Commerce, B2C CLI, and Storefront Next guidance, included with the MCP or available as standalone plugins.
- **IDE Extension** — sandbox management, cartridge code sync, content libraries, SCAPI explorer, and a server-side script debugger.
- **Tooling SDK** — typed TypeScript APIs for custom integrations and automation.

## CLI Install

::: code-group

```bash [npm]
npm install -g @salesforce/b2c-cli
```

```bash [npx]
npx @salesforce/b2c-cli --help
```

```bash [Homebrew]
brew install salesforcecommercecloud/tools/b2c-cli
```

:::

See the [CLI Installation Guide](./installation) for more options and [Configuration](./configuration) to set up your projects and instances.

## MCP Install

Choose your assistant. Use the **B2C MCP plugin** where supported.

<AssistantInstall>

<template #claude>

**Install the plugin** <span class="recommended VPBadge">Recommended</span>

```bash
claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
claude plugin install b2c-dx-mcp@b2c-developer-tooling --scope project
```


Start a new Claude Code session in your project. Use `--scope user` instead for all projects.

<details class="details custom-block" data-setup-anchor="claude-manual">
<summary>Manual MCP setup</summary>

From your project directory:

```bash
claude mcp add --transport stdio --scope project b2c-dx-mcp -- npx -y @salesforce/b2c-dx-mcp@latest
```

Start a new session. Use `--scope user` instead for all projects.
See [Claude Code MCP setup](https://code.claude.com/docs/en/mcp).

</details>

[Claude Desktop setup](/mcp/#claude-desktop)


</template>
<template #codex>

**Install the plugin** <span class="recommended VPBadge">Recommended</span>

```bash
codex plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
codex plugin add b2c-dx-mcp@b2c-developer-tooling
```


Start a new Codex session in your project. This setup also works with the Codex
IDE extension and the ChatGPT Work desktop app.

<details class="details custom-block" data-setup-anchor="codex-manual">
<summary>Manual MCP setup</summary>

```bash
codex mcp add b2c-dx-mcp -- npx -y @salesforce/b2c-dx-mcp@latest
```

Or add this to `~/.codex/config.toml` (or `$CODEX_HOME/config.toml` if customized):

```toml
[mcp_servers.b2c-dx-mcp]
command = "npx"
args = ["-y", "@salesforce/b2c-dx-mcp@latest"]
```

Start a new session. See [Codex MCP configuration](https://developers.openai.com/codex/mcp/).

</details>

[ChatGPT online setup](/mcp/#chatgpt)


</template>
<template #copilot>

<McpInstallButtons client="vscode" />

**Install the plugin** <span class="recommended VPBadge">Recommended</span>

1. Open the Command Palette (`Cmd/Ctrl+Shift+P`) and run **Chat: Install Plugin from Source**.
2. Enter `SalesforceCommerceCloud/b2c-developer-tooling`.
3. Select **b2c-dx-mcp** and follow the installation prompts.
4. Start a new chat in GitHub Copilot.

<details class="details custom-block" data-setup-anchor="vscode-manual">
<summary>Manual MCP setup</summary>

Add this to `.vscode/mcp.json` in your workspace:

```json
{
  "servers": {
    "b2c-dx-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@salesforce/b2c-dx-mcp@latest"]
    }
  }
}
```

See [VS Code MCP setup](https://code.visualstudio.com/docs/copilot/customization/mcp-servers).

</details>

[Copilot CLI setup](/mcp/#copilot-cli)


</template>
<template #cursor>

<McpInstallButtons client="cursor" />

Reload the MCP server in Cursor after installation.

<details class="details custom-block" data-setup-anchor="cursor-manual">
<summary>Manual MCP setup</summary>

Add this to `.cursor/mcp.json` in your project:

```json
{
  "mcpServers": {
    "b2c-dx-mcp": {
      "command": "npx",
      "args": ["-y", "@salesforce/b2c-dx-mcp@latest"]
    }
  }
}
```


For all projects, use `~/.cursor/mcp.json` instead.

</details>

See [Cursor's MCP documentation](https://cursor.com/docs/context/mcp).


</template>
<template #opencode>

Add this to `opencode.json` in your project:

```json
{
  "mcp": {
    "b2c-dx-mcp": {
      "type": "local",
      "command": ["npx", "-y", "@salesforce/b2c-dx-mcp@latest"],
      "enabled": true
    }
  }
}
```

Restart OpenCode. For all projects, use `~/.config/opencode/opencode.json`.
See [OpenCode MCP setup](https://opencode.ai/docs/mcp-servers/).


</template>
<template #gemini>

From your project directory, run:

```bash
gemini mcp add --scope project b2c-dx-mcp -- npx -y @salesforce/b2c-dx-mcp@latest
```

Start a new Gemini CLI session. Use `--scope user` instead for all projects.
See [Gemini CLI MCP setup](https://geminicli.com/docs/tools/mcp-server/).


</template>


</AssistantInstall>


Start a new session in your project. For **Copilot in VS Code**, other clients,
and manual setup, see [installation](../mcp/#setup).

Documentation and skills work immediately without B2C Commerce credentials.
Connected tasks use your [existing B2C configuration](../mcp/configuration).

The MCP includes the B2C Commerce, B2C CLI, and Storefront Next skills from our
[agent skills plugins](./agent-skills). No need to install those skills plugins separately.

## IDE Extension Install

The Salesforce B2C Commerce IDE Extension brings sandbox management, code sync, content libraries, the SCAPI explorer, and a server-side debugger into VS Code, Cursor, and other compatible editors. Open the Extensions view in your editor and search for **Salesforce B2C Commerce** — VS Code installs from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=Salesforce.b2c-vs-extension), while Cursor, VSCodium, Windsurf, and other VS Code–compatible editors install from the [Open VSX Registry](https://open-vsx.org/extension/salesforce/b2c-vs-extension).

See the [IDE Extension](/vscode-extension/) section for the full overview, [installation](/vscode-extension/installation), and [configuration](/vscode-extension/configuration).

## Next Steps

- [Authentication](./authentication) — Set up credentials for connected tasks.
- [Configuration](./configuration) — Configure projects and named instances.
- [Guides](./workflows) — Find development, deployment, and administration workflows.
- [CLI Reference](../cli/) — Browse commands and options.
- [MCP Tools](../mcp/toolsets) — Explore available tools and toolsets.
- [SDK](../api/) — Build custom integrations.
