mograph-mcp
v0.12.0Drive Adobe Illustrator and After Effects, and move artwork between them as editable shape layers.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ai_status Illustrator status
Report Illustrator connection status, version, document count and workspace. Full notes: docs://tools/ai_status
ai_new_document New Illustrator document
Create a new Illustrator document.
| Parameter | Type | Description |
|---|---|---|
color_space | string | |
height | number | |
name | string | |
width | number |
ai_open_document Open Illustrator file
Open an existing Illustrator file (.ai / .pdf / .psd / .svg). Full notes: docs://tools/ai_open_document
| Parameter | Type | Description |
|---|---|---|
path * | string |
ai_save_document Save Illustrator document (saveAs rebinds)
Save the active Illustrator document. Full notes: docs://tools/ai_save_document
| Parameter | Type | Description |
|---|---|---|
ai_compatible | boolean | |
path |
ai_close_document Close Illustrator document
Close the active Illustrator document.
| Parameter | Type | Description |
|---|---|---|
save | boolean |
ai_export Export document to PNG/SVG/PDF/JPG
Export the active Illustrator document to PNG/SVG/PDF/JPG. Full notes: docs://tools/ai_export
| Parameter | Type | Description |
|---|---|---|
path * | string | |
artboard_range | ||
background_alpha | boolean | |
format | string | |
scale | integer | |
svg_embed_images | boolean | |
svg_precision | integer | |
svg_text | string |
ai_list_layers List layers
List layers in the active Illustrator document.
ai_add_layer Add a layer
Add a new layer to the active Illustrator document.
| Parameter | Type | Description |
|---|---|---|
name * | string |
ai_select_layer Make a layer active
Activate a layer by name in Illustrator.
| Parameter | Type | Description |
|---|---|---|
name * | string |
ai_get_selection Describe the current selection
Describe the current Illustrator selection (typename + name). Full notes: docs://tools/ai_get_selection
ai_add Draw a rectangle, ellipse, path or text
Draw a primitive: `kind` is `rect`, `ellipse`, `path` or `text`. Full notes: docs://tools/ai_add
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
closed | boolean | |
font | ||
height | number | |
layer | ||
points | ||
size | number | |
text | ||
width | number | |
x | number | |
y | number |
ai_set_style Paint the selection: fill and stroke
Paint the current selection: fill, stroke, or both in one call. Colours take '#RRGGBB' or [r,g,b]. These were two tools and were called together nearly every time, which is the whole test for whether something should be one.
| Parameter | Type | Description |
|---|---|---|
fill | ||
stroke | ||
stroke_width | number |
ai_run_script Run arbitrary ExtendScript in Illustrator
Run arbitrary ExtendScript in Illustrator. The code receives (ok, fail, payload) and must call ok(data)/fail(msg). Full notes: docs://tools/ai_run_script
| Parameter | Type | Description |
|---|---|---|
code * | string | |
args |
ai_see_document Render document to PNG and look at it
Render the document and return the image itself, so the artwork can be looked at. Full notes: docs://tools/ai_see_document
| Parameter | Type | Description |
|---|---|---|
annotate | boolean | |
artboard | ||
layer | ||
max_boxes | integer | |
max_dim | integer | |
min_pixels | number | |
path | ||
scale | integer |
ai_inspect_document Document overview
Overview of the open document: artboards, color space, item counts by type, fonts, linked images.
ai_list_artboards List artboards
List artboards with size and position -- what each After Effects comp needs to match.
ai_list_layers_tree Layer tree
The full layer tree including sublayers, with per-layer item counts.
| Parameter | Type | Description |
|---|---|---|
include_items | boolean | |
max_items | integer |
ai_list_items List items in a layer or group
List page items, filterable by layer and typename (PathItem, GroupItem, TextFrame, PlacedItem...). Full notes: docs://tools/ai_list_items
| Parameter | Type | Description |
|---|---|---|
container | ||
include_hidden | boolean | |
kind | ||
layer | ||
limit | integer | |
recursive | boolean | |
with_style | boolean |
ai_inspect_item Inspect one item
One item in full detail: bounds, fill, stroke, text, children.
| Parameter | Type | Description |
|---|---|---|
item * |
ai_audit_for_animation Audit: what breaks on the way to After Effects
Find what will break or degrade when this artwork is pushed to After Effects. Triage step for a delivered file: mesh gradients, plugin objects, patterns, broken links, missing fonts, clipping masks, locked/hidden content, generic names, off-artboard junk, CMYK, path count.
ai_audit_structure Audit: do the groups match what the eye reads
Audit one frame's STRUCTURE with motion eyes: where does the hierarchy lie? Full notes: docs://tools/ai_audit_structure
| Parameter | Type | Description |
|---|---|---|
artboard * | integer | |
limit | integer | |
max_depth | integer |
ai_set_layer Set layer name, visibility, lock or opacity
Rename a layer or change its visibility, lock or opacity.
| Parameter | Type | Description |
|---|---|---|
layer * | ||
locked | ||
name | ||
opacity | ||
visible |
ai_set_item Set item properties
Rename an item or change its visibility, lock, opacity or blend mode.
| Parameter | Type | Description |
|---|---|---|
item * | ||
blend_mode | ||
hidden | ||
locked | ||
name | ||
opacity |
ai_rename_items Rename items
Rename many items at once: [{"item": "2/0/5", "name": "cabeza"}, ...]. Item names become the shape layer names in After Effects, so this is what turns an unreadable timeline into a usable one.
| Parameter | Type | Description |
|---|---|---|
renames * | array |
ai_delete Delete items, empty layers, off-artboard art or a layer
Delete things: `what` is `items`, `empty_layers`, `off_artboard` or `layer`. Full notes: docs://tools/ai_delete
| Parameter | Type | Description |
|---|---|---|
what * | string | |
items | ||
layer | ||
move_items_to |
ai_convert_color_space Convert colour space
Convert the document color space. 'rgb' is what After Effects works in.
| Parameter | Type | Description |
|---|---|---|
space | string |
ai_select Select items
Select items by artboard, layer, type, name or explicit list. Filters combine with AND. Full notes: docs://tools/ai_select
| Parameter | Type | Description |
|---|---|---|
add_to_selection | boolean | |
all_items | boolean | |
artboard | ||
artboard_mode | string | |
items | ||
kind | ||
layer | ||
name_contains |
ai_artboard_items Items whose centre falls on an artboard
List the items that belong to one artboard, with their ids. `mode`: 'center' (the item's middle is on the board -- the useful default on a storyboard), 'contained' (entirely inside), 'intersect' (merely touches).
| Parameter | Type | Description |
|---|---|---|
artboard * | integer | |
layer | ||
limit | integer | |
mode | string |
ai_frame_tree Full item tree of a storyboard frame
Everything on one artboard WITH its hierarchy, in artboard-local coordinates. Full notes: docs://tools/ai_frame_tree
| Parameter | Type | Description |
|---|---|---|
artboard * | integer | |
limit | integer | |
max_depth | integer |
ai_diff_frames What changed between two frames
What changed between two frames of a storyboard -- which is the animation. Full notes: docs://tools/ai_diff_frames
| Parameter | Type | Description |
|---|---|---|
artboard_a * | integer | |
artboard_b * | integer | |
detail | boolean | |
max_depth | integer | |
threshold | number | |
tree_depth | integer |
ai_track_frames Chain element matches across frames
Follow every element across a run of frames: the motion plan as one object. Full notes: docs://tools/ai_track_frames
| Parameter | Type | Description |
|---|---|---|
first * | integer | |
last * | integer | |
include_transitions | boolean | |
max_depth | integer | |
threshold | number | |
tree_depth | integer |
ai_propagate_names Carry names across frames along the match chains
Carry the names of ONE named frame to its neighbours, matching by geometry. Full notes: docs://tools/ai_propagate_names
| Parameter | Type | Description |
|---|---|---|
first * | integer | |
last * | integer | |
source * | integer | |
apply | boolean | |
max_hops | integer | |
max_size_ratio | number | |
overwrite | boolean | |
threshold | number | |
tree_depth | integer |
ai_layers_from_artboards One layer per artboard
Give each artboard its own layer and move its artwork into it. Full notes: docs://tools/ai_layers_from_artboards
| Parameter | Type | Description |
|---|---|---|
mode | string | |
name_from_artboard | boolean | |
prefix | string |
ai_contact_sheet Contact sheet of every artboard
Render every artboard small and tile them into one numbered sheet. Full notes: docs://tools/ai_contact_sheet
| Parameter | Type | Description |
|---|---|---|
cols | integer | |
first | integer | |
last | ||
max_dim | integer | |
path | ||
scale | number |
ai_deselect Clear the selection
Clear the Illustrator selection.
ai_move_to_layer Move items to a layer
Move items into a layer, creating it if it doesn't exist.
| Parameter | Type | Description |
|---|---|---|
items * | array | |
layer * | string |
ai_release_to_layers Release a group to layers
Put each top-level item of a layer onto its own layer. The prep step before animating: one item per layer becomes one shape layer per element in After Effects instead of everything fused into one group.
| Parameter | Type | Description |
|---|---|---|
layer * | ||
prefix | ||
use_item_names | boolean |
ai_audit_assets Audit: what the document's panels carry
What the document carries in its panels -- swatches, symbols, styles, images. Full notes: docs://tools/ai_audit_assets
ai_optimize Get a delivered file ready to produce from
Get a delivered file into a state you can actually produce from, in one call. Runs the passes that are deterministic and reports the ones that need a judgement call. **Proposes by default** -- `apply=False` runs only the reads and tells you what it would do. Full notes: docs://tools/ai_optimize
| Parameter | Type | Description |
|---|---|---|
apply | boolean | |
artboards_to_layers | boolean | |
audit_frames | ||
checkpoint | boolean |
ai_prepare Run the preparation passes a delivered file needs
Run the preparation passes a delivered file needs, in the right order. Full notes: docs://tools/ai_prepare
| Parameter | Type | Description |
|---|---|---|
items | boolean | |
layers | boolean | |
ops | ||
unhide | boolean |
ai_ungroup Ungroup the selection
Ungroup the selection one level.
ai_export_artboards Export one PNG per artboard
Export every artboard to its own file; the directory is created. Full notes: docs://tools/ai_export_artboards
| Parameter | Type | Description |
|---|---|---|
directory * | string | |
format | string | |
name_pattern | ||
prefix | ||
scale | integer |
ai_find_items Find items by name, colour, size or text
Find items by any combination of criteria (AND). Returns their stable ids. Full notes: docs://tools/ai_find_items
| Parameter | Type | Description |
|---|---|---|
closed | ||
color_tolerance | integer | |
fill_rgb | ||
font | ||
generic_names_only | boolean | |
kind | ||
layer | ||
limit | integer | |
max_area | ||
min_area | ||
name_contains | ||
near | ||
scan_limit | integer | |
text_contains | ||
within |
ai_cluster_items Propose groupings from geometry
Propose how to group loose items. Read-only: nothing is modified. This is the answer to a layer with a thousand unnamed objects. Strategies: proximity (recovers real objects -- pieces of one icon touch each other and sit far from the next), color, type, size, zorder, row. Full notes: docs://tools/ai_cluster_items
| Parameter | Type | Description |
|---|---|---|
artboard | ||
container | ||
layer | ||
limit | integer | |
max_clusters | ||
min_size | integer | |
prefix | string | |
strategy | string | |
tolerance |
ai_apply_clusters Apply a proposed grouping
Materialise a clustering proposal into layers or groups. Full notes: docs://tools/ai_apply_clusters
| Parameter | Type | Description |
|---|---|---|
clusters * | array | |
mode | string | |
parent_layer |
ai_auto_name_items Name items from their content
Give readable names to unnamed items. Text names itself from its content, placed images from their file name, and a GROUP from the biggest piece of text inside it -- a group has no attributes of its own, and the word is right there in its children. Full notes: docs://tools/ai_auto_name_items
| Parameter | Type | Description |
|---|---|---|
container | ||
layer | ||
limit | integer | |
meaningful_only | boolean | |
only_generic | boolean | |
prefix | string | |
recursive | boolean |
ai_merge_layers Merge layers
Move the contents of several layers into one and delete the emptied ones.
| Parameter | Type | Description |
|---|---|---|
into * | string | |
layers * | array |
ai_reorder_layer Reorder a layer
Move a layer in the stacking order. Give exactly one of to_index (0 = top), before, after.
| Parameter | Type | Description |
|---|---|---|
layer * | ||
after | ||
before | ||
to_index |
ai_layer_from_selection New layer from the selection
Move the current selection onto a new layer.
| Parameter | Type | Description |
|---|---|---|
name * | string |
ai_duplicate_layer Duplicate a layer
Duplicate a layer with all its contents.
| Parameter | Type | Description |
|---|---|---|
layer * | ||
new_name |
ai_sort_layers Sort layers
Reorder top-level layers by 'name' or by 'items' (item count).
| Parameter | Type | Description |
|---|---|---|
by | string | |
descending | boolean |
ai_group_items Group items in place
Group items into a single GroupItem.
| Parameter | Type | Description |
|---|---|---|
items * | array | |
name |
ai_ungroup_items Ungroup items
Release a group's children into its parent, preserving order and nesting.
| Parameter | Type | Description |
|---|---|---|
items * | array | |
recursive | boolean |
ai_analyze_layout Analyse the layout of an artboard
Measure the composition: visual hierarchy, inferred roles, alignments, margins, weight per quadrant. Read-only. Turns a picture into numbers you can reason about: which element dominates and by how much, what lines up with what, where the air is.
| Parameter | Type | Description |
|---|---|---|
artboard | integer | |
layer | ||
min_size | integer | |
strategy | string | |
tolerance | number |
ai_reframe_layout Plan a reframe (does not apply it)
Propose how the composition moves into another format (e.g. ratio='9:16'). Nothing is modified. Full notes: docs://tools/ai_reframe_layout
| Parameter | Type | Description |
|---|---|---|
artboard | integer | |
cluster_strategy | string | |
height | ||
layer | ||
min_size | integer | |
ratio | ||
roles | ||
strategy | string | |
tolerance | number | |
width |
ai_apply_layout Apply a reframe plan
Materialise a reframe proposal from ai_reframe_layout. By default the artwork is duplicated onto a new artboard beside the original, one layer per cluster, so both formats live in the same document and the source is left untouched.
| Parameter | Type | Description |
|---|---|---|
plan * | object | |
layer_prefix | string | |
new_artboard | boolean | |
offset |
ai_checkpoint Checkpoint document (rebinds to a temp copy)
Save a copy of the document before a restructuring pass. Illustrator's undo does not reliably survive a script that touches hundreds of items, so take one of these before anything destructive. Full notes: docs://tools/ai_checkpoint
| Parameter | Type | Description |
|---|---|---|
label | string | |
path |
ae_status After Effects status
Report After Effects install + bridge connection status, and the workspace. This is also where the client is asked for its `roots`, which is the protocol's way of saying where files should go. Asked once per run, and only of a client that advertises them.
ae_new_project New After Effects project
Create a new After Effects project.
ae_open_project Open an After Effects project
Open an After Effects project (.aep).
| Parameter | Type | Description |
|---|---|---|
path * | string |
ae_save_project Save the project
Save the active AE project (SaveAs if path given).
| Parameter | Type | Description |
|---|---|---|
path |
ae_get_project_info Project info
List items (comps, footage) in the active AE project, and its settings. Full notes: docs://tools/ae_get_project_info
ae_new_comp New composition
Create a new composition.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
duration | number | |
fps | number | |
height | integer | |
width | integer |
ae_import_file Import a file as footage
Import a footage file into the AE project, and into a comp only if you name one. Full notes: docs://tools/ae_import_file
| Parameter | Type | Description |
|---|---|---|
path * | string | |
as_footage | boolean | |
comp_name |
ae_add_layer Add a solid, text, null, adjustment, camera or light
Add a layer to a comp: solid, text, null, adjustment, camera or light. Full notes: docs://tools/ae_add_layer
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
center_point | ||
color | ||
comp_name | ||
duration | ||
font | ||
height | ||
intensity | ||
light_type | string | |
name | ||
position | ||
size | number | |
text | ||
width | ||
zoom |
ae_add_shape Add a shape layer
Add a shape layer (rectangle/ellipse/star/custom_path) to a comp. Full notes: docs://tools/ae_add_shape
| Parameter | Type | Description |
|---|---|---|
closed | boolean | |
comp_name | ||
fill | ||
gradient | ||
in_tangents | ||
name | ||
out_tangents | ||
position | ||
shape_type | string | |
size | ||
stroke | ||
stroke_width | number | |
vertices |
ae_effect Apply, remove, list, tune or copy effects
Apply an effect to a layer, remove it, list what is on there, set one of its parameters, or copy the whole stack onto other layers. `op` is `apply`, `remove`, `list`, `set_property` or `copy`. All five share `(layer, effect, comp_name)`, which is why they are one tool. Full notes: docs://tools/ae_effect
| Parameter | Type | Description |
|---|---|---|
op * | string | |
comp_name | ||
effect | ||
from_comp | ||
layer | ||
property | ||
replace | boolean | |
to_layers | ||
value |
ae_keyframes Set, read, delete or shift keyframes
Put keyframes on a property, read them, delete them or shift them in time. `op` is `set`, `get`, `delete` or `offset`. `property_path` may nest, so effect properties work too: 'Effects/Gaussian Blur/Blurriness'. Full notes: docs://tools/ae_keyframes
| Parameter | Type | Description |
|---|---|---|
layer * | ||
op * | string | |
property_path * | string | |
comp_name | ||
delta | ||
ease | ||
keys | ||
replace | boolean | |
times | ||
values |
ae_keyframe_easing Ease and interpolate existing keyframes
Shape the keyframes a property already has: easing, interpolation, or both. Full notes: docs://tools/ae_keyframe_easing
| Parameter | Type | Description |
|---|---|---|
layer * | ||
property_path * | string | |
comp_name | ||
ease | ||
influence | number | |
interpolation | ||
keys |
ae_render_queue Add to the render queue and render
Work the render queue: `op` is `add`, `list` or `clear`. One entity, three verbs. `add` with `start_queue=True` also renders, and After Effects is blocked for the whole of it.
| Parameter | Type | Description |
|---|---|---|
comp_name | ||
op | string | |
output_path | ||
render_settings | string | |
start_queue | boolean | |
template | string |
ae_aerender Render from the command line (aerender)
Render a comp headlessly via aerender.exe (does not block the AE UI). Full notes: docs://tools/ae_aerender
| Parameter | Type | Description |
|---|---|---|
comp_name * | string | |
output_path * | string | |
render_settings | string | |
template | string | |
wait | boolean |
ae_render_status How a background render is going
How a `wait=False` render is going, or all of them. Full notes: docs://tools/ae_render_status
| Parameter | Type | Description |
|---|---|---|
cancel | boolean | |
render_id |
ae_run_script Run arbitrary ExtendScript in After Effects
Run arbitrary ExtendScript in After Effects. Code receives (ok, fail, payload). `payload` is the `args` dict you passed, and `args` is bound to the same object, so either name reads it. A bare `return` is safe: the body runs inside its own function. Full notes: docs://tools/ae_run_script
| Parameter | Type | Description |
|---|---|---|
code * | string | |
args |
ae_list_layers List layers in a comp
List a comp's layers with type, source, timing, parenting, effects and what's animated. Full notes: docs://tools/ae_list_layers
| Parameter | Type | Description |
|---|---|---|
at_time | ||
comp_name | ||
include_animation | boolean | |
include_effects | boolean | |
include_transform | boolean |
ae_inspect_layer Inspect one layer
Full detail of one layer: transform values, keyframes, expressions, effect parameters, masks.
| Parameter | Type | Description |
|---|---|---|
layer * | ||
comp_name |
ae_get_selection Describe the selected layers
What the user currently has selected in AE (layers, properties, project items).
ae_find_usage Where is this item used
Find every comp/layer where a project item is used. Check this before deleting.
| Parameter | Type | Description |
|---|---|---|
item * |
ae_audit_project Health of the project: unused, missing, broken
The health of the project: unused items, missing footage, broken expressions. Full notes: docs://tools/ae_audit_project
ae_delete_layer Delete layers
Delete a layer from a comp, or a whole list of them in one pass. Full notes: docs://tools/ae_delete_layer
| Parameter | Type | Description |
|---|---|---|
layer * | ||
comp_name |
ae_delete_item Delete a project item
Delete a project item. Refuses if it's still used somewhere unless force=True.
| Parameter | Type | Description |
|---|---|---|
item * | ||
force | boolean |
ae_remove_unused_footage Remove unused footage
Run AE's 'Remove Unused Footage'.
ae_consolidate_footage Consolidate duplicate footage
Run AE's 'Consolidate All Footage' (merge duplicate footage items).
ae_reduce_project Reduce project to the given comps
Run AE's 'Reduce Project': strip everything the named comps don't need.
| Parameter | Type | Description |
|---|---|---|
comp_names * | array |
ae_set_layer Set layer properties
Change a layer's properties. Only the arguments you pass are modified. Full notes: docs://tools/ae_set_layer
| Parameter | Type | Description |
|---|---|---|
layer * | ||
anchor_point | ||
audio_enabled | ||
auto_orient | ||
blend_mode | ||
collapse | ||
comp_name | ||
enabled | ||
guide_layer | ||
in_point | ||
locked | ||
motion_blur | ||
name | ||
opacity | ||
out_point | ||
parent | ||
position | ||
quality | ||
rotation | ||
sampling_quality | ||
scale | ||
shy | ||
solo | ||
start_time | ||
three_d | ||
updates |
ae_duplicate_layer Duplicate a layer
Duplicate a layer, optionally renaming the copy.
| Parameter | Type | Description |
|---|---|---|
layer * | ||
comp_name | ||
new_name |
ae_precompose Precompose layers
Precompose the given layers into a new comp.
| Parameter | Type | Description |
|---|---|---|
layers * | array | |
name * | string | |
comp_name | ||
move_attributes | boolean |
ae_set_expression Set an expression on a property
Set a property's expression (pass an empty string to clear it). Full notes: docs://tools/ae_set_expression
| Parameter | Type | Description |
|---|---|---|
expression * | string | |
layer * | ||
property_path * | string | |
comp_name |
ae_create_folder Create a project folder
Create a folder in the project panel.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
parent |
ae_move_to_folder Move items to a folder
Move project items into a folder.
| Parameter | Type | Description |
|---|---|---|
folder * | string | |
items * | array |
ae_list_available_effects List the effects this install has
List every effect installed in AE with its matchName. Use `filter` to search (e.g. 'blur').
| Parameter | Type | Description |
|---|---|---|
filter |
ae_apply_preset Apply an .ffx preset
Apply an .ffx animation preset to a layer. `ae_list_presets` gives the absolute paths this takes -- every text preset After Effects ships lives under `Presets/Text/`.
| Parameter | Type | Description |
|---|---|---|
layer * | ||
preset_path * | string | |
comp_name |
ae_list_presets List the .ffx presets this install has
List the .ffx animation presets this install can reach, with full paths. Full notes: docs://tools/ae_list_presets
| Parameter | Type | Description |
|---|---|---|
filter | ||
limit | integer |
ae_set_text Set a text layer's content and style
Edit an existing text layer. Only the arguments you pass are changed.
| Parameter | Type | Description |
|---|---|---|
layer * | ||
color | ||
comp_name | ||
font | ||
justification | ||
leading | ||
size | ||
text | ||
tracking |
ae_add_item Add a project item to a comp as a layer
Put a project item -- another COMP, or a footage item -- into a comp as a layer. This is how a film gets assembled: each scene is its own comp, and a master comp holds them one after another with the transitions at the seams. Full notes: docs://tools/ae_add_item
| Parameter | Type | Description |
|---|---|---|
item * | ||
comp_name | ||
name | ||
start_time | number | |
to_index |
ae_set_comp Set composition settings
Change a comp's settings (rename, size, duration, frame rate, work area). Full notes: docs://tools/ae_set_comp
| Parameter | Type | Description |
|---|---|---|
bg_color | ||
comp_name | ||
duration | ||
fps | ||
height | ||
motion_blur | ||
motion_blur_samples | ||
name | ||
shutter_angle | ||
shutter_phase | ||
width | ||
work_area_duration | ||
work_area_start |
ae_duplicate_comp Duplicate a composition
Duplicate a composition.
| Parameter | Type | Description |
|---|---|---|
comp_name * | string | |
new_name |
ae_markers Read or add markers
Read or add markers, on a comp or on a layer. `op` is `get` or `add`.
| Parameter | Type | Description |
|---|---|---|
comment | string | |
comp_name | ||
duration | number | |
layer | ||
op | string | |
time | number |
ae_beat_grid Lay a tempo on a comp as beat markers
Lay a tempo on a comp as one marker per beat, and make timing a vocabulary. Full notes: docs://tools/ae_beat_grid
| Parameter | Type | Description |
|---|---|---|
bpm * | number | |
bars | integer | |
beats_per_bar | integer | |
comp_name | ||
offset | number | |
replace | boolean |
ae_replace_source Replace a layer's source
Point a layer at a different footage item or comp, keeping its transform, keyframes and effects.
| Parameter | Type | Description |
|---|---|---|
item * | ||
layer * | ||
comp_name | ||
keep_effects | boolean |
ae_set_track_matte Set a track matte
Set a layer's track matte: alpha, alpha_inverted, luma, luma_inverted, or none to remove it.
| Parameter | Type | Description |
|---|---|---|
layer * | ||
comp_name | ||
matte_layer | ||
matte_type | string |
ae_reorder_layer Reorder a layer
Move a layer in the stacking order. Give exactly one of to_index (1 = top), before, after.
| Parameter | Type | Description |
|---|---|---|
layer * | ||
after | ||
before | ||
comp_name | ||
to_index |
ae_restack_by_artwork Restack pushed layers as the artwork was
Put every pushed layer back in the stacking order the Illustrator artwork had. Full notes: docs://tools/ae_restack_by_artwork
| Parameter | Type | Description |
|---|---|---|
comp_name |
ae_split_layer Split a layer at a time
Split a layer in two at the given time.
| Parameter | Type | Description |
|---|---|---|
layer * | ||
time * | number | |
comp_name |
ae_interpret_footage Set footage interpretation
Change how AE interprets a footage item: conform frame rate, loop count, alpha mode.
| Parameter | Type | Description |
|---|---|---|
item * | ||
alpha | ||
fps | ||
loop | ||
premul_color |
ae_import_folder Import a folder as footage
Import every file in a directory in one round-trip, optionally into its own project folder.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
extensions | ||
folder_name |
ae_copy_animation Copy animation between layers
Copy one property's keyframes (easing included) from one layer onto others.
| Parameter | Type | Description |
|---|---|---|
from_layer * | ||
property_path * | string | |
to_layers * | array | |
comp_name | ||
time_offset | number |
ae_add_mask Add a mask to a layer
Add a mask to a layer from [x, y] vertices in layer space.
| Parameter | Type | Description |
|---|---|---|
layer * | ||
vertices * | array | |
closed | boolean | |
comp_name | ||
in_tangents | ||
inverted | boolean | |
mode | string | |
name | ||
out_tangents |
ae_list_fonts List available fonts
List the fonts AE can use, by PostScript name. Check here before setting a font on a text layer.
| Parameter | Type | Description |
|---|---|---|
filter |
ae_render_frames Render frames to PNGs and wait for the disk
Render a comp's frames to PNGs and wait until they are really on disk. Full notes: docs://tools/ae_render_frames
| Parameter | Type | Description |
|---|---|---|
out_dir * | string | |
comp_name | ||
end | ||
prefix | string | |
start | number | |
step | integer | |
timeout_per_frame | number |
ae_see_frame Render a frame to PNG and look at it
Render one frame of a comp and return the image, so the result can be looked at. Comes back inline, shrunk to `max_dim` on its long side; the file path is in the reply too, and `max_dim=0` sends the path alone.
| Parameter | Type | Description |
|---|---|---|
comp_name | ||
max_dim | integer | |
path | ||
time | number |
ae_contact_sheet Several moments of a comp on one sheet
Render several moments of a comp into one labelled sheet and look at it. Full notes: docs://tools/ae_contact_sheet
| Parameter | Type | Description |
|---|---|---|
background | ||
cell_width | integer | |
cols | integer | |
comp_name | ||
count | integer | |
end | ||
max_dim | integer | |
path | ||
start | ||
times |
ae_preview Render the work area as a movie to watch
Render the work area as a small, slow movie and hand it back as a link. Full notes: docs://tools/ae_preview
| Parameter | Type | Description |
|---|---|---|
comp_name | ||
end | ||
fps | number | |
path | ||
render_settings | string | |
scale | number | |
start | ||
template | ||
timeout | number |
ae_stagger Stagger the same animation across layers
Give N layers the same animation with a progressive offset. Full notes: docs://tools/ae_stagger
| Parameter | Type | Description |
|---|---|---|
layers * | ||
property_path * | string | |
at_time | ||
bpm | ||
comp_name | ||
delay | ||
ease | ||
from_layer | ||
influence | number | |
order | string | |
origin | ||
reverse | boolean | |
total |
ae_animate Animate layers in or out with real timing
Bring elements in (or take them out) with anticipation, overshoot and settle. Full notes: docs://tools/ae_animate
| Parameter | Type | Description |
|---|---|---|
layers * | array | |
anticipation | number | |
at | ||
at_time | ||
bpm | ||
comp_name | ||
curve | string | |
delay | ||
distance | number | |
duration | ||
ease | ||
influence | number | |
order | string | |
origin | ||
overshoot | number | |
phase | string | |
replace | boolean | |
reverse | boolean | |
set_in_point | boolean | |
squash | ||
style | string |
ae_text_animate Animate live text per character, word or line
Animate live text per character, word or line -- one layer, no outlining. Full notes: docs://tools/ae_text_animate
| Parameter | Type | Description |
|---|---|---|
layers * | ||
amount | ||
at | ||
bpm | ||
by | string | |
comp_name | ||
delay | ||
direction | string | |
distance | number | |
duration | ||
ease | ||
influence | number | |
phase | string | |
replace | boolean | |
style | string |
ae_audio_keyframes Turn an audio layer's level into keyframes
Turn an audio layer's level into keyframes -- the music, made drivable. Full notes: docs://tools/ae_audio_keyframes
| Parameter | Type | Description |
|---|---|---|
layer * | ||
comp_name |
ae_audio_link Drive properties from the music's level
Make properties breathe with the music: amplitude to expression, one call. Full notes: docs://tools/ae_audio_link
| Parameter | Type | Description |
|---|---|---|
layers * | ||
amount | number | |
audio_layer | ||
axis | ||
comp_name | ||
property_path | string | |
slider |
ae_choreograph A whole scene's moves in one call
A whole scene's motion in one call: entrances, exits and behaviours. Full notes: docs://tools/ae_choreograph
| Parameter | Type | Description |
|---|---|---|
moves * | array | |
at_time | ||
bpm | ||
comp_name |
ae_behave Give layers a sustained behaviour
Give layers something to DO between their entrance and the cut. Full notes: docs://tools/ae_behave
| Parameter | Type | Description |
|---|---|---|
layers * | ||
amount | number | |
bpm | ||
comp_name | ||
kind | string | |
property_path | ||
rate | ||
settle |
ae_assemble Chain comps into one master timeline
Chain scenes into one comp, in order, with every start time worked out. Full notes: docs://tools/ae_assemble
| Parameter | Type | Description |
|---|---|---|
comps * | array | |
bpm | ||
fps | ||
height | ||
master | string | |
overlap | ||
replace | boolean | |
transition | string | |
width |
ae_stroke Set stroke weight, colour, dashes and caps
Set the stroke on shape layers: weight, colour, dashes, caps and joins. Takes a list of layers and applies the lot in one round trip. Full notes: docs://tools/ae_stroke
| Parameter | Type | Description |
|---|---|---|
layers * | array | |
cap | ||
color | ||
comp_name | ||
dash | ||
gap | ||
join | ||
offset | ||
width |
ae_shape_op Add a shape operator (repeater)
Add a shape operator to shape layers, or update the one already there. Full notes: docs://tools/ae_shape_op
| Parameter | Type | Description |
|---|---|---|
layers * | array | |
anchor | ||
comp_name | ||
copies | ||
end_opacity | ||
offset | ||
op | string | |
position | ||
rotation | ||
scale | ||
start_opacity |
ae_set_anchors Move anchor points without moving the layer
Move layers' anchor points to a meaningful pivot, without moving the layer. Full notes: docs://tools/ae_set_anchors
| Parameter | Type | Description |
|---|---|---|
anchor | string | |
at_time | ||
comp_name | ||
layers |
ai_to_ae_push Push the Illustrator selection to After Effects
Transfer the current Illustrator selection into After Effects as editable shape layers. Full notes: docs://tools/ai_to_ae_push
| Parameter | Type | Description |
|---|---|---|
anchor | string | |
comp_name | ||
name_prefix | string | |
precompose_from | ||
rebuild_groups | boolean | |
skip_roles | ||
source_layer | ||
text_as_shapes | ||
use_item_names | boolean |
ai_to_ae_verify Compare an AE comp against the artboard it came from
Compare an After Effects comp against the Illustrator artboard it came from. Full notes: docs://tools/ai_to_ae_verify
| Parameter | Type | Description |
|---|---|---|
artboard * | integer | |
comp_name * | string | |
grid_cols | integer | |
grid_rows | integer | |
hot_threshold | number | |
out_path | ||
time | number | |
top_regions | integer |
dev_reload Reload the backends without restarting the client
Reload the backend code in place, without restarting the MCP client. Debugging against real Adobe apps is a tight loop -- push, see it come out wrong, fix, retry -- and restarting the client for a one-line change costs a minute and a panel reconnection every time. Full notes: docs://tools/dev_reload
| Parameter | Type | Description |
|---|---|---|
modules |