cavi-ai
GitHub ↗

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.

  1. Check the application. photoshop_status reports running, the version and the process. It does not launch

Photoshop.

  1. Open an owned copy. photoshop_open_copy with source art/hero.png and destination work/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.

  1. Look at the layers. photoshop_inspect with the session_id returns the same snapshot. Each layer has a path,

a list of zero-based indices from the document root, and a name.

  1. Edit by path and name. Take a layer's path and name from the snapshot. photoshop_edit_layers with edits

[{"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.

  1. Add editable text. photoshop_fonts lists 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.

  1. Export. photoshop_export with session_id, destination out/hero.png. Photoshop writes a PNG next to a

out/hero.png.receipt.json file with the hashes of the export.

  1. Close. photoshop_close_copy closes 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.