Files & Deploys

What a B2C MCP agent may do on WebDAV root by root, uploads and bulk uploads, deploys to one or several instances, and code versions

An agent reads instance files freely within the preset. Every write starts as a plan: the agent shows you what it will change. The plan then runs with intellijsfcc_mutation_execute, see Plans & Safety. Every upload, deploy, delete and activation then shows in B2C Sync Log, with MCP and the agent's name as the source, such as MCP: Claude Code

WebDAV roots

intellijsfcc_webdav_roots lists each root with what agents may do there

RootAgents readAgents write
CartridgesYesInto a code version
ImpexYesInto Impex/src
TempYesYes
LogsYesClear a log only, with intellijsfcc_logs_clear_plan
SecuritylogsYesNo
Realmdata, Static, Catalogs, Libraries, DynamicYesYes

Catalogs, libraries and Velocity folders include the folders you added for that host in B2C Explorer

Read files

TaskToolRisk
List a folder, with sizes and datesintellijsfcc_webdav_listInstance read
Read a text fileintellijsfcc_webdav_read_textInstance read
Compare a folder or file on two instancesintellijsfcc_webdav_diffInstance read
Compare your cartridges with a code versionintellijsfcc_remote_diffInstance read
Download a file or folder into the plugin's downloads folderintellijsfcc_webdav_downloadLocal write

A folder download takes up to 2,000 files and 500 MB. Credential and key files are refused on read, download and upload

Change files

intellijsfcc_webdav_mutate_plan plans up to 50 operations in one plan, and one preview lists them all

OperationWhat it does
Make a folderCreates a folder
UploadUploads files, creating their folders
Upload a folderUploads a whole folder in zipped batches of about 55 MB, unzips each on the instance, then removes the zip. Files already there are skipped or replaced, as the plan says
Upload a zipUploads a zip and unpacks it
Copy, move, renameCopies or moves a file or folder
Zip, unzipZips or unzips on the instance
DeleteDeletes a file or folder. A folder lists its contents in the plan

The risk depends on the place

WhereMake, copy, zip, move, replaceDelete
A code version that is not active, Impex or TempInstance writeLive change
The active code version and the shopper rootsLive change for anything that replaces or movesLive change

The plan's risk is the highest of its operations. Agents can't delete, move or rename the active code version's folder, use .. or wildcards, or write under a root that is not writable

A bulk upload shows its progress, such as 1,240 of 3,900 files. Cancel stops between batches, and a batch already sent finishes

Upload

intellijsfcc_upload_plan plans uploading project files to a connection's selected code version, or to one the agent names. It is Instance write, or Live change into the active code version. Production takes no uploads, so a plan for it gets unsupported

Uploads and deploys never send credential and key files, such as .env or files ending in .pem, .key or .p12, whatever the upload skip list says. Plans leave them out, see What gets uploaded

Deploy

intellijsfcc_deploy_plan plans a cartridge deployment, as Deploy Code does it: zip, upload, unzip, with an optional cleanup first. It lists the tasks it runs before the deploy. It is Instance write, or Live change with a cleanup or into the active code version

With cartridges, the plan deploys only those cartridges of your project. Such a plan runs no tasks before the deploy and no cleanup

intellijsfcc_deploy_status shows auto upload, the upload queue, locks, recent uploads and the last five deployments. intellijsfcc_deploy_run_list lists the last 50 deployments since the IDE started, with each stage, the outcome and every cartridge's state

Deploy to several instances

One plan can deploy to several instances, each with its own code version. The plan lists every target with its kind and code version

  • Each target is checked on its own. A target that can't take it, such as production or a locked instance, is listed as refused, and the rest can still run
  • Each target holds its own lock, and results come per target. A failure on one doesn't undo another
  • The plan's risk is the highest of its targets
  • At most 10 instances in one plan

The agent deploys to the lower environment first and watches its logs stay clean before the next one

Code versions

TaskToolRisk
List them, with the active and selected marks, on one or several hostsintellijsfcc_code_version_listInstance read
Create oneintellijsfcc_code_version_create_planInstance write
Activate one. The answer names the version that was active, for undointellijsfcc_code_version_activate_planLive change
Delete one, or empty its contents. Never the active oneintellijsfcc_code_version_delete_planLive change
Pick the version uploads go tointellijsfcc_code_version_selectLocal write

On a production instance agents never create or delete a code version. Code reaches production by replication from staging

Limits

LimitValue
Writes per minute, per agent session10
Writes at once1, and 1 per instance
Operations in one WebDAV plan50
A folder download2,000 files and 500 MB
Instances in one deploy plan10

Over a limit, the agent gets rate-limited and waits. A second write to an instance that is busy gets instance-locked

On this page