AE Motion MCP
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., "@AE Motion MCPCreate a 5-second lower third with an eased slide-in and show me frame 0."
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.
AE Motion MCP
An MCP server that lets Claude (or any MCP client) build, animate, preview and render motion graphics in a live Adobe After Effects project.
Ask for "a 5 second lower third with an eased slide-in", and the model creates the comp, adds layers, sets keyframes, checks a preview frame and kicks off a render, all in the project you have open.
https://github.com/user-attachments/assets/8d46df59-cd4c-42e1-ab7e-8ba83552bb27
MCP client --stdio--> MCP server (Node) --HTTP 127.0.0.1 + token--> CEP panel in AE --> ExtendScriptContents
Related MCP server: AfterEffectsMCP
Requirements
After Effects 2022 (22.0) or later, on macOS or Windows
Node.js 22.18 or later (the build and tests run TypeScript directly through Node's type stripping)
An MCP client such as Claude Code or Claude Desktop
Installation
1. Get the code and run the installer
git clone https://github.com/dha-aa/ae-motion.git
cd ae-motionmacOS:
bash scripts/install.shWindows (PowerShell):
./scripts/install.ps1The installer:
Runs
npm install && npm run build, which produces the server (dist/) and the panel's host script (panel/host/host.jsx).Copies
panel/into the CEP extensions folder:macOS:
~/Library/Application Support/Adobe/CEP/extensions/com.aemotion.mcpWindows:
%APPDATA%\Adobe\CEP\extensions\com.aemotion.mcp
Enables unsigned CEP panels (
PlayerDebugMode, CSXS 9 to 12). This per-user setting is required for any panel that isn't signed by Adobe.
In the repo folder run
npm install && npm run build.Copy the contents of
panel/into the extensions folder above, in a folder namedcom.aemotion.mcp.Enable unsigned panels.
macOS:
for v in 9 10 11 12; do defaults write com.adobe.CSXS.$v PlayerDebugMode 1; doneWindows: for each of 9 to 12,
reg add "HKCU\Software\Adobe\CSXS.<v>" /v PlayerDebugMode /t REG_SZ /d 1 /f
2. Allow scripts in After Effects
Open the preferences, go to Scripting & Expressions, and enable Allow Scripts to Write Files and Access Network.
macOS: After Effects > Settings
Windows: Edit > Preferences
3. Open the panel
Restart After Effects, then open Window > Extensions > AE Motion MCP and keep it open. Docking it in a workspace makes it load on startup.
The panel starts a small server on 127.0.0.1 (port 47670, or the next free port up to 47690) and writes its port and a random token to ~/.ae-motion-mcp/bridge.json. The MCP server reads that file to find it. If the panel is closed, every tool returns BRIDGE_DOWN.
4. Register the server with your client
Use the absolute path to dist/index.js.
Claude Code
claude mcp add ae-motion -- node /absolute/path/to/ae-motion/dist/index.jsClaude Desktop: add this to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\) and restart the app.
{
"mcpServers": {
"ae-motion": {
"command": "node",
"args": ["/absolute/path/to/ae-motion/dist/index.js"],
"env": { "AE_MCP_TOOLSETS": "core" }
}
}
}AE_MCP_TOOLSETS: core starts Claude Desktop with the core tools only (about 7.5k tokens of tool definitions instead of 16k on every message); the model adds 3D, timeline, masks, design or scripting with load_tools when it needs them. Leave it out to load everything. Claude Code does not need it: it loads MCP tools only when they are used.
Other clients: any client that can launch a stdio MCP server works with node /absolute/path/to/ae-motion/dist/index.js.
To set environment variables, add an env object next to args in the JSON above, or pass --env KEY=value to claude mcp add (before the server name).
Verify it works
The panel status line shows
127.0.0.1:<port>, and~/.ae-motion-mcp/bridge.jsonexists.In your client, ask: "get the project info". You should get the project's comps, footage and the After Effects version.
Then try something visible: "create a 1920x1080 comp at 30 fps, 5 seconds, with a white solid background, and show me frame 0".
If a call fails, the error includes a code and a hint. See Troubleshooting.
What it can do
68 tools in eleven groups. The full reference, with behavior notes, is in docs/tools.md.
Group | Tools |
Inspect |
|
Project |
|
Layers |
|
Timeline |
|
Masks and mattes |
|
Design |
|
Animate |
|
3D and camera |
|
Preview and render |
|
Escape hatch |
|
Server |
|
Also: resources ae://project and ae://selection, and the prompt motion-guide (conventions and a recommended build loop).
Conventions: time in seconds, sizes in pixels, colors [r,g,b] floats 0 to 1, scale in percent. Comps and layers are addressed by the numeric ids tools return; properties by alias (position, scale, rotation, opacity, anchor) or an array of match names (list_properties discovers them). Every mutating call is one undo step in After Effects.
Example prompts: "orbit the camera 120 degrees around the product over 4 seconds", "cut 3s to 5s out of every layer and close the gap", "line up these five layers one after another with a 10 frame overlap", "make these cards 3D, rotate them 25 degrees and add a spot light with shadows", "center the title and give it a soft drop shadow", "space these icons evenly across the bottom".
Configuration
All settings are environment variables on the MCP server process. The one exception is AE_MCP_BRIDGE_FILE, which must also be set for the panel's environment if you change it.
Variable | Effect |
| Folders (separated by the OS path delimiter, |
| Set to |
| Load only some tool groups, to send the model fewer tool definitions (cheaper requests): a comma list of |
| Full path to |
| Override the bridge file (default |
| Set to |
Security
The panel only listens on
127.0.0.1, and every request needs the random token stored in the bridge file, which is created readable by your user only.File paths passed to tools (
import_footage,apply_preset,save_project, render output) must be insideAE_MCP_ALLOWED_DIRS.run_jsxcan execute anything After Effects can, so it is off unless you opt in.Installing the panel turns on
PlayerDebugModefor CEP, which lets this user load any unsigned panel. Turn it back off if you uninstall (see below).
Troubleshooting
Symptom | Cause and fix |
| The panel isn't open. Open Window > Extensions > AE Motion MCP and keep it open. |
| After Effects was restarted or the panel reloaded. Close and reopen the panel. |
| After Effects isn't running, or the panel is closed. Check the status line in the panel. |
The panel isn't in the Window > Extensions menu | Re-run the installer, make sure |
Panel status shows "Cannot write bridge file" |
|
| Enable Allow Scripts to Write Files and Access Network in After Effects (see Installation). |
| Add the folder to |
| Set |
| The command may still be running. Check the panel, inspect state, then retry. A modal dialog open in After Effects also blocks commands. |
| Set |
| Save the project once (or call |
| The output file exists. Pass |
| Your After Effects version has no |
| N is a line of the installed |
| Your Node.js is older than 22.18, which cannot run |
Changes to the server don't show up | Run |
Panel logs are in ~/Library/Logs/CSXS/ on macOS and %TEMP% (csxs*.log) on Windows.
Updates
You find out about new versions in three places:
The After Effects panel shows the installed version and, when a newer release exists, a line like
v2.1.0 availablewith an Update to v2.1.0 button.Your AI client:
get_project(usually the first call) includes anupdatenote with the new version and the command to run, so the model can tell you. You can also ask "check for updates" (check_for_updates).GitHub: releases are git tags
vX.Y.Z; what changed is in CHANGELOG.md.
How the check works: the MCP server asks GitHub for the repository's version tags at most once a day, in the background, with a short timeout, and caches the answer in ~/.ae-motion-mcp/update.json (the panel only reads that file). It sends nothing but a normal anonymous request, and a failed check never affects a tool. Set AE_MCP_UPDATE_CHECK=0 to turn it off.
Updating and uninstalling
Update from the panel: click Update to vX.Y.Z (or Reinstall) in the AE Motion MCP panel, then click again to confirm. It runs git pull and the installer in your ae-motion folder, shows the output, and restarts the panel with the new version; then restart your AI client so it uses the new server. The panel finds the folder and your git / node / npm through install.json, which the installer writes, so a panel installed before this button existed needs one manual update first. If git pull fails (local changes, a branch without an upstream), update by hand.
Update by hand: in the repo folder, git pull, then run the installer again (bash scripts/install.sh, or ./scripts/install.ps1 on Windows; it rebuilds and replaces the installed panel). Reopen the AE Motion MCP panel (or restart After Effects) and restart the MCP server from your client. The panel's Version line shows the new version.
Uninstall:
Remove the server from your client (
claude mcp remove ae-motion, or delete the entry from the Claude Desktop config).Delete the installed panel folder (see Installation).
Delete
~/.ae-motion-mcp/.Optional: turn unsigned panels back off.
macOS:
for v in 9 10 11 12; do defaults delete com.adobe.CSXS.$v PlayerDebugMode; doneWindows: delete the
PlayerDebugModevalue underHKCU\Software\Adobe\CSXS.9toCSXS.12.
Documentation
docs/tools.md: every tool, the timeline and camera models, and behavior notes
docs/architecture.md: how the pieces fit, the wire protocol, the repository layout
docs/development.md: building, testing, adding a tool, After Effects quirks, verification status
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Build editable 3D scenes, direct characters and cameras, and export AI video references with MCP.
An MCP connector for Adobe After Effects. Real, editable layers and keyframes, not scripts.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
AI video editor for agents and humans: timeline, captions, color, audio and generation as MCP tools.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to control Adobe After Effects through a standardized MCP protocol, providing tools for composition creation, layer management, and animation.-
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients like Claude Code, Claude Desktop, and VS Code to build and edit inside a running Adobe After Effects, covering comps, layers, keyframes, effects, text animators, markers, and renders. It supports batched tool calls with single-step undo, frame previews for self-verification, reusable style tokens, and four one-call studio rigs.MIT
- AlicenseCqualityCmaintenanceEnables AI assistants and applications to control Adobe After Effects through the Model Context Protocol, including creating compositions, managing layers, and animating properties via keyframes and expressions.13126 npmMIT
- AlicenseAqualityAmaintenanceLets Claude drive Adobe After Effects to build comps, animate layers, apply effects, write expressions, and render frames back so the model can see its own work.31126 npm1MIT