Skip to content

Commit 66b715d

Browse files
committed
update quick start install
1 parent 65b0dbc commit 66b715d

2 files changed

Lines changed: 27 additions & 36 deletions

File tree

docs/guide/index.md

Lines changed: 26 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ The B2C Developer Tooling provides command-line and AI-assisted development tool
1111

1212
## Quick CLI Install
1313

14-
::: code-group
15-
1614
```bash [npm]
1715
npm install -g @salesforce/b2c-cli
1816
```
@@ -25,56 +23,49 @@ npx @salesforce/b2c-cli --help
2523
brew install SalesforceCommerceCloud/tools/b2c-cli
2624
```
2725

28-
:::
29-
3026
See the [CLI Installation Guide](./installation) for more installation options.
3127

3228
## Quick MCP Install
3329

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

36-
::: code-group
32+
### Claude Code (Project Scope)
3733

38-
```bash [Claude Code]
39-
cd /path/to/your/project
34+
1. Open your project root in Claude Code.
35+
2. Install the plugin marketplace entry:
36+
37+
```bash
4038
claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
4139
claude plugin install b2c-dx-mcp --scope project
4240
```
4341

44-
```bash [Cursor]
45-
cd /path/to/your/project
46-
mkdir -p .cursor
47-
cat > .cursor/mcp.json <<'EOF'
48-
{
49-
"mcpServers": {
50-
"b2c-dx-mcp": {
51-
"command": "npx",
52-
"args": ["-y", "@salesforce/b2c-dx-mcp@latest", "--allow-non-ga-tools"]
53-
}
54-
}
42+
### Cursor (Project Scope)
43+
44+
1. Open your project root.
45+
2. Create or edit `.cursor/mcp.json`.
46+
3. Add this entry under `mcpServers` (merge with existing config, do not replace the full file):
47+
48+
```json
49+
"b2c-dx-mcp": {
50+
"command": "npx",
51+
"args": ["-y", "@salesforce/b2c-dx-mcp@latest", "--allow-non-ga-tools"]
5552
}
56-
EOF
5753
```
5854

59-
```bash [GitHub Copilot]
60-
cd /path/to/your/project
61-
mkdir -p .vscode
62-
cat > .vscode/mcp.json <<'EOF'
63-
{
64-
"servers": {
65-
"b2c-dx-mcp": {
66-
"type": "stdio",
67-
"command": "npx",
68-
"args": ["-y", "@salesforce/b2c-dx-mcp@latest", "--allow-non-ga-tools"]
69-
}
70-
},
71-
"inputs": []
55+
### GitHub Copilot (Project Scope)
56+
57+
1. Open your project root.
58+
2. Create or edit `.vscode/mcp.json`.
59+
3. Add this entry under `servers` (merge with existing config, do not replace the full file):
60+
61+
```json
62+
"b2c-dx-mcp": {
63+
"type": "stdio",
64+
"command": "npx",
65+
"args": ["-y", "@salesforce/b2c-dx-mcp@latest", "--allow-non-ga-tools"]
7266
}
73-
EOF
7467
```
7568

76-
:::
77-
7869
See the [MCP Server Installation Guide](/mcp/installation) for full setup steps and troubleshooting.
7970

8071
## Next Steps

docs/mcp/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Configure the B2C DX MCP Server with credentials, flags, environmen
44

55
# Configuration
66

7-
The MCP server works with a minimal `mcp.json` — credentials and project settings are typically managed in your project's `dw.json` or `.env` file. You can also pass flags and environment variables directly in `mcp.json` if needed.
7+
The B2C DX MCP Server uses the same configuration system as the B2C CLI.
88

99
See the [CLI Configuration guide](../guide/configuration) and [Authentication Setup guide](../guide/authentication) for credential formats and setup details.
1010

0 commit comments

Comments
 (0)