@salesforce/b2c-dx-mcp 0.5.4 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -6
- package/dist/tools/cartridges/index.js +1 -1
- package/dist/tools/mrt/index.js +1 -1
- package/dist/tools/pwav3/pwa-kit-development-guidelines.js +1 -1
- package/dist/tools/scapi/scapi-custom-api-generate-scaffold.js +1 -1
- package/dist/tools/scapi/scapi-custom-apis-get-status.js +1 -1
- package/dist/tools/scapi/scapi-schemas-list.js +1 -1
- package/dist/tools/storefrontnext/index.js +0 -1
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
MCP (Model Context Protocol) server for Salesforce B2C Commerce developer experience tools.
|
|
4
4
|
|
|
5
|
-
> [!NOTE]
|
|
6
|
-
> This project is currently in **Developer Preview**. Tools are functional but require `--allow-non-ga-tools` to enable. Additional tools will be added in future releases.
|
|
7
|
-
|
|
8
5
|
This MCP server enables AI assistants (Cursor, Claude Code, and others) to help with B2C Commerce development tasks. It provides toolsets for **SCAPI**, **CARTRIDGES**, **MRT**, **PWAV3**, and **STOREFRONTNEXT** development.
|
|
9
6
|
|
|
10
7
|
Full documentation: [https://salesforcecommercecloud.github.io/b2c-developer-tooling/mcp/](https://salesforcecommercecloud.github.io/b2c-developer-tooling/mcp/)
|
|
@@ -184,6 +181,3 @@ For MCP development, testing, and local setup, see [CONTRIBUTING.md](./CONTRIBUT
|
|
|
184
181
|
|
|
185
182
|
This project is licensed under the Apache License 2.0. See [LICENSE.txt](../../LICENSE.txt) for full details.
|
|
186
183
|
|
|
187
|
-
## Disclaimer
|
|
188
|
-
|
|
189
|
-
This project is currently in **Developer Preview** and is provided "as-is" without warranty of any kind. It is not yet generally available (GA) and should not be used in production environments. Features, APIs, and functionality may change without notice in future releases.
|
|
@@ -42,7 +42,7 @@ function createCartridgeDeployTool(loadServices, injections) {
|
|
|
42
42
|
'Requires the instance to have a code version configured. ' +
|
|
43
43
|
"After deploy, add new cartridges to your site's cartridge path in Business Manager: Sites → Manage Sites → [site] → Settings tab → Cartridges.",
|
|
44
44
|
toolsets: ['CARTRIDGES'],
|
|
45
|
-
isGA:
|
|
45
|
+
isGA: true,
|
|
46
46
|
requiresInstance: true,
|
|
47
47
|
inputSchema: {
|
|
48
48
|
directory: z
|
package/dist/tools/mrt/index.js
CHANGED
|
@@ -124,7 +124,7 @@ function createMrtBundlePushTool(loadServices, injections) {
|
|
|
124
124
|
name: 'mrt_bundle_push',
|
|
125
125
|
description: 'Bundle a pre-built PWA Kit or Storefront Next project and push to Managed Runtime. Optionally deploy to a target environment.',
|
|
126
126
|
toolsets: ['MRT', 'PWAV3', 'STOREFRONTNEXT'],
|
|
127
|
-
isGA:
|
|
127
|
+
isGA: true,
|
|
128
128
|
// MRT operations use ApiKeyStrategy from MRT_API_KEY or ~/.mobify
|
|
129
129
|
requiresMrtAuth: true,
|
|
130
130
|
inputSchema: {
|
|
@@ -103,7 +103,7 @@ export function createDeveloperGuidelinesTool(loadServices) {
|
|
|
103
103
|
'CRITICAL INSTRUCTION: ALWAYS present ALL returned content in FULL - DO NOT SUMMARIZE, DO NOT ADD SUMMARIES, ' +
|
|
104
104
|
'DO NOT ADD OVERVIEWS. The returned content IS the complete answer - display it exactly as provided.',
|
|
105
105
|
toolsets: ['PWAV3'],
|
|
106
|
-
isGA:
|
|
106
|
+
isGA: true,
|
|
107
107
|
requiresInstance: false,
|
|
108
108
|
inputSchema: {
|
|
109
109
|
sections: z
|
|
@@ -138,7 +138,7 @@ export function createScaffoldCustomApiTool(loadServices, executeOverrides) {
|
|
|
138
138
|
Required: apiName (kebab-case). Optional: cartridgeName (defaults to first cartridge found in project), apiType (shopper|admin) default to shopper, \
|
|
139
139
|
apiDescription, projectRoot, outputDir.`,
|
|
140
140
|
toolsets: ['PWAV3', 'SCAPI', 'STOREFRONTNEXT'],
|
|
141
|
-
isGA:
|
|
141
|
+
isGA: true,
|
|
142
142
|
requiresInstance: false,
|
|
143
143
|
inputSchema: {
|
|
144
144
|
apiName: z
|
|
@@ -92,7 +92,7 @@ Requires OAuth (sfcc.custom-apis scope) and instance config (shortCode, tenantId
|
|
|
92
92
|
|
|
93
93
|
CLI: b2c scapi custom status`,
|
|
94
94
|
toolsets: ['PWAV3', 'SCAPI', 'STOREFRONTNEXT'],
|
|
95
|
-
isGA:
|
|
95
|
+
isGA: true,
|
|
96
96
|
requiresInstance: false,
|
|
97
97
|
inputSchema: {
|
|
98
98
|
status: z.enum(['active', 'not_registered']).optional().describe('Filter by status. Omit for all.'),
|
|
@@ -197,7 +197,7 @@ export function createScapiSchemasListTool(loadServices) {
|
|
|
197
197
|
|
|
198
198
|
**Requirements:** OAuth with sfcc.scapi-schemas scope.`,
|
|
199
199
|
toolsets: ['PWAV3', 'SCAPI', 'STOREFRONTNEXT'],
|
|
200
|
-
isGA:
|
|
200
|
+
isGA: true,
|
|
201
201
|
requiresInstance: false, // SCAPI uses OAuth directly, doesn't need B2CInstance (hostname)
|
|
202
202
|
inputSchema: {
|
|
203
203
|
apiFamily: z.string().optional().describe('API family (e.g., "checkout", "product", "custom").'),
|
|
@@ -24,7 +24,6 @@ export function createStorefrontNextTools(loadServices) {
|
|
|
24
24
|
createDeveloperGuidelinesTool(loadServices),
|
|
25
25
|
createPageDesignerDecoratorTool(loadServices),
|
|
26
26
|
createSiteThemingTool(loadServices),
|
|
27
|
-
createPageDesignerDecoratorTool(loadServices),
|
|
28
27
|
createFigmaToComponentTool(loadServices),
|
|
29
28
|
createGenerateComponentTool(loadServices),
|
|
30
29
|
createMapTokensToThemeTool(loadServices),
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/b2c-dx-mcp",
|
|
3
3
|
"description": "MCP server for B2C Commerce developer experience tools",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": "SalesforceCommerceCloud/b2c-developer-tooling",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"yaml": "2.8.1",
|
|
81
81
|
"postcss": "8.5.6",
|
|
82
82
|
"zod": "3.25.76",
|
|
83
|
-
"@salesforce/b2c-tooling-sdk": "0.
|
|
83
|
+
"@salesforce/b2c-tooling-sdk": "1.0.0"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@eslint/compat": "^1",
|