cavi-ai
GitHub ↗

Configuration

The server is configured with environment variables, set in the env of its entry in the MCP client.

VariableUsed byMeaning
CAVI_ADOBE_WORKSPACEevery tool that takes a path, and the journalsRequired. Absolute directory every tool path is relative to and must stay inside.
CAVI_ADOBE_DATAevery tool that reaches the native helperPrivate server state: native helper builds and Character Animator journals. Default: ~/.local/share/cavi-adobe-mcp.
CAVI_CHARACTER_ANIMATOR_APPevery tool that finds the applicationAbsolute path of the Character Animator .app to use. It must be Character Animator (bundle identifier com.adobe.Character-Animator.application); a wrong path is reported, never replaced by another install. Default: the newest installed version under /Applications.

The private data directory#

Under CAVI_ADOBE_DATA the server creates character-animator/. The helper build folders, the attempt folder and the per-workspace state folder are created owner-only (mode 0700). <state> below is the folder named by 16 hexadecimal characters of a hash of the workspace path, so each workspace has its own.

Path in character-animator/Holds
native/<sha256 of the helper source>/The compiled helper, build.json (its receipt) and a build lock.
character-native-attempts/A progress log for each chooser continuation; removed when the call succeeds.
<state>/lease.jsonThe current lease: owner, project, expiry and owned root.
<state>/operation.jsonThe unresolved operation, if any.
<state>/operations/<operation_id>.jsonThe record of each resolved operation.
<state>/prepared-copies/<prepared_copy_id>.jsonThe receipt of a prepared copy.
<state>/inputs/<id>/The read-only copy of each imported file.
<state>/session.lockThe lock that serializes requests.

Keep these records private: they hold project paths and file hashes. Removing operation.json by hand discards the record of an unknown outcome.

Fixed limits#

LimitValue
Session lock wait15 seconds
Native request45 seconds, and a 4 MiB response
Helper compile300 seconds
Lease lifetime (ttl_seconds)30 to 3600 seconds, default 600
Project tree for a copy8192 entries; 4096 files and 1 GiB for the file receipt
Import source (import_media)at most 1 GiB, not empty
Capture imageat most 32 MiB
Project item name (project_select)1 to 128 characters
Owner name (session_control)1 to 128 characters
Export recipeat most 4 MiB; 1 to 1000 frames; 62 source roles; 300 seconds
Dialogue WAVat most 64 MiB, 300 seconds, 8 to 192 kHz, mono or stereo

Dependencies#

The server depends on cavi-mcp-core (application lookup, bounded subprocesses, the server type, file and workspace rules, the media receipt export_ingest writes and the operation journal helpers) by version range.