Skip to main content
Glama
After Effects MCP Server

After Effects MCP Server

After Effects MCP Server

License: MIT Node.js Version Model Context Protocol

A standalone, local-first Model Context Protocol (MCP) server that enables AI assistants (such as Claude Desktop, Cursor, ChatGPT MCP clients, and Antigravity) to directly command and automate Adobe After Effects 2026 (with support for 2025/2024) through validated, type-safe tools.


Architecture Overview

AI Client (Claude / Cursor / MCP Client)
               │ (Standard MCP stdio Transport)
               ▼
       MCP Server Protocol Layer
               │ (Zod Schema Validation & Permission Policy)
               ▼
       Application Services Layer
               │ (Sequential FIFO Command Queue)
               ▼
       ExtendScript Bridge Adapter
               │ (Atomic JSX Execution via AfterFX.exe -r)
               ▼
      Adobe After Effects 2026

Related MCP server: AfterEffectsMCP

Key Highlights

  • Standard MCP Protocol: Exposes 34 production-ready tools, 8 resources, and 6 prompts via standard stdio transport using the official @modelcontextprotocol/sdk.

  • ExtendScript Execution Bridge: Dispatches commands directly to Adobe After Effects (AfterFX.exe -r) with atomic JSON result reading and app.beginUndoGroup() undo protection.

  • Dual Mode (Host + Simulation): Automatically detects AfterFX.exe in standard Windows installations. If After Effects is not installed or AE_MOCK_MODE=true is set, runs in high-fidelity simulation mode for testing and CI/CD pipelines.

  • Defensive Security:

    • Path traversal protection and path normalization.

    • Risk classification (LOW, MEDIUM, HIGH).

    • Explicit approvalToken required for destructive operations (composition.delete, project.close, layer.delete).

    • No arbitrary JSX execution tool exposed; only predefined, strictly validated domain operations are permitted.

  • Reliable Lifecycle Management: Sequential FIFO execution queue, unique UUIDv4 command tracking, result verification, and structured error responses.


Installation

Prerequisites

  • Node.js >= 18 (Node 22 or 26 recommended)

  • Adobe After Effects 2026, 2025, or 2024 (Windows 11 / 10)

Clone & Build

git clone https://github.com/Narendhiran17/After-Effects-MCP.git
cd After-Effects-MCP
npm install
npm run build

Configuration

Copy .env.example to .env:

cp .env.example .env

Environment Variable

Description

Default

AE_EXECUTABLE_PATH

Full path to AfterFX.exe

Auto-detected from standard directories

AE_COMMAND_TIMEOUT_MS

ExtendScript execution timeout in milliseconds

30000

AE_MOCK_MODE

Set to true to run simulation without launching AE

false

AE_ALLOWED_STORAGE_ROOT

Permitted root directory for asset imports and exports

./storage

AE_LOG_LEVEL

Logging verbosity (debug, info, warn, error)

info


Connecting with AI Clients

Add the server to your MCP client configuration file (e.g. claude_desktop_config.json):

{
  "mcpServers": {
    "after-effects": {
      "command": "node",
      "args": ["<PATH_TO_REPO>/dist/index.js"],
      "env": {
        "AE_MOCK_MODE": "false"
      }
    }
  }
}

Available Tools (34 Tools)

1. System & Diagnostics

  • ae.system.status - Check After Effects installation, version, and bridge availability.

2. Project Management

  • ae.project.create - Create a new project.

  • ae.project.open - Open an existing .aep project file.

  • ae.project.save - Save current project (or Save As).

  • ae.project.close - Close project (high-risk; requires confirmation approval).

  • ae.project.inspect - Inspect project hierarchy, active compositions, and total items.

  • ae.project.validate - Validate project integrity and detect missing footage.

3. Composition Management

  • ae.composition.create - Create composition with custom dimensions, framerate, and duration.

  • ae.composition.update - Update dimensions, duration, or framerate of existing composition.

  • ae.composition.delete - Delete composition (high-risk; requires approval).

  • ae.composition.inspect - Inspect composition properties and list all layers.

4. Layer Management

  • ae.layer.create - Create solid, text, shape, camera, light, or null layers.

  • ae.layer.delete - Delete layer from composition.

  • ae.layer.duplicate - Duplicate layer.

  • ae.layer.transform - Set/animate position, scale, rotation, opacity, and anchor point.

  • ae.layer.inspect - Inspect layer properties, transform coordinates, and timing.

5. Text & Typography

  • ae.text.create - Create text layer with custom typography formatting and position.

  • ae.text.update - Update text content.

  • ae.text.style - Set font, size, fill/stroke colors, tracking, and alignment.

6. Animation & Keyframes

  • ae.animation.keyframe.create - Create a keyframe on any transform/effect property at a timestamp.

  • ae.animation.keyframe.update - Modify keyframe time or value.

  • ae.animation.easing.set - Set temporal easing (speed and influence) and interpolation.

7. Effects & Presets

  • ae.effects.apply - Apply an effect by match name or display name.

  • ae.effects.configure - Set property parameters of an applied effect.

8. Assets & Media

  • ae.assets.import - Import video, image, or audio footage.

  • ae.assets.inspect - List and inspect imported footage items.

9. Audio Operations

  • ae.audio.add - Add audio track to timeline.

  • ae.audio.volume.set - Set audio levels in decibels (dB).

  • ae.audio.fade.create - Create audio fade-in or fade-out.

10. Rendering & Output

  • ae.render.queue - Add composition to the render queue with output path and template.

  • ae.render.start - Start background rendering.

  • ae.render.status - Check status of render queue jobs.

  • ae.render.cancel - Pause or cancel active render.

11. Timeline

  • ae.timeline.inspect - Inspect composition timeline structure, layer timing, and parent hierarchy.


Resources & Prompts

Resources

  • ae://system/status - Current system status and bridge health.

  • ae://system/version - Target After Effects version.

  • ae://project/current - Active project metadata.

  • ae://project/compositions - Compositions in current project.

  • ae://project/assets - Imported footage items.

  • ae://composition/{id} - Detailed composition settings.

  • ae://composition/{id}/layers - Layers within a composition.

  • ae://render/jobs - Active and queued render jobs.

Prompts

  • create-motion-graphics-intro - Create a motion graphics introduction sequence.

  • create-animated-title - Create an animated title card with easing.

  • build-social-media-composition - Create 9:16 vertical composition for social media.

  • create-logo-animation - Create a logo reveal animation sequence.

  • prepare-render - Validate and queue a composition for rendering.

  • diagnose-project - Diagnose active project structure and missing files.


Testing

Run unit, integration, and bridge tests with Vitest:

npm test

Build TypeScript to dist/:

npm run build

Documentation


License

This project is licensed under the MIT License - see the LICENSE file for details.

Available Tools

34 tools
ae.animation.easing.setC

Configure keyframe interpolation, temporal easing, and speed/influence.

Inputs: property (required), keyframeIndex (required), layerName, layerIndex, +7 more.

ae.animation.keyframe.createC

Create an animation keyframe at a specified time for a property.

Inputs: time (required), value (required), property (required), layerName, +3 more.

ae.animation.keyframe.updateC

Update time or value of an existing keyframe.

Inputs: property (required), keyframeIndex (required), time, value, +4 more.

ae.assets.importC

Import video, image, or audio media footage into the project.

Inputs: filePath (required), folderName.

ae.assets.inspectC

Inspect imported media footage items in the project.

Inputs: name, assetId.

ae.audio.addC

Add an audio track footage item to a composition.

Inputs: assetId, filePath, startTime, compositionId, +1 more.

ae.audio.fade.createC

Create an audio fade-in or fade-out on an audio layer.

Inputs: duration (required), fadeType (required), startTime (required), layerName, +3 more.

ae.audio.volume.setC

Set audio level in decibels for an audio layer.

Inputs: volumeDb (required), time, layerName, layerIndex, +2 more.

ae.composition.createC

Create a new composition with width, height, frame rate, and duration.

Inputs: name (required), width, height, duration, +2 more.

ae.composition.deleteC

Delete a composition from the project. Requires confirmation approvalToken.

Inputs: name, approvalToken, compositionId.

ae.composition.inspectC

Inspect composition properties and list its layers.

Inputs: name, compositionId.

ae.composition.updateC

Update existing composition settings (dimensions, frame rate, duration).

Inputs: name, width, height, newName, +3 more.

ae.effects.applyC

Apply an effect by match name or display name to a layer.

Inputs: effectName (required), layerName, layerIndex, displayName, +2 more.

ae.effects.configureC

Configure parameters and values of an applied effect.

Inputs: propertyName (required), value, layerName, effectName, +4 more.

ae.layer.createC

Create a layer in a composition (solid, shape, camera, light, null).

Inputs: name, type, color, width, +3 more.

ae.layer.deleteB

Delete a layer from a composition. Requires confirmation approvalToken.

Inputs: layerName, layerIndex, approvalToken, compositionId, +1 more.

ae.layer.duplicateC

Duplicate an existing layer.

Inputs: layerName, layerIndex, compositionId, compositionName.

ae.layer.inspectC

Inspect detailed layer properties, transform coordinates, and timing.

Inputs: layerName, layerIndex, compositionId, compositionName.

ae.layer.transformC

Update layer transform properties (position, scale, rotation, opacity, anchorPoint).

Inputs: scale, opacity, position, rotation, +5 more.

ae.project.closeC

Close the active After Effects project.

Inputs: saveChanges, approvalToken.

ae.project.createC

Create a new Adobe After Effects project.

Inputs: closeExisting.

ae.project.inspectA

Inspect current project structure, active items, and compositions.

Inputs: no named parameters.

ae.project.openB

Open an existing Adobe After Effects project (.aep).

Inputs: path (required).

ae.project.saveC

Save the currently active After Effects project.

Inputs: path.

ae.project.validateB

Validate project integrity, checking for missing footage or broken references.

Inputs: no named parameters.

ae.render.cancelC

Pause or cancel active rendering.

Inputs: jobId.

ae.render.queueC

Add a composition to the After Effects render queue with output path and template.

Inputs: outputPath (required), compositionId, outputTemplate, compositionName.

ae.render.startC

Start processing items in the render queue.

Inputs: jobId.

ae.render.statusC

Check status of jobs in the render queue.

Inputs: jobId.

ae.system.statusB

Check After Effects installation status, version, and bridge availability.

Inputs: checkBridge.

ae.text.createC

Create a new text layer in a composition with font, size, color, and alignment.

Inputs: text (required), font, name, color, +5 more.

ae.text.styleC

Apply typographic styling to text (font, size, fill/stroke colors, tracking, justification).

Inputs: font, fontSize, tracking, fillColor, +7 more.

ae.text.updateC

Update the text content of an existing text layer.

Inputs: text (required), layerName, layerIndex, compositionId, +1 more.

ae.timeline.inspectC

Inspect composition timeline hierarchy, layer timing, and parent relationships.

Inputs: compositionId, compositionName.

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 34 tools

    Disambiguation5/5

    The dotted namespace (project, composition, layer, text, animation, effects, assets, audio, render, timeline) combined with distinct actions makes each tool's target resource and operation unambiguous. Potential overlaps like text.create vs layer.create (text creates a text layer, layer.create covers solid/shape/camera/light/null) and text.update vs text.style (content vs typography) are cleanly separated by their descriptions.

    Naming Consistency4/5

    Almost every tool follows the predictable ae.<domain>.<verb> pattern (create, open, save, close, inspect, update, delete, apply, configure, start, cancel). Minor deviations exist where the noun precedes the verb, e.g. ae.audio.volume.set and ae.animation.easing.set, and ae.layer.transform uses a noun-like verb, but the overall convention is clear and readable.

    Tool Count3/5

    34 tools is heavy and sits in the 'too many for typical scope' range, though the breadth of After Effects (project, comps, layers, text, keyframing, effects, assets, audio, rendering) justifies many of them and none are obviously redundant. It is nonetheless on the upper end and increases the cognitive load of tool selection.

    Completeness4/5

    Core lifecycle coverage is strong: project/composition CRUD, layer create/duplicate/transform/inspect, text, keyframes with easing, effects apply/configure, asset import, audio, and full render queue operations. Notable gaps remain—no masking/shape property tools, no way to set layer parenting (only inspect it), no keyframe delete, no effect removal, and no precomposition/nesting—which agents may hit in advanced workflows.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients like Claude Code, Claude Desktop, and VS Code to build and edit inside a running Adobe After Effects, covering comps, layers, keyframes, effects, text animators, markers, and renders. It supports batched tool calls with single-step undo, frame previews for self-verification, reusable style tokens, and four one-call studio rigs.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Lets AI agents drive a running Adobe After Effects (~270 undo-safe operations). Works with every UI language Adobe ships and sees the frame: draws Object Matte on what it sees (lassos, ⊕/⊖ points, a preview of gaps and people) and syncs AI-generated layers with the plate frame by frame. A large skills library, built for AI and generative features: Roto Brush, Object Matte, Content-Aware Fill.
      13
      343 npm
      6
      Apache 2.0