Figma Motion MCP
Allows programmatic creation and manipulation of motion animations (keyframes, animation styles) in Figma via its Motion API, enabling AI agents to apply, read, and remove motion timelines on selected nodes.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Figma Motion MCP apply fadeInUp to selection, duration 0.5s"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Figma Motion MCP
Claude Code → MCP → our Figma plugin → Figma Plugin API. Authors Figma Motion
(keyframes / animation styles) programmatically from a prompt. No Figma agent, no use_figma.
Claude Code ──stdio(JSON-RPC)── MCP server ──ws://localhost:3055── plugin ui.html ──postMessage── plugin main thread ── figma.* (Motion API, Beta)The MCP server process also hosts the WebSocket bridge, so there is no separate relay.
What it can do
MCP tool | Plugin command | Purpose |
|
| selected node id/name/type |
|
| confirm Motion (Beta) API is exposed in your build |
|
| current timelines / animated props / tracks / styles |
| (server local) | built-in code templates |
|
| resolve template+params → apply keyframe tracks |
|
| raw keyframe tracks |
|
| timeline length (s) |
|
| delete tracks and/or applied styles |
|
| native preset styles |
|
| apply a native preset |
Create / modify / delete are all covered. Template resolution runs server-side — the plugin only ever receives concrete tracks, so it stays dumb and templates are versioned here.
Related MCP server: Figma MCP Bridge
Setup (teammates: one command)
The folder is self-contained (no monorepo deps). Hand someone this folder, they run:
cd figma-motion-mcp
./setup.shsetup.sh does npm install, resolves your absolute node path (nvm-safe), and registers
the MCP server figma-motion at local scope (this project only, not committed — so
each teammate registers their own; no shared/hardcoded paths). It prints the remaining
manual steps.
Manual equivalent (if you prefer / no claude CLI)
npm install
claude mcp add figma-motion -- "$(command -v node)" "$(pwd)/server/mcp-server.js"
claude mcp get figma-motion # verifynvm users: the absolute node path matters — the MCP subprocess won't inherit your shell PATH.
setup.sh/ the$(command -v node)form handles this automatically.
Then: run the plugin in Figma
Figma desktop → Plugins → Development → Import plugin from manifest… → pick
figma-motion-mcp/plugin/manifest.json. Open a NEW Claude session (it auto-starts the
server + WS bridge); the panel should turn green "Connected — bridge ready".
First run — runtime probe (do this once)
Typings (@figma/plugin-typings@1.130.0) confirm the Motion API contract, but it is Beta
and gated per build/seat. Before relying on it:
In Figma, select any node, then run the plugin.
In Claude: "run probe".
Confirm
applyManualKeyframeTrack: "function"andfigma.motionis non-null.animatedPropertiesshows the real field names for your build — if any template name mismatches, fix it inserver/templates.js.
If applyManualKeyframeTrack is "undefined", Motion is not enabled in your Figma build yet.
Example flow
1) Select a frame/layer in Figma.
2) "get_selection" → nodeId
3) "apply fadeInUp to <nodeId>, duration 0.5" → apply_motion_template
4) "read_motion <nodeId>" → timelines / animatedProperties
5) "nudge TRANSLATION_Y keyframe to 32→0" → apply_keyframes
6) "remove OPACITY motion from <nodeId>" → remove_motionNotes / limits
Motion API is Beta — signatures may change. Write calls are wrapped; typings pinned to 1.130.0.
No native style publishing (apply-only). Reuse lives in
server/templates.js.Single-client MVP — newest plugin connection wins.
No
SCALEfield — useSCALE_XY(corrected vs the original draft spec).stdout is JSON-RPC only — all server logs go to stderr.
Override the bridge port with
FIGMA_MOTION_WS_PORT(default 3055; updateui.htmlURL to match).
Available Tools
10 toolsapply_animation_styleC
Apply a Figma native animation style to a node. Returns the applied instance id.
Inputs: nodeId (required), styleId (required), config.
apply_keyframesB
Apply raw keyframe tracks to a node (lower-level than templates). Provide one or more property tracks directly.
Inputs: nodeId (required), tracks (required), duration.
apply_motion_templateB
Apply a named motion template to a node. The server resolves template+params into keyframe tracks and applies them, optionally setting the timeline duration.
Inputs: nodeId (required), template (required), params.
get_selectionA
List the currently selected Figma nodes (id, name, type). Use this to obtain a nodeId before authoring motion.
Inputs: no named parameters.
list_figma_animation_stylesB
List Figma's native (Beta) animation styles available to apply: styleId, name, props.
Inputs: no named parameters.
list_motion_templatesA
List the built-in motion templates and their tunable params. These are code-defined (Figma has no API to publish native styles).
Inputs: no named parameters.
probeA
Check that the Motion (Beta) Plugin API is exposed in the connected Figma build. Returns apiVersion, figma.motion keys, and whether motion write methods exist on the first selected node.
Inputs: no named parameters.
read_motionA
Read the current motion state of a node: timelines, animated property keys, manual keyframe tracks, and applied animation styles. Run this after applying to confirm results and to discover the real property field names for this build.
Inputs: nodeId (required).
remove_motionA
Delete motion from a node. Provide fields (property names) to remove manual keyframe tracks, and/or animationStyleIds to remove applied animation style instances.
Inputs: nodeId (required), fields, animationStyleIds.
set_timeline_durationC
Set the duration (seconds) of the node's containing timeline.
Inputs: nodeId (required), duration (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool has a clearly distinct purpose: applying motion via different methods (style, keyframes, template), reading, removing, setting duration, listing available assets, getting selection, and probing API. No two tools overlap in functionality.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., apply_animation_style, list_motion_templates). Verbs are predictable and clearly indicate the action.
With 10 tools, the set is well-scoped for a motion server. Each tool covers a necessary aspect of the motion workflow without redundancy or excess.
The tools provide comprehensive coverage for applying, reading, removing, and configuring motion, plus listing available styles/templates. A minor gap is the lack of a tool to explicitly update an existing animation, but remove+reapply works around it.
Maintenance
Related MCP Connectors
Connect AI coding agents to Anima Playground, Figma, and your design system.
AI agents build and edit animations in the Kinomo Mac app, relayed to your connected Mac.
Compare Figma designs against live websites and get visual + content QA reports, from inside Claude.
Creator MCP is the hosted LottieFiles animation engine for AI agents. Your agent builds real motion with layers, shapes and keyframes, then exports MP4, WebM, Lottie or dotLottie. Use it for logo reveals, product promos, social clips and UI animations. You can import SVGs, images and existing Lottie files, and open any scene in Lottie Creator to fine-tune it frame by frame. Setup is one URL and a LottieFiles sign-in.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants like Claude Desktop to interact directly with Figma, allowing natural language commands to create, modify, and analyze designs including shapes, text, components, and layouts in real-time.MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude to read and manipulate Figma documents in real-time through 62 operations including creating shapes, modifying styles, managing components, and exporting assets via a WebSocket bridge to a Figma plugin.82 npm85MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with Figma designs programmatically, supporting comprehensive design automation including text manipulation with formatting preservation, batch operations, prototyping, auto-layout configuration, and component management.7522 npm5MIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude to interact with Figma designs, convert designs to code, extract variables, get screenshots, and more.1-