MCP Server
The build loop
Inspect, edit, verify, and review a source-backed Fanta design.
- Orient: call
get_guidelines, thenget_editor_state. Check the project, focused page, selection, and editability. For a new top-level frame, passempty_space: [width, height]. - Inspect: call
batch_getfor the page tree. Its defaultsummarylisting includes up to 200 direct children at depth 2. Followmore_childrenwithoffsetandlimit, then fetch exact IDs; those reads default to editablestyledetail. Callget_design_systembefore inventing tokens, variants, or components. Read unresolvedlist_commentsthreads when revising existing work. - Edit: call
batch_designwithopsand a descriptivelabelfor one component or section. Content edits preview in order while the call runs, then commit as one undoable transaction. A selection- or viewport-only batch creates no undo step. Failure rolls back content edits, while selection and viewport changes are not transactional; use returned created IDs in follow-up calls. Pass optionalactivitywith the sameagent_idandagent_nameused inreport_agent_activityso Follow stays with this agent during each placement. Useimport_imagewhen an external generator returns an image file or URL. It saves an asset without adding a layer. - Verify: call
get_screenshot, preferably for the changed node. Inspect the PNG, adjust with another batch, and capture again. For motion, pass an existingmotion_clipID andplayhead_msto inspect sampled frames. - Review: allow autosave, check for a save error, inspect the
.fnxGit diff, and address relevant comment threads withreply_comment. A canvas batch can succeed while a later structural save refuses to lose authored FNX data. Resolve only after verifying the requested change, then commit the intended result.
For changes beyond the operation vocabulary, locate the complete .fnx or managed JSON source with read_fnx_source, pass the complete candidate to validate_fnx_source, edit it with ordinary file tools, and let Fanta reload before more canvas work on the same nodes. Report the actual source_path and workspace (canvas, variables, or code) while changing files so Follow can open the relevant view. Activity does not lock the document.