ae-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-mcp add a 2-second fade-in to the title text layer in my Main comp"
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-mcp
An MCP server for Adobe After Effects, built in code mode. It exposes a few tools instead of one tool per action. The agent looks up what it needs in the scripting API and then writes ExtendScript that runs inside the After Effects you have open. The tool list stays small (about 1,500 tokens) whatever the agent does, and one call can do work that would otherwise take dozens of tool calls.
Tool | What it does |
| Searches a compact After Effects scripting API index and guides (text, shapes, keyframes, render, ES3 rules…). |
| Runs ExtendScript in the open After Effects as one undo step and returns the result as JSON. |
| Returns a rendered frame of a comp as an image, so the agent can see what it did. |
| Renders with |
Agent (Claude / Codex / Gemini)
│ MCP (stdio)
▼
ae-mcp (this package, Python ≥ 3.11)
│ osascript → DoScriptFile (one .jsx per call)
▼
After Effects (open) ── writes the JSON result to a private temp fileNothing has to be installed inside After Effects.
Requirements
macOS, After Effects 2024 or later (tested on After Effects 2026, 26.2).
uv (
curl -LsSf https://astral.sh/uv/install.sh | sh).In After Effects, Settings › Scripting & Expressions:
turn on Allow Scripts to Write Files and Access Network (the result comes back through a file);
turn off Enable JavaScript Debugger, so a failing script reports an error instead of opening the debugger.
The first call triggers a macOS prompt asking whether your agent app may control After Effects: allow it (System Settings › Privacy & Security › Automation).
Related MCP server: Dsrupt After Effects MCP
Installation
Register the server with your agent. The command is
uvx --from git+https://github.com/toolbox-design-ia/ae-mcp ae-mcp. Desktop apps don't always inherit your
shell PATH: if they can't find uvx, use its full path (which uvx).
Claude Desktop: in ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"aftereffects": {
"command": "/Users/YOU/.local/bin/uvx",
"args": ["--from", "git+https://github.com/toolbox-design-ia/ae-mcp", "ae-mcp"]
}
}
}Claude Code: claude mcp add aftereffects -- uvx --from git+https://github.com/toolbox-design-ia/ae-mcp ae-mcp
Check the connection with After Effects open:
uvx --from git+https://github.com/toolbox-design-ia/ae-mcp ae-mcp statusWith several versions open at once, choose one with AE_MCP_APP="Adobe After Effects 2026"
(otherwise the newest running version is used).
How execute works
The code runs as ExtendScript (ES3) inside After Effects:
var comp = app.project.items.addComp("Main", 1920, 1080, 1, 10, 24);
var title = comp.layers.addText("Hello");
title.transform.opacity.setValuesAtTimes([0, 1], [0, 100]);
result = {comp: comp, title: title};Return data by assigning
resultor ending with an expression. After Effects objects come back as summaries (items with id and name, layers with index and comp, properties with matchName, path and value).Each call is one undo step (
undo_name, default "ae-mcp").Helpers:
log(...),describe(obj, depth),members(obj)(real properties and methods, by reflection),findComp(name),findItem(name, type),findItems(nameOrTest),activeComp(),toJSON(value).Scripts must not open dialogs (
alert,confirm,prompt,…WithDialog): After Effects would wait for a click.
Command line
ae-mcp status # is After Effects reachable?
ae-mcp run 'app.project.numItems' # run a snippet ("-" reads it from stdin)
ae-mcp search keyframe ease # search the API indexDevelopment
uv sync
uv run pytestThe tests run runtime.jsx under Node with a small fake After Effects when Node is installed.
Notes
The API index in
src/ae_mcp/data/api.txtis written for this project; it is a summary, not Adobe's documentation. When unsure, the agent checks members live withmembers(obj).Adobe is bringing UXP plugins to After Effects (public beta, 27.1). A UXP bridge may be added later; this version uses ExtendScript, which every current After Effects supports.
License
Freeware: free to use, including commercially; not open source. See LICENSE.
Adobe and After Effects are trademarks of Adobe Inc. This project is not affiliated with or endorsed by Adobe.
Available Tools
4 toolsexecuteADestructive
Run ExtendScript (ES3) inside the open After Effects and return the result as JSON.
Assign result = ... or end with an expression to return a value; a top-level return works
too. AE objects come back summarised (items, layers, properties with their values).
Helpers: log(...), describe(obj, depth), members(obj), findComp(name), findItem(name, type),
findItems(nameOrTest), activeComp(), toJSON(value).
The whole call is one undo step named undo_name ("" for none). depth limits how deep
plain objects and arrays are expanded (default 3). timeout is in seconds.
Example: var comp = app.project.items.addComp("Main", 1920, 1080, 1, 10, 24); var s = comp.layers.addSolid([0.1, 0.1, 0.1], "BG", 1920, 1080, 1); s.transform.opacity.setValuesAtTimes([0, 1], [0, 100]); result = {comp: comp, layers: comp.numLayers};
Inputs: code (required), depth, timeout, undo_name.
preview_frameARead-only
Look at one rendered frame of a comp (PNG, scaled to fit max_size pixels).
comp is a comp name (default: the active comp); time is in seconds (default: the comp's
current time indicator).
Inputs: comp, time, max_size.
renderADestructive
Render with aerender in a separate process, so the After Effects interface stays usable.
project defaults to the project open in AE; aerender reads the saved .aep, so unsaved changes
are not rendered unless save_first is true. With comp (and optionally output, a file path
or a sequence pattern like /out/shot_[####].exr), that comp is rendered; without comp, the
project's render queue is rendered as set up. render_settings / output_module are template
names; the output module decides the file format (the extension in output does not). List
them with execute: var rq = app.project.renderQueue.items.add(comp); result = {rs: rq.templates,
om: rq.outputModule(1).templates}; rq.remove(); Frames are comp frame numbers.
Inputs: comp, output, project, timeout, +5 more.
search_apiARead-only
Search the After Effects scripting API and ae-mcp guides.
query can be keywords ("add solid layer", "keyframe ease", "render queue output"), a class
name for all its members ("CompItem", "Property", "TextDocument"), a guide name ("guide:text",
"guide:shapes", "guide:es3") or empty for the list of classes and guides.
Inputs: limit, query. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a clearly distinct stage of the workflow: search_api reads documentation, execute runs code inside AE, preview_frame inspects a single rendered frame, and render produces output externally via aerender. The descriptions explicitly disambiguate the easily-confused pairs (execute vs render, preview vs render) by explaining process model and intent.
All names are consistent snake_case, but the verb pattern is mixed: two are verb_noun (search_api, preview_frame) while two are bare verbs (execute, render). Still perfectly readable and each name accurately signals its action.
Four tools is a tight, well-scoped set for a scripting bridge: documentation lookup, code execution, visual verification, and batch rendering. Each tool earns its place and there is no redundant or filler surface.
The surface covers the full loop for its domain — discover API usage, execute arbitrary ES3 (a universal escape hatch for saving, undo, project manipulation, etc.), visually confirm results, and render final output. No obvious dead ends remain, since anything not exposed as a first-class tool is reachable through execute.
Maintenance
Related MCP Connectors
AI video editor your agent can drive: plan scenes, edit a multi-track timeline, and render MP4s.
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
Independent directory of agentic AI tools — search, compare & recommend via MCP. Read-only.
Build and run visual creative-production workflows from your AI agent.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables AI agents to inspect and control a live Adobe After Effects session, including reading active composition and layer data and evaluating arbitrary ExtendScript.4MIT
- AlicenseAqualityCmaintenanceEnables AI agents to connect to Adobe After Effects locally, inspecting projects, comps, and layers, discovering and executing a catalog of operations, rendering frames, and saving projects, with on-demand skill-based guidance.121MIT
- AlicenseAqualityBmaintenanceLets AI agents drive a running Adobe After Effects (~270 undo-safe operations). Works with every UI language Adobe ships and sees the frame: draws Object Matte on what it sees (lassos, ⊕/⊖ points, a preview of gaps and people) and syncs AI-generated layers with the plate frame by frame. A large skills library, built for AI and generative features: Roto Brush, Object Matte, Content-Aware Fill.13343 npm6Apache 2.0
- AlicenseBqualityBmaintenanceEnables AI assistants to command and automate Adobe After Effects (2026, with 2025/2024 support) through validated, type-safe tools covering project, composition, layer, text, keyframe, effect, audio, and render operations. It bridges MCP clients to After Effects via an ExtendScript execution layer with approval-gated destructive actions and a simulation mode for testing without the app installed.34MIT