Penpot Motion + MCP: an AI assistant designs and animates a screen ![]()
Penpot’s MCP server lets an AI assistant work in a Penpot file through the plugin API, and on the Penpot Motion branch that API includes the whole animation side. So I tried building a small animated screen from scratch, prompt by prompt.
What the assistant did, in six prompts
- Built the screen: a 1280×720 board with a payment confirmation card: a green check, title, amount, a line of details and a Done button.
- Animated it: a timeline for the board, the card rising in on a soft spring, the ring around the check drawing itself with a trim, the disc popping and the tick following.
- Staggered the texts: title, amount and details fading and rising 80 ms apart, and the button popping in last with a bit of overshoot.
- Added a finish: a burst of ten dots as the check completes, the glow brightening with it, a short exit, and a loop every 4 seconds.
- Made it reusable: a token set “motion” (two durations, a soft spring and an ease-out curve) and an animation style “Card enter” bound to those tokens, which the card now plays. Any layer can use it from Assets.
- Handed it off: the timeline exported as React code for motion.dev.
How the video was made
Every change you see on the canvas is a real execute_code call that went through the MCP server into the open file.
What the assistant can reach
Everything in the Motion API: timelines, keyframes on every animatable property (springs and bezier curves included), preset animations, animation styles, motion tokens, trims, follow, links, wiggle, markers, audio clips, and the code exports (toCSS, toReact, toJSON). The MCP server on the branch carries the docs for all of it, so the assistant can look things up with penpot_api_info before it writes code.
Try it
On the branch, enable MCP in your account’s integrations, open a file and connect, then point your MCP client at the server. Describe the motion in plain words. The assistant picks keyframes or presets on its own, and you can always ask it to turn what it made into tokens and styles.
The file from the video, to play with or take apart:
Penpot Motion – MCP demo.penpot (26.6 KB)