anicraft
AniCraft
Operate AniCraft (an early-alpha open-source 2D vector animation studio in Rust: desktop app, headless CLI, MCP server) through its structured automation interfaces. Preserve the user's requested animation workflow and target document.
Protocol reference
Read references/mcp.md before connecting an MCP client or scripting calls. This is the downloaded upstream MCP documentation, captured on 2026-11-11. Source: AniCraft MCP docs, distributed under the bundled MIT license. Relative links inside the snapshot resolve against https://github.com/storytold/anicraft/blob/main/docs/. AniCraft has no desktop control channel: the live window is driven by the user, and agents work on documents through the headless engine. If installed behavior differs, discover the installed command registry (anicraft-cli commands) rather than inventing command IDs or parameters.
Select the surface
- MCP server:
anicraft-cli mcp [file.anicraft|--sample]speaks MCP over stdio (JSON-RPC 2.0, one message per line; protocol revisions 2025-06-18, 2025-03-26, 2024-11-05). It runs its own in-process document and cannot touch the user's open window. Register the full path toanicraft-cli. - One-off file processing:
anicraft-cli exec <file|--sample> <command.id> ['<json-params>'] [--save out.anicraft]runs one command;anicraft-cli run <file|--sample> <script.json> [--save]replays a JSON list of commands;info,render,render-seq,gif, andnew --out <file> [--width W] [--height H] [--fps F]cover inspection, exports, and creating documents without scripting. - Persistent JSON-lines session:
anicraft-cli serve [file|--sample]takes one request per line,{"id":1,"cmd":"draw.rect","params":{"x":10,"y":10,"w":50,"h":50}}, and answers{"id":1,"ok":true,"result":{},"revision":7,"frame":0}; send{"cmd":"quit"}to exit. - Desktop app:
AniCraft [file] [--screenshot out.png] [--open <panel>]opens the window for the user;--screenshotdraws, saves the window image, and exits (a visual check;--opencan preselect a panel). Other flags:--renderer wgpu|gl,--theme,--scale,--lang.
Discover executables first: on macOS the CLI ships inside the app bundle (/Applications/AniCraft.app/Contents/MacOS/anicraft-cli); elsewhere try command -v anicraft-cli. Reuse a running session when one fits. If the executable is missing, report the concrete prerequisite; this skill does not install AniCraft or register MCP servers.