Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AE_MCP_APPNoWith several After Effects versions open at once, choose one with AE_MCP_APP="Adobe After Effects 2026" (otherwise the newest running version is used).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Controls the After Effects that is open on this Mac, in code mode: instead of one tool per action, you write ExtendScript (ES3 JavaScript) and execute runs it inside After Effects.

  1. search_api first when unsure: it returns the relevant part of the After Effects scripting API and short guides (search_api("") lists everything; try "guide:basics", "guide:es3").

  2. execute the code. Assign result = ... (or end with an expression) to get data back as JSON. Each call is one undo step. Use log(...) for extra output. Batch related work in one call.

  3. preview_frame to look at a comp; render for final renders with aerender (AE stays usable).

ExtendScript is ES3: var only, no arrow functions, no Array.map/forEach, no JSON (use toJSON()). Collections are 1-based. Never call alert/confirm/prompt or any *WithDialog method: AE would wait for a click. When a member's name is uncertain, check it with members(obj) instead of guessing.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_apiA

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.

executeA

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};

preview_frameA

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).

renderA

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 4 tools

Disambiguation5/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness5/5

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

ActivityMaintained
ResponsivenessNo recent community issues