Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

Toolsets & Tools

The B2C DX MCP Server provides five toolsets with specialized tools for different B2C Commerce development workflows.

Note: Tools require --allow-non-ga-tools to enable (preview release).

Overview

Toolsets are collections of related tools that work together to support specific development workflows. The server automatically enables toolsets based on your project type, or you can manually select toolsets using the --toolsets flag.

Available toolsets:

  • CARTRIDGES - Cartridge deployment and code version management
  • MRT - Managed Runtime bundle operations
  • PWAV3 - PWA Kit v3 development tools
  • SCAPI - Salesforce Commerce API discovery
  • STOREFRONTNEXT - Storefront Next development tools

Note: The SCAPI toolset is always enabled, even if not explicitly specified.

CARTRIDGES

Cartridge development, deployment, and code version management.

Status: 🚧 Early Access

Auto-enabled for: Cartridge projects (detected by .project file)

Tools

ToolDescriptionDocumentation
cartridge_deployDeploy cartridges to a B2C Commerce instanceView details

MRT

Managed Runtime operations for PWA Kit and Storefront Next deployments.

Status: 🚧 Early Access

Auto-enabled for: PWA Kit v3 and Storefront Next projects

Tools

ToolDescriptionDocumentation
mrt_bundle_pushBuild, push bundle (optionally deploy)View details

PWAV3

PWA Kit v3 development tools for building headless storefronts.

Status: 🚧 Early Access (PWA Kit-specific tools planned)

Auto-enabled for: PWA Kit v3 projects (detected by @salesforce/pwa-kit-* dependencies, @salesforce/retail-react-app, or ccExtensibility field in package.json)

Tools

ToolDescriptionDocumentation
pwakit_get_guidelinesGet PWA Kit v3 development guidelines and best practicesView details
scapi_schemas_listList or fetch SCAPI schemas (standard and custom). Use apiFamily: "custom" for custom APIs.View details
scapi_custom_api_generate_scaffoldGenerate a new custom SCAPI endpoint (schema, api.json, script.js) in an existing cartridge.View details
scapi_custom_apis_get_statusGet registration status of custom API endpoints (active/not_registered). Remote only, requires OAuth.View details
mrt_bundle_pushBuild, push bundle (optionally deploy)View details

SCAPI

Salesforce Commerce API discovery and exploration.

Status: 🚧 Early Access

Always enabled - Base toolset available for all projects.

Tools

ToolDescriptionDocumentation
scapi_schemas_listList or fetch SCAPI schemas (standard and custom). Use apiFamily: "custom" for custom APIs.View details
scapi_custom_api_generate_scaffoldGenerate a new custom SCAPI endpoint (schema, api.json, script.js) in an existing cartridge.View details
scapi_custom_apis_get_statusGet registration status of custom API endpoints (active/not_registered). Remote only, requires OAuth.View details

STOREFRONTNEXT

Storefront Next development tools for building modern storefronts.

Status: 🚧 Early Access. Storefront Next is part of a closed pilot and isn't available for general use.

Auto-enabled for: Storefront Next projects (detected by @salesforce/storefront-next* dependencies, package name starting with storefront-next, or workspace packages with these indicators)

Tools

ToolDescriptionDocumentation
sfnext_get_guidelinesGet Storefront Next development guidelines and best practicesView details
sfnext_start_figma_workflowWorkflow orchestrator for Figma-to-component conversion. Parses Figma URL, returns step-by-step instructions for subsequent tool callsView details
sfnext_analyze_componentAnalyze design and discovered components to recommend REUSE, EXTEND, or CREATE strategyView details
sfnext_match_tokens_to_themeMap design tokens to existing theme tokens in app.css with confidence scores and suggestionsView details
sfnext_add_page_designer_decoratorAdd Page Designer decorators to Storefront Next componentsView details
sfnext_configure_themeGet theming guidelines, questions, and WCAG color validation for Storefront NextView details
scapi_schemas_listList or fetch SCAPI schemas (standard and custom). Use apiFamily: "custom" for custom APIs.View details
scapi_custom_api_generate_scaffoldGenerate a new custom SCAPI endpoint (schema, api.json, script.js) in an existing cartridge.View details
scapi_custom_apis_get_statusGet registration status of custom API endpoints (active/not_registered). Remote only, requires OAuth.View details
mrt_bundle_pushBuild, push bundle (optionally deploy)View details

Figma-to-component tools (sfnext_start_figma_workflow, sfnext_analyze_component, sfnext_match_tokens_to_theme) require additional setup: an external Figma MCP server and a valid Figma URL with node-id. See Figma-to-Component Tools Setup for prerequisites and configuration.

Tool Deduplication

Some tools appear in multiple toolsets (for example, mrt_bundle_push, scapi_schemas_list, scapi_custom_api_generate_scaffold, scapi_custom_apis_get_status). When using multiple toolsets, tools are automatically deduplicated, so you'll only see each tool once.

Next Steps

Released under the Apache-2.0 License.