-
Notifications
You must be signed in to change notification settings - Fork 10
@W-21466612 add mcp to marketplace #280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@salesforce/b2c-dx-docs': patch | ||
| --- | ||
|
|
||
| Refreshed the MCP and agent-skill documentation with clearer installation and configuration guidance, plus updated skill catalog references. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,36 +14,7 @@ This guide covers installing and configuring the B2C DX MCP Server for various M | |
|
|
||
| > **Note:** For Figma-to-component tools, you also need an external Figma MCP server enabled. See [Figma-to-Component Tools Setup](./figma-tools-setup) for details. | ||
|
|
||
| ## Installation Method | ||
|
|
||
| The MCP server is installed via `npx`, which downloads and runs the latest version on demand. | ||
|
|
||
| ### Project Directory | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove duplication(https://salesforcecommercecloud.github.io/b2c-developer-tooling/mcp/#project-directory) and its not fit in the installation section. |
||
|
|
||
| The server automatically detects your project location to enable: | ||
|
|
||
| 1. **Auto-discovery** - Detects your project type and enables appropriate toolsets | ||
| 2. **Configuration loading** - Reads [`dw.json`](../guide/configuration#configuration-file) from your project root for B2C credentials | ||
| 3. **Scaffolding** - Creates new files in the correct location based on your project structure | ||
|
|
||
| **Detection methods:** | ||
| - **Cursor (project-level)**: Automatically detected from the MCP config file location | ||
| - **Cursor (user-level)**: Requires `--project-directory "${workspaceFolder}"` in the args array | ||
| - **Claude Code**: Automatically detected from the current working directory (cd into project root before installation) | ||
| - **GitHub Copilot**: Automatically detected from the workspace location | ||
|
|
||
| ### Project Type Detection | ||
|
|
||
| The server automatically detects your project type: | ||
|
|
||
| | Project Type | Detection Criteria | Enabled Toolsets | | ||
| |--------------|-------------------|------------------| | ||
| | **PWA Kit v3** | `@salesforce/pwa-kit-*`, `@salesforce/retail-react-app`, or `ccExtensibility` in package.json | PWAV3, MRT, SCAPI | | ||
| | **Storefront Next** | Root or workspace package has `@salesforce/storefront-next*` dependency, or package name starting with `storefront-next` | STOREFRONTNEXT, MRT, CARTRIDGES, SCAPI | | ||
| | **Cartridges** | `.project` file in cartridge directory | CARTRIDGES, SCAPI | | ||
| | **No project detected** | No B2C markers found | SCAPI (base toolset only) | | ||
|
|
||
| Hybrid projects (e.g., cartridges + PWA Kit) get combined toolsets. | ||
| The MCP server is installed via `npx`, which downloads and runs the latest version on demand. For project directory and project type detection details, see [MCP Server Overview](./#usage). | ||
|
|
||
| ## Claude Code | ||
|
|
||
|
|
@@ -56,6 +27,11 @@ cd /path/to/your/project | |
| claude mcp add --transport stdio --scope project b2c-dx-mcp -- npx -y @salesforce/b2c-dx-mcp@latest --allow-non-ga-tools | ||
| ``` | ||
|
|
||
| ```bash [Plugin Marketplace (Alternative)] | ||
| claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling | ||
| claude plugin install b2c-dx-mcp --scope project | ||
| ``` | ||
|
|
||
| ```bash [User Scope] | ||
| claude mcp add --transport stdio --scope user b2c-dx-mcp -- npx -y @salesforce/b2c-dx-mcp@latest --allow-non-ga-tools | ||
| ``` | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't see a mention of cursor changes in the PR description and the change is encoded. what's this change do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its decoded to
{ "command": "npx", "args": [ "-y", "@salesforce/b2c-dx-mcp@latest", "--project-directory", "${workspaceFolder}", "--allow-non-ga-tools" ] }@latestis added.