Skip to content

Commit 113e81e

Browse files
authored
@W-21420245 Update MCP docs (#236)
1 parent 7681c90 commit 113e81e

19 files changed

+366
-1251
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@salesforce/b2c-dx-docs': patch
3+
---
4+
5+
Improved MCP documentation: fixed broken links, promoted project-level installation for Claude Code and Cursor, simplified verbose sections, and verified all configuration details match implementation.

docs/guide/index.md

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Introduction to the B2C CLI, MCP Server, and SDK for Salesforce B2C
77
The B2C Developer Tooling provides command-line and AI-assisted development tools for Salesforce B2C Commerce.
88

99
- **B2C CLI**: Command-line interface that you can use to deploy code, manage sandboxes, run jobs, and so on from the terminal.
10-
- **MCP Server**: AI-assisted development tools for Cursor, Claude Desktop, and other AI assistants.
10+
- **MCP Server**: AI-assisted development tools for Claude Code, Cursor, GitHub Copilot, and other AI assistants.
1111

1212
## Quick CLI Install
1313

@@ -31,35 +31,26 @@ See the [CLI Installation Guide](./installation) for more installation options.
3131

3232
## Quick MCP Install
3333

34-
The B2C DX MCP Server enables AI assistants to help with B2C Commerce development tasks. Install it in your MCP client configuration:
34+
The B2C DX MCP Server enables AI assistants to help with B2C Commerce development tasks.
3535

36-
**Cursor** (supports `${workspaceFolder}`):
36+
**Claude Code:**
3737

38-
```json
39-
{
40-
"mcpServers": {
41-
"b2c-dx": {
42-
"command": "npx",
43-
"args": ["-y", "@salesforce/b2c-dx-mcp", "--project-directory", "${workspaceFolder}", "--allow-non-ga-tools"]
44-
}
45-
}
46-
}
38+
::: code-group
39+
40+
```bash [Project Scope (Recommended)]
41+
cd /path/to/your/project
42+
claude mcp add --transport stdio --scope project b2c-dx -- npx -y @salesforce/b2c-dx-mcp --allow-non-ga-tools
4743
```
4844

49-
**Claude Desktop** (use explicit path):
50-
51-
```json
52-
{
53-
"mcpServers": {
54-
"b2c-dx": {
55-
"command": "npx",
56-
"args": ["-y", "@salesforce/b2c-dx-mcp", "--project-directory", "/path/to/your/project", "--allow-non-ga-tools"]
57-
}
58-
}
59-
}
45+
```bash [User Scope]
46+
claude mcp add --transport stdio --scope user b2c-dx -- npx -y @salesforce/b2c-dx-mcp --allow-non-ga-tools
6047
```
6148

62-
See the [MCP Server Installation Guide](/mcp/installation) for detailed setup instructions.
49+
:::
50+
51+
**Cursor:** [Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=b2c-dx&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBzYWxlc2ZvcmNlL2IyYy1keC1tY3AiLCItLXByb2plY3QtZGlyZWN0b3J5IiwiJHt3b3Jrc3BhY2VGb2xkZXJ9IiwiLS1hbGxvdy1ub24tZ2EtdG9vbHMiXX0=)
52+
53+
See the [MCP Server Installation Guide](/mcp/installation) for detailed setup instructions for Claude Code, Cursor, GitHub Copilot, and other MCP clients.
6354

6455
## Next Steps
6556

0 commit comments

Comments
 (0)