Quickstart
This walks one PNG in the workspace to an edited Photoshop copy and an exported PNG. Paths are relative to CAVI_ADOBE_WORKSPACE. Photoshop must already be open, and the cavi-photoshop-mcp server must be registered.
- Check the application.
photoshop_statusreportsrunning, theversionand theprocess. It does not launch
Photoshop.
- Open an owned copy.
photoshop_open_copywithsourceart/hero.pnganddestinationwork/hero.psd. The
destination must not exist and its folder must. The result has a session_id, an operation_id, the document snapshot with its layers, the copy artifact and the source_sha256.
- Look at the layers.
photoshop_inspectwith thesession_idreturns the same snapshot. Each layer has apath,
a list of zero-based indices from the document root, and a name.
- Edit by path and name. Take a layer's
pathandnamefrom the snapshot.photoshop_edit_layerswithedits
[{"path": [0], "expected_name": "<name shown>", "name": "Hero"}] renames layer [0] only if it still has that name. The result lists the touched layer in changed_layers.
- Add editable text.
photoshop_fontslists installed fonts; Adobe Fonts must already be activated in Creative Cloud.
Pass one postscript_name to photoshop_add_text with name, text, position, size and rgb.
- Export.
photoshop_exportwithsession_id,destinationout/hero.png. Photoshop writes a PNG next to a
out/hero.png.receipt.json file with the hashes of the export.
- Close.
photoshop_close_copycloses the owned document.
The Illustrator server works the same way with illustrator_* tools.
If any step reports an unknown outcome, stop and read Recovery and unknown outcomes before you try again.
Next: Photoshop tools, Illustrator tools, Generative tools and Exports and receipts.