b2c-site-import-export
Site Archives
Use b2c job import / b2c job export to transfer site archives. If b2c is
unavailable, use npx @salesforce/b2c-cli.
Configuration and tool choice
CLI and MCP share resolved configuration: SFCC_* variables (including project
.env), project/shared dw.json, and plugins. package.json provides nonsecret
defaults. Use --project-directory outside the target project. Inspect with
b2c setup inspect --json or MCP config_inspect; keep secrets masked. Configured
values normally make credential flags and manual dw.json reads unnecessary.
For resolution issues, use b2c-cli:b2c-config.
No dedicated MCP archive-transfer tool exists. Use the CLI for XML imports and
exports, including settings absent from SCAPI contracts. MCP scapi_execute can
manage supported Admin fields; a metadata record alone does not prove that
promotion discounts or targeting rules are configured.