Skip to main content
Glama

ae-bridge

CI License: MIT

A minimal MCP server that lets an AI agent (Claude Code, Claude Desktop, or any MCP client) drive a running Adobe After Effects: build comps, add layers and effects, set keyframes and expressions, convert Illustrator logos to shapes, and render. There is no plugin or panel to install inside AE.

Claude Code animating a logo in After Effects through ae-bridge

Claude Code building a logo intro in a running After Effects. The working part is sped up 10x; the finished animation plays at real speed.

Windows only. It uses AfterFX.exe -r and the default C:\Program Files\Adobe\... install location. You need your own licensed copy of After Effects.

Not affiliated with or endorsed by Adobe. After Effects and ExtendScript are trademarks of Adobe Inc.

How it works

  1. A tool call becomes an ExtendScript job: helpers (prelude.jsx), your arguments and the tool's script body.

  2. The job is written to %TEMP%\ae-bridge\<id>.jsx and handed to the open AE with AfterFX.exe -r <file>.

  3. The script writes {ok, value | error} as JSON to <id>.json, writing a temporary file first and then renaming it.

  4. Python polls for the file, reads it and returns the result.

Each editing tool is wrapped in an undo group, so one Ctrl+Z in AE undoes one tool call. Dialogs are suppressed while the job runs.

Related MCP server: ae-mcp

Setup

  1. In AE: Edit > Preferences > Scripting & Expressions > Allow Scripts to Write Files and Access Network. Without this setting, every call times out.

  2. uv sync

  3. With AE open: uv run ae-bridge ping

Register with Claude Code (replace the path with where you cloned it):

git clone https://github.com/WaifaiMT/ae-bridge.git
claude mcp add -s user aftereffects -- uv --directory C:/path/to/ae-bridge run ae-bridge

CLI

ae-bridge ping
ae-bridge eval "return app.project.numItems;"
ae-bridge exec script.jsx      # file body runs as a function; use return

Environment variables

Var

Default

Meaning

AE_BRIDGE_AFTERFX

newest C:\Program Files\Adobe\Adobe After Effects*\Support Files\AfterFX.exe

AE executable

AE_BRIDGE_TIMEOUT

60

seconds per call

AE_BRIDGE_AUTOLAUNCH

0

1 = launch AE if it isn't running (the first call waits for startup)

AE_BRIDGE_DIR

%TEMP%\ae-bridge

job/result folder

Tools

ping, eval_jsx, project_info, list_comps, comp_info, create_comp, add_text_layer, add_solid, add_null, add_item_to_comp, import_file, convert_to_shapes, get_property, set_property, set_keyframes, set_expression, add_effect, layer_update, render_frame, render, save_project, open_project.

Addressing:

  • Comps: by name or project index. Leave comp out to use the active comp.

  • Layers: by name or 1-based index.

  • Properties: by a / path of display or match names, e.g. Transform/Position or Effects/Gaussian Blur/Blurriness.

  • Units: times in seconds, colors as [r,g,b] from 0 to 1.

In eval_jsx, the helpers AEB.comp(), AEB.layer(), AEB.prop(), AEB.item() and AEB.json() are available.

Limits

  • Each call takes about 0.3–1 s to start up.

  • A modal dialog in AE blocks calls until someone closes it, and the call times out with a hint.

  • render blocks AE until the render finishes. For long renders, consider aerender.exe instead.

  • Calls run one at a time (there is a lock).

Illustrator logos

  1. import_file(path="logo.ai", as_comp=True) makes each top-level Illustrator layer its own AE layer.

  2. convert_to_shapes(comp="logo") turns every .ai/.eps/.pdf layer into an editable shape layer.

    • By default it deletes the original vector layer and gives the shape layer its name, so layer names still work.

    • Pass keep_original=True to keep the originals. AE turns their video off.

    • Pass layers=[...] to convert only some layers.

  3. Animate the paths, e.g. add ADBE Vector Filter - Trim and keyframe ADBE Vector Trim End from 0 to 100 for a draw-on.

Development

uv sync
uv run ruff check .
uv run pytest

The tests don't need After Effects: they replace AfterFX.exe with a fake that reads the job script and writes the result file, and check that the README lists exactly the tools the server registers. CI runs them on Windows and Linux.

License

MIT © 2026 Gilbert Addai Gyan

Available Tools

22 tools
add_effectC

Add an effect by display or match name (e.g. 'Gaussian Blur' or 'ADBE Gaussian Blur 2'), optionally setting params by name: {"Blurriness": 20}.

Inputs: layer (required), effect (required), comp, params.

add_item_to_compC

Place a project item (footage or comp, by name or index) into a comp as a new layer.

Inputs: item (required), comp, start_time.

add_nullC

Add a null object layer.

Inputs: comp, name.

add_solidB

Add a solid layer (comp size by default). adjustment=True makes it an adjustment layer.

Inputs: comp, name, color, width, +2 more.

add_text_layerC

Add a text layer. font is a PostScript name (e.g. 'Arial-BoldMT'). justification: left | center | right.

Inputs: text (required), comp, font, name, +4 more.

comp_infoB

Describe a comp and its layers (type, timing, parent, effects). comp=None uses the active comp.

Inputs: comp.

convert_to_shapesA

Convert Illustrator/EPS/PDF footage layers into editable shape layers (AE's 'Create Shapes from Vector Layer'). layers=None converts every vector layer in the comp. By default the original vector layer is deleted and the shape layer takes its name, so existing layer references keep working. keep_original=True leaves the original (AE turns its video off) and names the new layer ' Outlines'.

Inputs: comp, layers, rename, keep_original.

create_compD

Create a new composition.

Inputs: name (required), fps, width, height, +4 more.

eval_jsxA

Run ExtendScript inside AE. code is a function body: use return to send back a value (plain objects/arrays/numbers/strings serialize to JSON). Helpers: AEB.comp(nameOrIndex), AEB.layer(comp, nameOrIndex), AEB.prop(layer, 'Transform/Position'), AEB.item(nameOrIndex). Pass undo_name to wrap the edit in an undo group.

Inputs: code (required), timeout, undo_name.

get_propertyB

Read a property's value (at time, default current time), keyframes and expression.

Inputs: layer (required), property (required), comp, time.

import_fileC

Import a file into the project. as_sequence for image sequences; as_comp for layered PSD/AI.

Inputs: path (required), as_comp, as_sequence.

layer_updateB

Change layer basics: rename, trim, shift, toggle, parent (use '' to unparent), reorder or delete.

Inputs: layer (required), comp, name, delete, +6 more.

list_compsB

List compositions with size, duration and frame rate.

Inputs: no named parameters.

open_projectA

Open a .aep. With save_current, the current project is saved first if it has a file (otherwise AE may show a save prompt and the call times out).

Inputs: path (required), save_current.

pingA

Check the bridge: returns AE version and the open project's path.

Inputs: no named parameters.

project_infoA

List every project item (id/index, name, type, parent folder).

Inputs: no named parameters.

renderA

Add a comp to the render queue with an output file, then (start=True) render it. AE is blocked while rendering. Templates are names from AE's output module / render settings lists.

Inputs: comp (required), output_path (required), start, timeout, +2 more.

render_frameB

Save one frame of a comp to a PNG (for previewing the result). Returns the file path.

Inputs: output_png (required), comp, time.

save_projectB

Save the project (to path if given, i.e. Save As).

Inputs: path.

set_expressionB

Set (or clear with '') an expression on a property. Returns any expression error AE reports.

Inputs: layer (required), property (required), expression (required), comp.

set_keyframesC

Set keyframes: keyframes=[{"time": 0, "value": [960,540]}, ...]. ease: linear | ease (easy ease, 33%) | hold. A per-key "ease" overrides it.

Inputs: layer (required), property (required), keyframes (required), comp, +2 more.

set_propertyC

Set a property value. With time, sets (or adds) a keyframe at that time instead.

Inputs: layer (required), value (required), property (required), comp, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 22 tools

    Disambiguation4/5

    Most tools target clearly distinct actions/resources, and descriptions distinguish overlapping areas such as property reads/writes, keyframes, expressions, and rendering. The main ambiguity is that eval_jsx is a generic escape hatch that can duplicate almost any other tool, and layer_update bundles several unrelated layer mutations.

    Naming Consistency4/5

    Almost all names use snake_case and are readable, with predictable verb_noun patterns for most operations (add_text_layer, get_property, set_keyframes, render_frame). Minor deviations exist: project_info and comp_info are noun-only, layer_update is noun_verb, and render is a bare verb.

    Tool Count3/5

    At 22 tools, the surface is heavy for a bridge server, though the complexity of After Effects automation means many operations are genuinely useful. It sits in the borderline 16-25 range where consolidation, especially around property/layer operations, could improve scannability.

    Completeness4/5

    The set covers core project, composition, layer, property, effect, and render workflows, including a powerful eval_jsx fallback. Some lifecycle gaps remain, such as explicit deletion of comps/project items, precomposing, masks, cameras/lights, and richer text editing, but most can be worked around via eval_jsx or layer_update.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables 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.
      17
      18 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Connects LLMs and agentic assistants directly to an active Adobe After Effects session on Windows, enabling composition inspection, parametric motion graphics, keyframe injection, vector masks, audio beat analysis, and automated rotoscoping.
      MIT