# Salesforce B2C Commerce Tooling MCP server

> Provides a command line interface, SDK, and MCP server to manage Salesforce B2C Commerce developer operations and agent skills.

- Repository: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling
- Page: https://hostedmcp.org/servers/salesforcecommercecloud/b2c-developer-tooling
- Transport: stdio
- Stars: 58
- License: Apache-2.0

## Install

### Claude Code

```sh
claude mcp add b2c-developer-tooling -- npx -y @salesforce/b2c-dx-mcp
```

### Cursor (`~/.cursor/mcp.json`)

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

### VS Code (`.vscode/mcp.json`)

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

### VS Code CLI

```sh
code --add-mcp '{"name":"b2c-developer-tooling","type":"stdio","command":"npx","args":["-y","@salesforce/b2c-dx-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

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

### Codex

```sh
codex mcp add b2c-developer-tooling -- npx -y @salesforce/b2c-dx-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

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

### Gemini CLI

```sh
gemini mcp add -s user b2c-developer-tooling npx -- -y @salesforce/b2c-dx-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

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

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `B2C_INSTANCE` | no | no |  |

## FAQ

### How do I install the B2C Commerce agent skills in Claude Code?

You can install them by running the following commands in chat: /plugin install b2c-cli@b2c-developer-tooling, /plugin install b2c@b2c-developer-tooling, and /plugin install b2c-dx-mcp@b2c-developer-tooling.

### What packages are included in this monorepo?

The project includes b2c-cli (a command line interface), b2c-tooling-sdk (an SDK for B2C Commerce operations), and b2c-dx-mcp (an MCP server for developer experience tools).

### What authentication strategies does the SDK support?

The SDK supports OAuth, API Key, and Basic authentication strategies.
