About a-y-ibrahim/after-effects-mcp
a-y-ibrahim/after-effects-mcp is an MCP server published by a-y-ibrahim in the Content category: class Arabic/RTL & multilingual support (works on AE in any UI language). 47 tools. Conduid read 57 tools from its source: add-any-effect, add-marker, add-markers-bulk, add-to-render-queue, analyze-audio-waveform, animate-from-data and 51 more. It is published to npm as after-effects-mcp and starts with npx.
The repository has 34 stars and 12 forks, and its last commit was on 14 Nov 2026. Conduid has no tagged release on record for it. Its topics include adobe, after-effects, arabic, automation, extendscript and i18n.
Install
claude mcp add a-y-ibrahim-after-effects-mcp -- npx -y after-effects-mcpnpx -y after-effects-mcpgit clone https://github.com/a-y-ibrahim/after-effects-mcpTools (57)
add-any-effectAdd any After Effects effect to a layer by matchName or display name.| Parameter | Type | Description |
|---|---|---|
| compIndex * | number | 1-based index of the target composition in the project panel. |
| effect * | string | Effect identifier. Prefer matchName for reliability (e.g., 'ADBE Gaussian Blur 2'). |
| effectSettings | object | Optional parameters to set immediately after adding the effect. |
| layerIndex * | number | 1-based index of the target layer within the composition. |
add-markerAdd a marker to a layer or composition at a specified time. Markers can include a comment, label color, chapter name, URL and duration.| Parameter | Type | Description |
|---|---|---|
| chapter | string | Chapter name associated with the marker. |
| comment | string | Marker comment / label text. |
| compIndex * | number | 1-based composition index. |
| duration | number | Marker duration in seconds (0 = point marker). |
| label | number | Label color index (0 = none, 1-16 map to AE label colors). |
| layerIndex | number | Target layer index (required for layer markers). |
| layerName | string | Target layer name (alternative to layerIndex). |
| markerType | string | 'layer' (default) or 'comp' for a composition marker. |
| timeInSeconds | number | Time in seconds where the marker is placed. Defaults to current time. |
| url | string | URL to open when the marker is reached (for web export). |
add-markers-bulkAdd multiple layer or composition markers at once. Use this after analyze-audio-waveform to place markers at detected peaks, or to add any set of markers in a single call.| Parameter | Type | Description |
|---|---|---|
| compIndex * | number | 1-based composition index. |
| layerIndex | number | Target layer index (required for layer markers). |
| layerName | string | Target layer name (alternative to layerIndex). |
| markerType | string | 'layer' (default) or 'comp' for composition-level markers. |
| markers | array | Time in seconds for this marker. |
add-to-render-queueAdd a composition to the After Effects render queue and configure its output. Select the comp by compName (most reliable), compIndex (1-based among compositions), or leave both empty to use the active comp. Templates must already exist in this AE installation.| Parameter | Type | Description |
|---|---|---|
| compIndex | number | 1-based index among compositions. Used only if compName is omitted. |
| compName | string | Name of the composition to render (recommended). |
| endTime | number | Render span end in seconds (optional). |
| outputModuleTemplate | string | Name of an existing Output Module template to apply (e.g. 'Lossless', 'H.264 - Match Render Settings - 15 Mbps'). |
| outputPath | string | Absolute output file path (e.g. C:\\renders\\out.mov). The extension should match the output module format. |
| renderSettingsTemplate | string | Name of an existing Render Settings template to apply (e.g. 'Best Settings', 'Draft Settings'). |
| startTime | number | Render span start in seconds (optional). |
analyze-audio-waveformAnalyze an audio file to extract waveform amplitude data and detect peaks/transients. First call get-audio-info to retrieve the sourceFilePath, then pass it here. Returns normalized amplitude values (0-1) at evenly spaced time intervals plus an array of peak times where transients are detected. Uncompressed PCM WAV is read natively; any other format (mp3, m4a/aac, ogg, flac, a video file's audio track, ...) is transcoded on the fly via ffmpeg if it is installed and on PATH (override its location with the AE_FFMPEG_PATH env var).| Parameter | Type | Description |
|---|---|---|
| filePath * | string | Absolute path to the audio file (obtained from get-audio-info sourceFilePath). WAV works with no extra dependency; other formats need ffmpeg installed. |
| numPoints | number | Number of amplitude samples to return (default: 200). Higher = more detail. |
animate-from-dataGenerate After Effects keyframes for a layer property directly from an arbitrary numeric data series - stock prices, sensor readings, scores, survey results, or any other time-ordered numbers (not audio; see animate-to-audio for that). Provide either `data` (explicit {time, value} points) or `values` + `interval` (an evenly-spaced series with an implied time step) - not both. Each raw value is normalized using [inputMin, inputMax] (auto-detected from the series when not given, so an unknown-range series still maps cleanly) and mapped to [outputMin, outputMax], with the same optional response curve and smoothing animate-to-audio uses. Targets a plain layer property (e.g. 'ADBE Opacity') by default, or an effect's property when effectIndex/effectName/effectMatchName is given.| Parameter | Type | Description |
|---|---|---|
| clearExisting | boolean | Remove the property's existing keyframes first (default: true). |
| curve | string | Response shaping (default: linear). 'exponential' emphasizes high values; 'logarithmic' boosts low-value detail. |
| data | array | Explicit {time, value} points, in seconds and raw data units (max ${MAX_BATCH_KEYFRAMES}, one point becomes one keyframe). Does not need to be pre-sorted by time. Provide this or values+interval, not both. |
| inputMax | number | Raw data value mapped to outputMax. Auto-detected from the series (after smoothing) when omitted. |
| inputMin | number | Raw data value mapped to outputMin. Auto-detected from the series (after smoothing) when omitted. |
| interval | number | Seconds between consecutive `values` entries. Required when `values` is given. |
| outputMax * | number | Property value at inputMax (or the series' highest point, when inputMax is not given). |
| outputMin * | number | Property value at inputMin (or the series' lowest point, when inputMin is not given). |
| smoothingWindow | number | Moving-average window (in samples) applied to raw values before mapping, to smooth out noisy data (default: 1 = no smoothing). |
| startTime | number | Seconds to offset every generated keyframe by. In `values` mode this is also where the series starts (default: 0). |
| values | array | Raw values for an evenly-spaced series (one every `interval` seconds, starting at `startTime`; max ${MAX_BATCH_KEYFRAMES}). Provide this with interval, or use `data` instead for explicit per-point times. |
animate-to-audioGenerate After Effects keyframes for a layer property directly from an audio file's waveform, in one call - no need to call analyze-audio-waveform and compute keyframes by hand first. Two modes: 'waveform' follows the amplitude envelope continuously (a VU-meter style effect - glow intensity, scale, or opacity riding the music), one keyframe per analyzed sample. 'peaks' pulses the property at each detected transient/beat and decays back to baseline (a beat-pop style effect - e.g. a logo scaling up on every kick). Accepts any audio format ffmpeg supports (mp3, m4a/aac, ogg, flac, ...) the same way analyze-audio-waveform does; uncompressed WAV needs no extra dependency. Targets a plain layer property (e.g. 'ADBE Opacity') by default, or an effect's property when effectIndex/effectName/effectMatchName is given.| Parameter | Type | Description |
|---|---|---|
| clearExisting | boolean | Remove the property's existing keyframes first (default: true). |
| curve | string | Response shaping (default: linear). 'exponential' emphasizes loud peaks (punchier); 'logarithmic' boosts quiet-passage detail. In 'peaks' mode this only affects velocitySensitivePeaks scaling. |
| filePath * | string | Absolute path to the audio file (obtained from get-audio-info sourceFilePath). |
| mode | string | 'waveform' (default): continuous amplitude-follow. 'peaks': discrete pulse-and-decay at each detected transient. |
| numPoints | number | Waveform samples to analyze, each becoming one keyframe in 'waveform' mode (default: 100). Ignored for keyframe generation in 'peaks' mode (still used to detect the peaks themselves), where the number of keyframes instead follows how many transients are detected. Kept well below analyze-audio-waveform's own cap since every point here becomes a real After Effects keyframe. |
| outputMax * | number | Property value at full amplitude (waveform amplitude 1, or peaks-mode value at the instant of a hit). |
| outputMin * | number | Property value at silence/rest (waveform amplitude 0, or peaks-mode baseline between hits). |
| peakDecaySeconds | number | Peaks mode only: seconds to fall back to outputMin after each hit (default: 0.15). |
| smoothingWindow | number | Waveform mode only: moving-average window (in samples) to smooth out jittery amplitude before keyframing (default: 3, use 1 to disable). |
| startTime | number | Seconds to offset every generated keyframe by, to start the animation partway through the comp (default: 0). |
| velocitySensitivePeaks | boolean | Peaks mode only: scale each hit's height by how loud that specific transient was, instead of every hit jumping to the same outputMax (default: true). |
apply-effectApply an effect to a layer in After Effects| Parameter | Type | Description |
|---|---|---|
| compIndex * | number | 1-based index of the target composition in the project panel. |
| effect | string | Generic effect identifier. Can be either exact display name or matchName. |
| effectCategory | string | Optional category for filtering effects. |
| effectIdentifier | string | Alias for effect. Can be either exact display name or matchName. |
| effectMatchName | string | After Effects internal name for the effect (more reliable, e.g., 'ADBE Gaussian Blur 2'). |
| effectName | string | Display name of the effect to apply (e.g., 'Gaussian Blur'). |
| effectSettings | object | Optional parameters for the effect (e.g., { 'Blurriness': 25 }). |
| layerIndex * | number | 1-based index of the target layer within the composition. |
| presetPath | string | Optional path to an effect preset file (.ffx). |
apply-effect-templateApply a predefined effect template to a layer in After Effects| Parameter | Type | Description |
|---|---|---|
| compIndex * | number | 1-based index of the target composition in the project panel. |
| customSettings | object | Optional custom settings to override defaults. |
| layerIndex * | number | 1-based index of the target layer within the composition. |
| templateName * | string | Name of the effect template to apply. |
apply-presetApply an After Effects .ffx preset file to a layer.| Parameter | Type | Description |
|---|---|---|
| compIndex * | number | 1-based index of the target composition in the project panel. |
| layerIndex * | number | 1-based index of the target layer within the composition. |
| presetPath * | string | Absolute path to the .ffx preset file. |
batch-set-layer-propertiesSet transform/visibility properties on MANY layers in one call. Each operation targets a layer by layerIndex or layerName and may set any of: threeDLayer, position, scale, rotation, opacity, blendMode, startTime, outPoint. Setting position clears its existing keyframes first.| Parameter | Type | Description |
|---|---|---|
| compIndex | number | 1-based comp index, if compName is omitted. |
| compName | string | Composition name (or active comp if omitted). |
| operations | array | 1-based layer index. |
center-layersCenter one layer, selected layers, or all layers in a composition.| Parameter | Type | Description |
|---|---|---|
| allLayers | boolean | Center all layers in the composition. |
| compIndex * | number | 1-based composition index. |
| layerIndex | number | Target layer index when centering a single layer. |
| layerName | string | Target layer name when centering a single layer. |
| selectedOnly | boolean | Center only selected layers in the composition. |
check-bridgeHealth check: verify the After Effects MCP Bridge panel is open and responding, report its version, the AE version, the shared bridge folder, and the open project/active comp. Run this FIRST when anything times out or behaves oddly. If it reports a version mismatch, re-run `npm run install-bridge` and restart After Effects.contact-sheetSee a composition's whole timeline at a glance: render N frames sampled across the duration and composite them into ONE labeled thumbnail grid, returned as a single image. Use this to perceive motion, timing, and easing cheaply (one image instead of many). Select the comp by name or 1-based index, or leave empty for the active comp.| Parameter | Type | Description |
|---|---|---|
| comp | any | Composition name or 1-based index. Omit to use the active comp. |
| count | number | How many frames to sample across the duration (default 9). |
| maxWidth | number | Width of the whole grid image in pixels (default 1024). |
| timeoutMs | number | Wait time in ms (default 90000). |
create-adjustment-layerCreate an adjustment layer in the specified composition (or active comp).| Parameter | Type | Description |
|---|---|---|
| compName | string | Composition name. If omitted, active composition is used. |
| duration | number | Layer duration in seconds. |
| name | string | Layer name (default: Adjustment Layer). |
| position | array | Layer position [x,y] or [x,y,z]. |
| size | array | Layer size [width,height]. Defaults to comp dimensions. |
| startTime | number | Layer start time in seconds. |
create-cameraCreate a camera layer in a composition. Select the comp by compName/compIndex (or active comp).| Parameter | Type | Description |
|---|---|---|
| compIndex | number | 1-based index among compositions, if compName is omitted. |
| compName | string | Composition name (recommended). |
| name | string | Camera layer name (default: 'Camera'). |
| oneNode | boolean | If true, create a one-node camera (no point of interest). |
| pointOfInterest | array | Point of interest [x,y,z] (ignored for one-node cameras). |
| position | array | Camera position [x,y,z]. |
| zoom | number | Zoom in pixels (default ~1777.78, roughly a 50mm lens for 1080p). |
create-compositionCreate a new composition in After Effects with specified parameters| Parameter | Type | Description |
|---|---|---|
| backgroundColor | object | Background color of the composition (RGB values 0-255) |
| duration | number | Duration in seconds (default: 10.0) |
| frameRate | number | Frame rate in frames per second (default: 30.0) |
| height * | number | Height of the composition in pixels |
| name * | string | Name of the composition |
| pixelAspect | number | Pixel aspect ratio (default: 1.0) |
| width * | number | Width of the composition in pixels |
create-text-layerCreate a text layer with full Arabic / RTL support. Direction is auto-detected from the text by default (Arabic -> right-to-left, right-aligned), or force it with `direction`. Works on After Effects in any language.| Parameter | Type | Description |
|---|---|---|
| alignment | string | Paragraph alignment. If omitted and the text is RTL, defaults to 'right'. |
| color | array | Fill color [r,g,b] with each channel 0-1 (default white). |
| compName | string | Composition name (or the active comp if omitted). |
| direction | string | Text direction. 'auto' (default) = RTL when the text contains Arabic; 'rtl' / 'ltr' to force. |
| duration | number | Layer duration in seconds (default 5). |
| fontFamily | string | Font family (default 'Arial'). For Arabic use a font that supports Arabic, e.g. 'Arial', 'Tahoma', 'Cairo'. |
| fontSize | number | Font size in pixels (default 72). |
| position | array | Layer position [x,y] (default centered ~[960,540]). |
| startTime | number | Layer start time in seconds. |
| text * | string | The text content. Arabic is fully supported. |
delete-layerDelete a layer from a composition. Target the layer by layerIndex or layerName.| Parameter | Type | Description |
|---|---|---|
| compIndex | number | 1-based comp index, if compName is omitted. |
| compName | string | Composition name (or active comp if omitted). |
| layerIndex | number | 1-based layer index to delete. |
| layerName | string | Layer name to delete (alternative to layerIndex). |
duplicate-layerDuplicate a layer in a composition, optionally renaming the copy. Target the layer by layerIndex or layerName.| Parameter | Type | Description |
|---|---|---|
| compIndex | number | 1-based comp index, if compName is omitted. |
| compName | string | Composition name (or active comp if omitted). |
| layerIndex | number | 1-based layer index to duplicate. |
| layerName | string | Layer name to duplicate (alternative to layerIndex). |
| newName | string | Optional new name for the duplicated layer. |
execute-scriptRun ARBITRARY ExtendScript (the After Effects scripting DOM) inside After Effects and return the result. This is the most powerful tool: use it for anything the dedicated tools do not cover - masks, track mattes, parenting, 3D layers/cameras/lights, blending modes, precomposing, time remapping, layer styles, text animators, puppet pins, importing/replacing footage, batch edits across many layers, project-wide changes, etc. Your code runs as the body of a function, so use `return <value>;` to send data back, and return only JSON-serializable values (numbers, strings, arrays, plain objects). The whole script already runs inside one undo group, so do NOT call app.beginUndoGroup yourself. Use `app` and `app.project` to reach everything. On error you get back the message and line number. Example script: "var c = app.project.activeItem; return { name: c.name, layers: c.numLayers };"| Parameter | Type | Description |
|---|---|---|
| script * | string | ExtendScript code to execute. Runs as a function body; use 'return value;' to return JSON-serializable data. Do not call app.beginUndoGroup (handled automatically). |
| timeoutMs | number | How long to wait for the result, in milliseconds (default 60000). Increase for long-running scripts. |
get-audio-infoGet audio metadata, source file path, existing markers, and audio level keyframes for a layer in After Effects.| Parameter | Type | Description |
|---|---|---|
| compIndex * | number | 1-based composition index. |
| layerIndex | number | Target layer index. |
| layerName | string | Target layer name (alternative to layerIndex). |
get-helpGet help on using the After Effects MCP integrationget-layer-clip-framesGet a layer's clip start/end frames, source frame range, and duration in frames.| Parameter | Type | Description |
|---|---|---|
| compIndex * | number | 1-based composition index. |
| layerIndex | number | Target layer index. |
| layerName | string | Target layer name if not using layerIndex. |
get-resultsGet results from the last script executed in After Effectsimport-footageImport one or more files into the project as footage items, ready to use as a layer source or in populate-template's footage bindings. Files that don't exist are reported individually without failing the rest of the batch.| Parameter | Type | Description |
|---|---|---|
| asSequence | boolean | Import as a single image sequence item instead of one item per file. paths must contain exactly one path: the first frame. After Effects scans that file's own folder for the rest of the numbered sequence itself. |
| folderName | string | Name of a top-level project panel folder to place the imported item(s) in. Created if it doesn't already exist. |
| paths * | array | Absolute file paths to import (max ${MAX_IMPORT_FILES}). Each becomes one project item. If asSequence is set, provide exactly one path instead (see asSequence). |
inspect-compMap a whole composition: its settings (size, fps, duration, work area) plus every layer with a useful summary - index, id, name, type, enabled/locked/shy/solo, 3D/adjustment/null flags, in/out/start, parent, blend mode, effect count, mask count, has-audio. Use this to navigate a comp and decide what to edit, then call inspect-layer for one layer's full detail. Select the comp by compName/compIndex, or leave both empty for the active comp.| Parameter | Type | Description |
|---|---|---|
| compIndex | number | 1-based index among compositions. Used if compName is omitted. |
| compName | string | Composition name (recommended). If omitted with no compIndex, the active comp is used. |
inspect-layerDeeply inspect ONE layer so you can SEE its exact state before making precise edits: type, enabled/locked/shy/solo, in/out points, parent, blend mode, 3D flag; the full Transform group (each property's value + expression + keyframes with times/values/interpolation); all effects with their property values; masks (mode/inverted/opacity/feather/expansion); markers; source file/dimensions; and text (font/size/fill) for text layers. Select the comp by compName/compIndex (or active comp) and the layer by layerIndex or layerName.| Parameter | Type | Description |
|---|---|---|
| compIndex | number | 1-based index among compositions. Used if compName is omitted. |
| compName | string | Composition name (recommended). If omitted with no compIndex, the active comp is used. |
| includeKeyframes | boolean | Include per-keyframe times/values/interpolation for transform properties (default: true). |
| layerIndex | number | 1-based layer index within the composition. |
| layerName | string | Layer name (alternative to layerIndex). |
| maxKeyframes | number | Maximum keyframes reported per property (default: 50). |
list-available-effectsList all effects available in this After Effects installation, with optional text filter.| Parameter | Type | Description |
|---|---|---|
| includeObsolete | boolean | Include obsolete effects (default: false). |
| maxResults | number | Maximum results to return (default: 5000). |
| query | string | Optional text filter. Matches effect name, matchName, and category. |
list-layer-effectsList effects on a layer, with optional recursive property details.| Parameter | Type | Description |
|---|---|---|
| compIndex * | number | 1-based index of the target composition in the project panel. |
| includeProperties | boolean | Include effect property trees (default: false). |
| includeValues | boolean | Include current values for non-group properties (default: false). |
| layerIndex * | number | 1-based index of the target layer within the composition. |
| maxDepth | number | Maximum property recursion depth when includeProperties is true (default: 2). |
list-presetsList available After Effects .ffx presets from common or provided folders.| Parameter | Type | Description |
|---|---|---|
| maxDepth | number | Maximum directory depth when recursive is true (default: 10). |
| maxResults | number | Maximum number of preset files to return (default: 500). |
| presetRoots | array | Optional absolute directories to search for presets. Defaults to common Adobe preset locations. |
| recursive | boolean | Recursively search subdirectories (default: true). |
list-project-itemsList items in the project panel (compositions, footage, solids, folders), with each footage item's source file path and whether it is missing/offline. Unlike getProjectInfo (summary-only, capped at 50), this is the full, filterable inventory - use it to find broken links before a render, or to look up a footage item's id for relink-footage.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum items to return (default and max ${MAX_PROJECT_ITEMS_LISTED}). |
| missingOnly | boolean | Only return footage items whose source file is currently missing/offline. |
| type | string | Filter by item type (default: all). |
localize-compCreate a localized duplicate of a composition: swap in translated text for one or more text layers, auto-detecting Arabic and applying right-to-left direction/alignment (same logic as create-text-layer). Every other layer, effect, and animation is preserved unchanged because the whole composition is duplicated first. Text layers nested inside precompositions are reachable too via `path`: every precomposition on the path is safely duplicated the first time it's encountered (and reused if referenced again from another path), so the original precomps are never modified. Translation itself is the caller's job; pass the already-translated strings in `translations`.| Parameter | Type | Description |
|---|---|---|
| compIndex | number | 1-based index among compositions, if compName is omitted. |
| compName | string | Source composition name (or the active comp if omitted). |
| newCompName | string | Name for the new localized composition (default: '<source name> (localized)'). |
| translations | array | 1-based index of the text layer to replace, in the source composition's top level. Ignored if `path` is given. |
match-referenceCompare a composition against a reference image: renders the current frame, then returns a side-by-side (reference vs current) AND a difference map (bright where they differ) so you can see exactly WHERE the render deviates and converge on a match. Provide the reference as an on-disk image path. Select the comp by name or 1-based index, or leave empty for the active comp.| Parameter | Type | Description |
|---|---|---|
| comp | any | Composition name or 1-based index. Omit to use the active comp. |
| referencePath * | string | Absolute path to the reference image on disk (PNG/JPG). |
| time | number | Time in seconds to render (default comp midpoint). |
| timeoutMs | number | Wait time in ms (default 90000). |
mcp_aftereffects_get_effects_helpGet help on using After Effects effectspopulate-templateDuplicate a template composition once per row of a data table, populating each duplicate from that row's values - the batch/bulk version of manually editing one composition (personalized ads, product cards, name badges, anything repeated with different content). Each row can drive text content (with the same Arabic/RTL auto-detection as localize-comp), an image/video source (imported from a file path), or any layer/effect property value (reusing the same targeting scheme animate-to-audio/animate-from-data use). Layers nested inside precompositions are reachable via `path`, and each precomposition on that path is safely duplicated per row (never edited in place), reusing the same precomp-duplication logic localize-comp uses. Chain with render-aerender afterward, once per created composition, to batch-render every variant.| Parameter | Type | Description |
|---|---|---|
| bindings * | array | One entry per layer to populate. Applied to every row. |
| compIndex | number | 1-based index among compositions, if compName is omitted. |
| compName | string | Template composition name (or the active comp if omitted). |
| namePattern | string | Name for each created composition, with {field} placeholders substituted from that row's values (e.g. '{name} ad'). Defaults to '<template name> <row number>', also used as the fallback if a placeholder's field is missing from a row. |
| rows * | array | One entry per output composition (max ${MAX_TEMPLATE_ROWS}, one row becomes one duplicated composition). Each row is a flat {field: value} object; `bindings` below decides which fields drive which layers. |
precompose-layersBundle one or more layers into a new nested composition (Layer > Precompose), replacing them in the source comp with a single layer referencing the new precomp.| Parameter | Type | Description |
|---|---|---|
| compIndex | number | 1-based comp index, if compName is omitted. |
| compName | string | Source composition name (or active comp if omitted). |
| layerIndices * | array | 1-based indices of the layers to precompose, within the source composition. |
| moveAllAttributes | boolean | Move the layer's effects/masks/blend mode into the new precomp instead of leaving them on the wrapping layer. Only valid when layerIndices has exactly one entry. |
| name * | string | Name for the new precomposition. |
relink-footageRelink a footage item's source to a different file on disk, without touching how it's used in any composition (every layer using it keeps working, now pointing at the new file). Select the item by itemId (from list-project-items, unambiguous) or itemName (must match exactly one item).| Parameter | Type | Description |
|---|---|---|
| itemId | number | Project item id (from list-project-items). Preferred - unambiguous. |
| itemName | string | Project item name, if itemId is omitted. Must match exactly one project item. |
| newPath * | string | Absolute path to the replacement file. |
remove-effectRemove one specific effect (or all effects) from a layer.| Parameter | Type | Description |
|---|---|---|
| compIndex * | number | 1-based composition index. |
| effectIndex | number | 1-based effect index within the layer's Effects group. |
| effectMatchName | string | Internal match name of the effect to remove. |
| effectName | string | Display name of the effect to remove. |
| layerIndex * | number | 1-based layer index. |
| removeAll | boolean | If true, remove all effects from the layer. |
render-aerenderRender a composition to a file in the BACKGROUND using aerender (a separate headless After Effects process). Unlike start-render, this does NOT freeze your After Effects UI - you can keep working. REQUIREMENT: the project must be saved to disk (aerender renders the saved .aep). By default it saves the open project first and renders it; pass projectPath to render a specific .aep instead. Returns immediately after starting unless you pass waitMs. Check progress with render-status.| Parameter | Type | Description |
|---|---|---|
| compName * | string | Name of the composition to render. |
| endFrame | number | Last frame to render (aerender -e). |
| outputModuleTemplate | string | Existing Output Module template name (aerender -OMtemplate), e.g. 'Lossless', 'H.264 - Match Render Settings - 15 Mbps'. |
| outputPath * | string | Absolute output file path (extension should match the output module, e.g. .mov / .mp4 / .avi). |
| projectPath | string | Absolute path to the .aep to render. If omitted, the currently open (saved) project is used. |
| renderSettingsTemplate | string | Existing Render Settings template name (aerender -RStemplate), e.g. 'Best Settings'. |
| saveFirst | boolean | Save the open project before rendering so unsaved changes are included (default: true). Ignored if projectPath is given. |
| startFrame | number | First frame to render (aerender -s). |
| waitMs | number | If set, wait up to this many ms for the render to finish before returning; otherwise return immediately after starting. |
render-queueInspect or manage the After Effects render queue: list items with their status and output path, clear the whole queue, or remove a single item by index.| Parameter | Type | Description |
|---|---|---|
| action | string | 'list' (default), 'clear' (remove all items), or 'remove' a single item by index. |
| index | number | 1-based render queue item index (required when action is 'remove'). |
render-statusCheck background aerender renders started with render-aerender: which are still running, which finished, and the tail of each render log.| Parameter | Type | Description |
|---|---|---|
| pid | number | Optional specific render PID. If omitted, reports all tracked renders. |
reorder-layerChange a layer's stacking order (z-order) within its composition. Provide exactly one of toPosition, before*, or after* to say where it should move.| Parameter | Type | Description |
|---|---|---|
| afterLayerIndex | number | Move directly below (behind) this layer. |
| afterLayerName | string | Same as afterLayerIndex, by name. |
| beforeLayerIndex | number | Move directly above (in front of) this layer. |
| beforeLayerName | string | Same as beforeLayerIndex, by name. |
| compIndex | number | 1-based comp index, if compName is omitted. |
| compName | string | Composition name (or active comp if omitted). |
| layerIndex | number | 1-based index of the layer to move. |
| layerName | string | Name of the layer to move (alternative to layerIndex). |
| toPosition | string | Move to the very top (front) or bottom (back) of the stacking order. |
run-bridge-testRun the bridge test effects script to verify communication and apply test effectsrun-scriptRun a read-only script in After Effectssearch-presetsSearch After Effects .ffx presets by name or path.| Parameter | Type | Description |
|---|---|---|
| maxDepth | number | Maximum directory depth when recursive is true (default: 10). |
| maxResults | number | Maximum number of preset files to return (default: 200). |
| presetRoots | array | Optional absolute directories to search. Defaults to common Adobe preset locations. |
| query * | string | Search text to match in preset filename or full path. |
| recursive | boolean | Recursively search subdirectories (default: true). |
see-frameSEE what a composition actually looks like: render one or more frames to images and return them so you can visually verify and self-correct (make a change, look, fix). Use this after edits to catch problems the DOM does not reveal - clipped or empty text, blown-out glow, off-frame layers, wrong colors, or Arabic/RTL text that did not shape correctly. Select the comp by name or 1-based index, or leave empty for the active comp. Returns downscaled preview images by default (maxWidth 512) to keep it fast and cheap; pass maxWidth 0 for a native-resolution still. Note: a still is a still - time-based effects like motion blur may look different from playback.| Parameter | Type | Description |
|---|---|---|
| comp | any | Composition name or 1-based index. Omit to use the active comp. |
| includeState | boolean | Also return the comp's structured state (like inspect-comp) alongside the images. |
| maxWidth | number | Max preview width in pixels (default 512, aspect preserved). Use 0 for a guaranteed-faithful native-resolution frame. |
| motionBlur | boolean | Render the still with motion blur enabled (default false). |
| timeoutMs | number | How long to wait for the render, in milliseconds (default 60000). |
| times | any | Time(s) in seconds to capture. A single number or an array. Defaults to the comp midpoint. Out-of-range values are clamped. |
set-audio-levelsSet the audio levels (in dB) for an audio or AV layer. Supports per-channel control and optional keyframing.| Parameter | Type | Description |
|---|---|---|
| compIndex * | number | 1-based composition index. |
| layerIndex * | number | 1-based layer index. |
| leftLevel | number | Left channel level in dB (overrides level for left channel). |
| level | number | Level in dB applied to both left and right channels (e.g. 0 = unity, -6 = half volume, -96 = silence). |
| rightLevel | number | Right channel level in dB (overrides level for right channel). |
| timeInSeconds | number | If provided, sets a keyframe at this time instead of a static value. |
set-composition-propertiesChange a composition's settings: duration, frameRate, and/or width+height. Select the comp by compName/compIndex (or active comp).| Parameter | Type | Description |
|---|---|---|
| compIndex | number | 1-based comp index, if compName is omitted. |
| compName | string | Composition name (or active comp if omitted). |
| duration | number | New duration in seconds. |
| frameRate | number | New frame rate (fps). |
| height | number | New height in pixels (must be set together with width). |
| width | number | New width in pixels (must be set together with height). |
set-effect-keyframeSet an effect property keyframe with optional graph interpolation and easy-ease controls.| Parameter | Type | Description |
|---|---|---|
| compIndex * | number | 1-based index of the target composition in the project panel. |
| effectIndex | number | 1-based index of the effect in the layer's Effects group. |
| effectMatchName | string | Internal matchName of the effect to target. |
| effectName | string | Display name of the effect to target. |
| keyframeIndex | number | Optional keyframe index to edit graph/value directly without resolving by time. |
| keyframeOptions | object | Apply Easy Ease to the keyframe. |
| layerIndex * | number | 1-based index of the target layer within the composition. |
| propertyIndex | number | Fallback target property index under the effect root. |
| propertyName | string | Fallback target property name or matchName. |
| propertyPath | array | Path from effect root to target property, e.g. ['Compositing Options', 'Effect Opacity'] or [3, 1]. |
| timeInSeconds | number | Time of the keyframe in seconds. |
| value * | any | Value to set at the keyframe time. |
set-effect-propertySet or keyframe any property on an existing layer effect using name/index/path.| Parameter | Type | Description |
|---|---|---|
| compIndex * | number | 1-based index of the target composition in the project panel. |
| effectIndex | number | 1-based index of the effect in the layer's Effects group. |
| effectMatchName | string | Internal matchName of the effect to target. |
| effectName | string | Display name of the effect to target. |
| expressionString | string | Optional expression string to set on the target property. |
| keyframeIndex | number | Optional keyframe index to edit graph/value directly without resolving by time. |
| keyframeOptions | object | Apply Easy Ease to the keyframe. |
| layerIndex * | number | 1-based index of the target layer within the composition. |
| propertyIndex | number | Fallback target property index under the effect root. |
| propertyName | string | Fallback target property name or matchName. |
| propertyPath | array | Path from effect root to target property, e.g. ['Compositing Options', 'Effect Opacity'] or [3, 1]. |
| timeInSeconds | number | If provided, sets a keyframe at this time using value. |
| value | any | Value to assign to the target property. |
set-layer-maskCreate or modify a mask on a layer. Provide the shape as maskRect (rectangle shorthand) OR maskPath (array of [x,y] vertices, >= 3). Omit maskIndex to add a new mask, or pass it to modify an existing one.| Parameter | Type | Description |
|---|---|---|
| compIndex | number | 1-based comp index, if compName is omitted. |
| compName | string | Composition name (or active comp if omitted). |
| layerIndex | number | 1-based layer index. |
| layerName | string | Layer name (alternative to layerIndex). |
| maskExpansion | number | Mask expansion in pixels. |
| maskFeather | array | Feather [x,y] in pixels. |
| maskIndex | number | 1-based index of an existing mask to modify. Omit to create a new mask. |
| maskMode | string | Mask mode (default: 'add'). |
| maskName | string | Optional mask name. |
| maskOpacity | number | Mask opacity 0-100. |
| maskPath | array | Array of [x,y] vertices defining the mask shape (>= 3 points). |
| maskRect | object | Rectangle shorthand {top,left,width,height} in layer pixels. |
set-layer-parentSet (or clear) a layer's parent within its composition - the standard After Effects parent/child rig, where the child inherits the parent's position/rotation/scale. Select the target layer and, to set a parent, the parent layer; to remove an existing parent instead, set clearParent to true (parentLayerIndex/parentLayerName are then ignored).| Parameter | Type | Description |
|---|---|---|
| clearParent | boolean | Remove the layer's existing parent instead of setting a new one. |
| compIndex | number | 1-based comp index, if compName is omitted. |
| compName | string | Composition name (or active comp if omitted). |
| layerIndex | number | 1-based index of the layer to parent. |
| layerName | string | Name of the layer to parent (alternative to layerIndex). |
| parentLayerIndex | number | 1-based index of the layer to parent to. |
| parentLayerName | string | Name of the layer to parent to (alternative to parentLayerIndex). |
setLayerExpressionSet or remove an expression for a specific layer property.| Parameter | Type | Description |
|---|---|---|
| expressionString * | string | The JavaScript expression string. Provide an empty string ("") to remove the expression. |
| propertyName * | string | Name of the property to apply the expression to (e.g., 'Position', 'Scale', 'Rotation', 'Opacity'). |
setLayerKeyframeSet a keyframe for a specific layer property at a given time.| Parameter | Type | Description |
|---|---|---|
| propertyName * | string | Name of the property to keyframe (e.g., 'Position', 'Scale', 'Rotation', 'Opacity'). |
| timeInSeconds * | number | The time (in seconds) for the keyframe. |
start-renderRender all QUEUED items in the After Effects render queue. IMPORTANT: this BLOCKS After Effects until the render finishes - the AE UI is unresponsive during the render. Add items first with add-to-render-queue. For long renders, raise timeoutMs; if the wait times out the render still continues in AE and you can check status later with render-queue.| Parameter | Type | Description |
|---|---|---|
| timeoutMs | number | Maximum time to wait for the render to finish, in milliseconds (default 300000 = 5 minutes). Set higher for long renders. |
test-animationTest animation functionality in After Effects| Parameter | Type | Description |
|---|---|---|
| compIndex * | number | Composition index (usually 1) |
| layerIndex * | number | Layer index (usually 1) |
| operation * | string | The animation operation to test |
Security checks
6 checks have not been run yet.