After Effects MCP Studio
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., "@After Effects MCP Studio Build a 10-second kinetic title in the active comp and show me a contact sheet."
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.
After Effects MCP Studio
Let an AI agent drive Adobe After Effects — with eyes and ears. An MCP server + CEP panel for professional motion design: build comps, animate, wire expressions, sync to music, pull from your asset packs, and look at the result (contact sheets, onion skins, reference diffs, aerender previews) before calling it done.

The promo above was assembled end-to-end by an AI agent through this tool (layout, kinetic type, beat sync, SFX, Deep Glow / BCC / Sapphire looks), then verified with its own contact sheets:
Status: v0.3.1 preview · Windows 11 + After Effects 2025–2027 tested · macOS code paths written but not yet verified on hardware · MIT
📖 使用指南(中文):docs/GUIDE.zh-CN.md
Why another AE MCP?
Visual closed loop |
|
Music & sound |
|
Your asset library |
|
Production-grade safety | 4-second OS-level modal-dialog watchdog, non-hijacking |
Third-party plugins | Render-tree scan before GUI renders; plugins known to hang the GUI (default: Red Giant Universe) are refused or routed to |
Agent craft knowledge |
|
Compact tool surface | 26 domain tools with |
Related MCP server: ae-mcp
Tools (26)
ae_status ae_dialog ae_eval_jsx ae_project ae_comp ae_effect ae_render_visual · ae_layer ae_property ae_keyframe ae_expression ae_shape ae_text ae_mask ae_3d ae_footage ae_item ae_marker ae_guide ae_render_queue ae_app ae_batch · ae_audio ae_assets ae_preset ae_library
Highlights: Cubic-Bezier → AE speed/influence easing, all three text selectors + variable-font axes, explode_groups for shape layers, modern track mattes, Classic / Advanced 3D / Cinema 4D renderers with hybrid_precomp + world-space link_camera, stage-LED slice_screens, probe_enum for undocumented plugin dropdowns.
Architecture
AI client ⇄ MCP (stdio | Streamable HTTP) ⇄ Node server ⇄ HTTP + token (127.0.0.1) ⇄ CEP panel ⇄ ExtendScript (strict ES3 modules)
└─ sharp · ffmpeg · fft · aerender · OS dialog watchdogQuick start
Requirements: Node.js 18+ (tested 24), After Effects 2025+, ffmpeg on PATH (audio + previews). In AE enable Preferences → Scripting & Expressions → Allow Scripts to Write Files and Access Network.
git clone https://github.com/panlus/ae-mcp-studio.git
cd ae-mcp-studio
npm install
powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1 # macOS: bash ./scripts/install.shThe installer enables CEP PlayerDebugMode (the panel is unsigned), links cep/ into the CEP extensions folder and links the craft skill into ~/.agents/skills/. Restart AE and open Window → Extensions → AE MCP Studio — the panel starts the bridge.
Add the server to your MCP client:
{
"mcpServers": {
"ae-studio": {
"command": "node",
"args": ["/absolute/path/to/ae-mcp-studio/server/index.mjs"]
}
}
}Streamable HTTP instead: npm run start:http → http://127.0.0.1:47930/mcp.
Then ask your agent: "Check ae_status, build a 10-second kinetic title in the active comp and show me a contact sheet."
Third-party plugins
Some plugins can dead-lock After Effects when they are added or rendered inside the GUI from a script. On the reference machine this was Red Giant Universe (its licensing service connection fails), while Deep Glow 2, BCC, Sapphire and Trapcode were fine. The tool therefore:
refuses to add hazard effects in the GUI (
GUI_HAZARD_EFFECT, override withallowHazard: true),blocks GUI renders that contain them and lets
ae_render_visualrender those comps with aerender instead (save the project first),renders other third-party effects in the GUI with dialog suppression lifted.
Configure the hazard list per user in %APPDATA%\ae-mcp-studio\config.json (macOS: ~/Library/Application Support/ae-mcp-studio/config.json):
{ "guiHazardPatterns": ["^Universe_", "^RG_UNI_", "^MX_UNI_", "^uni\\."] }[] disables the guard. Apply hazard plugins headlessly with the GUI closed: AfterFX.com -noui -r your_pass.jsx (Windows; AfterFX.exe -noui -r does nothing). See the guide for a full example.
Security
ae_eval_jsxexecutes arbitrary ExtendScript with your user rights — only connect agents you trust.The CEP bridge listens on
127.0.0.1only and requires a random per-session token written to%TEMP%/ae-mcp-studio-bridge.json.The Streamable HTTP transport binds to
127.0.0.1by default; do not expose it on a network interface.
Development
npm test # unit + MCP handshake + strict-ES3 lint of every .jsx
node scripts/aerender-frames-smoke.mjs <project.aep> <comp> 0 0.5 # aerender frame path, no AE GUI neededJSX changes hot-reload from the panel (Reload JSX) or via ae_project(action="reload_jsx"); server changes need an MCP client restart. Roadmap and pitfalls log (Chinese): docs/ROADMAP.md.
Acknowledgements
Created by Panlus Jing with AI pair-programming. Architecture and agent-workflow design were informed by studying the open-source MCP and After Effects automation community, including Dakkshin/after-effects-mcp, kumoproductions/mcp-aftereffects, Engine-Room-Games/after-effects-mcp, and figma/mcp-server-guide.
Third-party notices
cep/lib/CSInterface.js— Adobe CEP-Resources (distributed under the Adobe license notice in its file header).cep/jsx/vendor/json2.js— Douglas Crockford (Public Domain).Core Node dependencies:
@modelcontextprotocol/sdk,zod,sharp,fft.js,music-tempo,srt-parser-2.
License
MIT © 2026 Panlus Jing
Available Tools
26 toolsae_3dC
Inspect and configure 3D comp renderer (Classic / Advanced 3D / Cinema 4D), cameras, lights, 3D materials, and cross-comp hybrid 3D workflows. Actions: info, renderer_set, camera_set, light_set, material_set, link_camera, hybrid_precomp.
Inputs: action (required), comp, name, layer, +12 more.
ae_appC
Host application utilities: cache/memory control, viewer options, menu executeCommand escape hatch, app.settings, and restart (AE 25.4+). Actions: cache, viewer, command, settings, restart.
Inputs: action (required), key, mode, zoom, +11 more.
ae_assetsB
Discover, index, visually preview, and import local After Effects asset packs (Motion Bro pack.json, AEViewer packs, local .aep/.ffx/.wav/.mp3/.mp4 folders). Actions: roots (list/add/remove asset root directories), index (rebuild local index), search (keyword & type search), preview (extract contact strip from asset .mp4/.png preview), import (import .aep/.ffx/audio/footage into project & comp).
Inputs: action (required), id, comp, mode, +15 more.
ae_audioA
Audio rhythm & subtitle automation powered by ffmpeg + FFT + SRT/LRC parsing. Actions: list_audio_layers, analyze_beats (multi-band low/mid/high onset & BPM detection + optional marker placement), envelope_keyframes (sparse audio energy keyframes to Slider Control or target property), import_subtitles (.srt / .lrc to Hold-keyframed Text Layer, split layers, or markers).
Inputs: action (required), fps, band, comp, +27 more.
ae_batchB
Execute multiple internal host ops sequentially inside a single AE Undo group, returning per-step results. Supports onError='stop' (default) or 'continue'.
Inputs: steps (required), onError, undoName, timeoutMs.
ae_compC
Inspect, create, modify, audit, and slice After Effects compositions. Actions: list, info, create, modify, check, time_get, time_set, slice_screens (stage/LED multi-screen slicing with [0,0] anchor to prevent half-pixel blur).
Inputs: action (required), comp, name, open, +16 more.
ae_dialogB
Modal dialog watchdog & queue recovery for AE and third-party plugins (e.g., Trapcode Particular warnings). Actions: detect, policy_get, policy_set, dismiss, reset_queue.
Inputs: action (required), handle, policy, buttonText.
ae_effectB
Inspect and manipulate AE & third-party plugin effects (Trapcode Particular, Optical Flares, etc.). Actions: list (full param metadata + AE 26+ dropdown text), add, set (batch with per-param status), remove, reorder, copy, probe_enum (probe dropdown enum values and enabled dependencies).
Inputs: layer (required), action (required), max, min, +13 more.
ae_eval_jsxA
Controlled ES3 ExtendScript escape hatch wrapped in UndoGroup and try/catch. Injects helpers: project, comp, findComp(ref), findLayer(comp, ref), resolveProp(layer, ref), log(...). Returns result, logs, and exact line/sourceLine on errors. Strictly use ES3 syntax (var/function only).
Inputs: code (required), undoName, timeoutMs, suppressDialogs.
ae_expressionB
Manage AE expressions with immediate evaluation & error checking. Actions: set (raw expression or cross-layer link), clear, validate (scan comp or whole project), autofix (app.project.autoFixExpressions).
Inputs: action (required), to, comp, from, +5 more.
ae_footageC
Manage project footage, image sequences, missing items, interpretation, and proxies. Actions: import, import_folder, missing, reload, replace, interpret, proxy.
Inputs: action (required), comp, item, loop, +17 more.
ae_guideC
Manage composition or layer guides (AE 26.5+). Actions: list, add, set, remove.
Inputs: action (required), comp, index, layer, +3 more.
ae_itemB
Organize and manage Project Panel items (comps/folders/footage). Actions: activate (open comp in viewer), organize (move to folder or auto byType), rename, set (comment/label/selected), remove.
Inputs: action (required), item, name, label, +4 more.
ae_keyframeC
Author clean, editable keyframes with Flow-style Cubic-Bezier ([x1,y1,x2,y2] or preset) -> AE speed/influence conversion. Actions: get, set, ease, edit, tangent, copy, offset, reverse, scale_timing, clear.
Inputs: layer (required), action (required), property (required), comp, +27 more.
ae_layerC
Unified layer operations with native Layer.id support and modern arbitrary-layer Track Matte. Actions: create (solid/null/adjustment/text/shape/av/camera/light/mesh), info, set, track_matte, duplicate, remove, reorder, precompose, stagger, center_anchor, time_remap.
Inputs: action (required), shy, comp, font, +59 more.
ae_libraryB
Personal reusable Expression & ES3 ExtendScript snippet library (bundled MIT starters + user snippets). Supports parameter substitution ({{param}}) and promoting recent successful ae_eval_jsx executions into reusable templates. Actions: list, search, get, save, promote_recent, apply, remove.
Inputs: action (required), id, tag, code, +12 more.
ae_markerC
Manage composition and layer timeline markers. Actions: list, add, remove, nearest, snap.
Inputs: action (required), dir, set, url, +8 more.
ae_maskC
Manage layer masks, paths, and mask keyframes (rotoscoping/morphing). Actions: list, add, set, path_get, path_set, keyframes, remove.
Inputs: layer (required), action (required), comp, keys, +14 more.
ae_presetB
Browse, search, and apply After Effects animation presets (.ffx) from User Presets, AE Built-in Presets, or custom folders. Actions: list, search, apply.
Inputs: action (required), dir, comp, name, +7 more.
ae_projectB
Manage the After Effects project safely. Actions: info, save, snapshot (Node copies saved .aep without hijacking AE's active file path), snapshots_list, revert, reload_jsx.
Inputs: action (required), name, limit, snapshot, +4 more.
ae_propertyC
Inspect and edit layer properties using friendly aliases, dotted paths (including multi-level ADBE matchNames and Effects..), or explicit path arrays. Actions: get, set, tree, separate.
Inputs: layer (required), action (required), comp, root, +6 more.
ae_render_queueC
Manage Render Queue and MOGRT export (non-blocking queuing; actual UI render runs asynchronously or via aerender). Actions: list, add, item_set, remove, control, templates, mogrt_param, mogrt_export.
Inputs: action (required), all, comp, mode, +11 more.
ae_render_visualB
Multi-modal visual verification loop. Actions: frame (single PNG), contact_sheet (multi-timestamp grid), crop (1:1 detail crops), sample_pixels (RGBA sampling), preview_video (lightweight H.264 MP4 via frame sequence or background aerender), onion_skin (motion trail composite), alpha_view (checkerboard RGB + Alpha grayscale), compare_ref (side-by-side / 50% overlay / diff heatmap vs reference or clipboard), clipboard (extract image from OS clipboard).
Inputs: action (required), fps, comp, time, +24 more.
ae_shapeC
Shape layer tools including Explode Shape Layers (explode_groups with automatic geometric anchor centering) and ALL 10 shape modifiers (merge, offset, pucker_bloat, repeater, round_corners, trim, twist, wiggle_paths, wiggle_transform, zig_zag). Actions: inspect, add_group, add_element, path_get, path_set, operator_add, operator_set, explode_groups.
Inputs: layer (required), action (required), comp, name, +13 more.
ae_statusA
Inspect After Effects MCP Studio connection status: CEP bridge health, queue state, AE version, active composition, loaded ES3 JSX modules, OS-level modal dialogs, and local aerender/ffmpeg availability.
Inputs: includeToolsEnv.
ae_textC
TextDocument content/styling, variable font axes (AE 26+), and Text Animators supporting ALL 3 selectors (range, wiggly, expression). Actions: get, set, axis_add, animator_list, animator_add, selector_set.
Inputs: layer (required), action (required), tag, comp, +24 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 26 tools
Tools are partitioned cleanly by AE domain object (comp, layer, property, keyframe, effect, mask, shape, text, 3D, footage, item, marker, guide, audio, assets, preset, render), so an agent can usually pick correctly. A few boundaries blur: ae_eval_jsx vs ae_batch vs ae_library (all 'run code' paths), ae_render_queue vs ae_render_visual (both rendering), and ae_property vs ae_keyframe vs ae_expression (all get/set on properties).
Every tool uses the same ae_<noun> snake_case pattern with a single, uniform action vocabulary (list/info/get/set/add/remove) exposed via an Actions parameter. No camelCase or verb-style drift across the set.
At 26 tools this is at the heavy end, and several top-level tools aggregate many actions each, making the surface feel broad. The count is defensible because each tool maps to a genuinely distinct After Effects subsystem rather than being redundant, but consolidation (e.g. merging render tools or escape hatches) would sharpen it.
Coverage across the AE domain is unusually thorough: project lifecycle, comps, layers, properties, keyframes, expressions, effects, masks, shapes, text, 3D, footage, markers, guides, presets, audio, rendering, visual verification, plus status/dialog/watchdog and JSX escape hatches. Only niche gaps remain (e.g. explicit undo/history or composition deletion, likely reachable via item/layer tools).
Maintenance
Related MCP Connectors
AI video editor your agent can drive: plan scenes, edit a multi-track timeline, and render MP4s.
Video production studio for AI agents: AI media, motion graphics as code, timeline and export.
Build and run visual creative-production workflows from your AI agent.
One sentence to a finished animation: your AI writes motion graphics as code and checks real frames.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control Adobe After Effects to create videos programmatically, with commands for comps, layers, effects, and rendering.9 npm28MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to operate Adobe After Effects with the dexterity of an editor: reading projects, creating and rigging layers, setting real velocity curves, animating text, building native SVG-based shapes, applying effects, expressions, masks, and viewing render snapshots to verify results.1718 npm1MIT
- 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
- AlicenseAqualityCmaintenanceEnables AI agents to drive Adobe After Effects through a local bridge panel: building compositions and layers, animating with keyframes and expressions, laying out and warping type, inspecting rendered frames, and running background renders. Bundled skills turn a short brief into a finished, sound-designed video.81MIT
