AI assistants (MCP)
Layerz Canvas can be driven by an AI assistant — Claude Code, Claude Desktop, Cursor or any client that speaks the Model Context Protocol (MCP). Describe what you want ("a 15-second launch teaser with our logo, three feature cards and confetti at the end") and the assistant builds it in your open document: real layers, groups and keyframes that you can keep editing by hand. You can also ask it to change what you made yourself ("make the title pop in letter by letter", "export this as MP4 and as HTML").
Turning it on
- Layerz Canvas ▸ Settings… ▸ MCP → switch on Run the MCP server. The status shows the address,
http://127.0.0.1:4747/mcp. - Pick your client under Connect a client and follow its three steps. The page shows the exact command or config for your port and token, with a Copy button:
- Claude Code — run the
claude mcp add …command once in Terminal, then startclaudeand ask, for example, "List the open Layerz Canvas documents." - Claude Desktop — paste the config into Claude's config file (Claude ▸ Settings ▸ Developer ▸ Edit Config) and reopen Claude. Needs Node.js (the bridge runs with
npx). - Cursor — add the config to
~/.cursor/mcp.jsonand check that "layerz-canvas" is green in Cursor ▸ Settings ▸ MCP. - curl — for scripts: plain JSON-RPC over HTTP POST.
- Claude Code — run the
- Test Connection checks the whole path and reports how many tools are available.
Keep Layerz Canvas open while the assistant works. The server is off by default and starts again with the app when it's on.
What the assistant can do
Your assistant can list every tool for you (ask it "What can you do in Layerz Canvas?"); in short:
- Read — open documents, artboards, layers and the current selection; a compact summary of how layers move (keyframe times, values and easing, markers); look at the result as an image, or as a grid of moments to check motion. It can act on what you have selected — say "fade in the selected layers" and it uses your selection, no ids needed.
- Design — add and change shapes, text, frames and groups; draw with the pen (points and curves, or SVG path data; any point can get a rounded corner, which rounds the fill and the stroke); gradients; dashed and styled strokes; boolean operations; crop masks, mask layers and track mattes; trim paths; blend modes; effects (shadows, blur, glow, grain, colour, and distortions — RGB split, glitch, wave / ripple, noise warp — whose strength keyframes and wiggles like any value); pixel art; embedded fonts; pictures, videos and sounds; the Layerz brand (mark, icon, wordmark, lockup — resizing the wordmark scales its letters) and device, Mac window and browser window frames (around a screenshot or recording, or around a screen it draws itself — or an empty phone screen it then fills with the app's UI); outlined (stroke-only) text; mask layers and track mattes set on any layer; mockups of Layerz Canvas's own interface (the whole window, toolbar, layer list, inspector, timeline with keyframes and playhead, easing graph, export format menu, the AI ✦ badge, an empty canvas), light or dark, as ordinary editable layers whose parts — a layer row, the playhead, a keyframe — the assistant can then animate. A font family that isn't installed or embedded is refused with what to use instead (the system typefaces SF Pro, SF Pro Rounded, SF Mono and New York always work), so text never quietly draws in the wrong font; new text boxes hug their text unless a size is given, and text in a fixed box can be centred or set at the top or bottom (vertical alignment) and set in italic; shadow and glow take an opacity; line and area charts take a line width, and chart colours go to each slice of a pie or donut (or each bar of a one-series column chart). It can move the point a layer or group turns around — onto the joint of an arm or a hinge — without moving it, so rigs swing from the right place.
- Animate — keyframes in bulk (including gradient fills, dash offsets and trim; times counted from the timeline or from when the layer starts), moving a layer's whole animation in time, ease in and ease out set separately on each keyframe (influence and speed, as in the graph editor) and Easy Ease, retiming — stretching, squeezing, reversing, shifting, spacing evenly or lining up keyframes (whole layers, a stretch of time, some properties, or the keyframes you selected in the timeline: "make the selected keys twice as slow"), entrance and exit presets with a stagger, kinetic text (including After Effects style range selectors — a wave running through a word, a soft wipe — letter colour, tracking and a scramble/decode), corner radius, star points, shadow, glow and grain keyframes, text on a circle or curve that runs along it, loops and wiggle (a wiggle or oscillation can stop at a set time or die away smoothly), springs and named easings (ease-out-back overshoot, expo, circ, smooth and more — the same ones as the easing editor), counters, group timing, camera moves with depth parallax and depth of field (ask for "a parallax scene": the assistant gives the layers inside the camera a depth — background 800, middle 300, foreground −100 — and then moves the camera), motion paths that turn with the travel, layers sent along a shape or curve (facing the way they go, with a trail or comet tail drawn behind), repeaters — a line, grid or ring of up to 200 copies in one layer, with falloff, a time offset so the copies cascade, and animated settings — and shape modifiers (round corners, zig zag, wiggle path, offset, pucker & bloat), choreography — one motion staggered over many layers (or a repeater's copies) from the start, end, centre or edges, in a row or a grid, optionally laid out first ("pop the dots in as a ripple from the middle"), camera layers sorted by depth, scene transitions, path morphs, 2.5D rotation, beat markers, and the ready-made pieces (charts, code blocks, a virtual cursor, device frames, particles), physics — layers that fall, bounce, stack and pile up, baked into keyframes; motion without keyframes — oscillators (pendulums, breathing, blinking) and links between layers ("the shadow follows the ball 0.1 s later", gears turning together) — time remapping of groups (slow motion, freeze frames, playing backwards), motion driven by music (loudness or beats, baked into a few keys), your saved motion presets (it can save one too, and use yours on any layer), cutting layers at a time, slipping their content and ripple deletes, interactive states for web pages ("play the open animation when the button is clicked, and close it on a second click"), and a motion check that lists dead keys, everything starting at once, keys a layer never shows and what an export would leave out; it can also play, pause and seek the timeline in your window, or play it full screen ("play it full screen on the TV") — Esc brings you back. It can also set up Presentation Mode — which frames are slides, their order and options, and links that make layers open other frames ("make the Sign In button open the Home frame") — and start, step through or stop a presentation. Document languages: it can add languages to the document, write a text layer's words in each ("translate every text layer to Korean and Japanese"), switch the language shown, and render or export in a chosen language.
- Sound — sound effects found from the motion (clicks, pops, whooshes, typing, counters, particles…) and background music written for the timeline, its sections following the scene changes and its end the timeline's end; after timing changes the assistant can make both again. It hears nothing itself, so ask it to export a video to listen.
- Import and export — Lottie and SVG in; PNG, JPEG, PDF, SVG, video, GIF, Lottie and HTML out (the same free / Pro rules as the app); a whole finished piece in one go (document, web page, poster image, optional video and a metadata file with one name); a check of what an HTML export would leave out, without exporting.
- Web page snapshots — a picture of a web page (by address, or page markup), rendered inside the app — no screen recording and no permission prompt — added as an image layer, e.g. inside a browser window frame. The whole page height can be captured.
- Templates — mark layers as template slots, check a document as a template, and fill a template's slots from words and pictures or clips in one call (the same role in every frame at once).
- Undo — several changes in one request become one undo step.
Seeing what the AI does
- While an assistant works, the window's toolbar shows a ✦ icon (purple while it edits). Click it to see which client is working.
- Layers it adds or changes flash purple briefly on the canvas and in the layer list (turn this off with Highlight changes on the canvas).
- When it adds or moves keyframes, the playhead jumps to that time (and the artboard it is working on becomes the active one), so the flash shows the pose being keyed rather than the document at 0 s. It never moves while you are playing, and it is off with the highlighting.
- Every AI edit can be undone; the Edit menu names it Undo AI: ….
Privacy and safety
- The server listens on 127.0.0.1 only — nothing outside your Mac can reach it — and refuses requests from web pages. Your documents go to the assistant only as you ask it to read them; what the assistant does with them is up to the assistant you use.
- Set an Access token (Generate) if other people use this Mac; clients then have to send it. Port and token can be changed while the server is off.
- The app is sandboxed. When the assistant names a file by path (a picture to add, a document to open, a place to export), Layerz Canvas can reach it only inside the export folder chosen in Settings ▸ Export; a relative path is also taken from there. Anywhere else, the assistant can send the file's contents or a URL instead. Saving and exporting work the same way: choose the folder you want the files in (for example your project folder) under Settings ▸ Export ▸ Default folder once; the assistant then saves documents and exports there, into subfolders if it likes. If it tries a place outside that folder, it is told to ask you to choose the folder.