Projects, Selection and Palettes with MCP

Project lifecycle

TaskToolNotes
Inspect the projectget_document_summaryCanvas, timeline, layers, groups, effects, shaders, selection and history, without cell data.
Read everythingget_documentThe full document. Large projects are returned as an artifact.
Start a new projectapp_new_projectOptional size, name, description, background, frame rate and duration.
Open a projectapp_load_projectLoads a native session object through the app's importer.
Save a copyexport with format: "session"Writes an .asciimtn file to --project-dir.
Rename or describeset_project_metadata
Resize or crop the canvasapp_resize_canvas (with anchor), crop_canvas
Canvas background, font and spacingset_canvas_background, set_typographyUse get_catalog with family: "fonts" for font IDs.
Undo historyget_history, app_undo, app_redoEvery MCP change is one step in the app's undo history. A batch from apply_operations is one step.

app_new_project and app_load_project replace the open project. Ask the agent to export a session copy, or save from the app, before starting a long agent session.

Cloud saving, sharing and publishing are covered by the cloud project tools, which act for the account signed in to the connected browser. They are untested signed in. MCP never needs your account credentials; don't paste them into a chat.

Selection

TaskTool
Read the current selectionapp_get_selection
Selectset_selection with mode: rectangle, cells, polygon, match (by character or color, optionally contiguousFrom a point) or all. combine adds to or subtracts from the existing selection.
Clearapp_clear_selection
Copy, cut and pastecopy_selection (cut: true to cut), paste_clipboard at x, y
Move the selected cellsmove_selection by dx, dy
Edit inside the selectionclear_cells, app_fill_region or flip_content with useSelection: true

Selections are shown in the editor, so you can see what the agent selected before it edits.

Colors and characters

TaskTool
Set the drawing character, colors and toolset_tool_state
Switch palettesset_active_palette with kind color or character
Create, edit, duplicate or delete a palettecreate_palette, update_palette, duplicate_palette, delete_palette
Import or export a paletteimport_palette, export_palette
List palettes, including your custom onesget_catalog with family: "palettes"

Drawing tools also take an explicit style with char, color and bgColor (hex strings, such as #ff8800), which is often simpler than changing the active tool state.