# Repository Briefing: Dakkshin/after-effects-mcp
> Source: https://repoforai.com/repo/Dakkshin/after-effects-mcp (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Dakkshin/after-effects-mcp
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: JavaScript
- **License**: MIT
- **Engineering Health**: B (51/100 · Maintenance 6/35 · Adoption 19/25 · Releases 6/20 · License 20/20)
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: MCP, CLI
- **Momentum**: 976 ★ total (+3 24h / +36 7d) · 169 forks
- **Topics**: `after-effects`, `ai`, `automation`, `javascript`, `mcp`, `model-context-protocol`, `motion-graphics`, `nodejs`, `remote-control`, `typescript`, `video-editing`
- **When to Use**: Best for: Motion-graphics teams that want an MCP assistant to inspect open After Effects projects, scaffold compositions, and apply repeatable layer or animation edits under operator supervision. Skip if: You need unattended headless rendering, cannot keep the AE panel running, or already have a fixed workflow that a reviewed ExtendScript script can handle directly.

## Overview
```text
### Architecture & Core Mechanics
`src/index.ts` implements the Node.js side of the MCP integration. A client launches the built `build/index.js` entrypoint through a command-based MCP configuration. The package declares `@modelcontextprotocol/sdk`, `zod`, and `node-fetch` as dependencies; composition and layer operations execute in After Effects, not in Node.

`install-bridge.js` installs `src/scripts/mcp-bridge-auto.jsx`, the ExtendScript panel that polls for pending commands every few seconds when Auto-run is enabled. MCP is the client-facing contract; the panel is the application-side executor. The command surface includes both named editing tools and `run-script`, with `get-results` available to retrieve script output.

### Key Capabilities & Differentiators
The tool surface covers composition creation and inspection: set pixel dimensions, frame rate, duration, and background color, and list compositions in the project. It can create styled text, rectangle, ellipse, polygon, and star shapes, as well as solids, adjustment layers, cameras, and null objects. Layer operations include inspection, duplication, deletion, 2D/3D switching, blend modes, track mattes, and mask feather, expansion, and opacity.

For animation, `setLayerKeyframe` writes timed values for properties such as Position, Scale, Rotation, and Opacity. `setLayerExpression` adds or removes expressions, and `batchSetLayerProperties` applies edits across multiple layers in one call. Together these tools cover common motion-graphics setup tasks without a custom script for every operation; `run-script` handles work outside the named tool surface.

### Trade-offs & Limitations
Compared with direct ExtendScript or a purpose-built ScriptUI panel, MCP is a better fit when an assistant needs to inspect a project, choose the next action, and combine editing operations interactively. For a fixed sequence, a reviewed script removes the MCP client and bridge polling from the execution path. Polling adds a wait before command pickup, and a running Node process cannot substitute for an open AE bridge panel. This is desktop-session automation, not a headless render worker.

The primary adoption risk is write access to working files: the tool surface can delete layers, and `run-script` accepts more general instructions than the named editing tools. Use a trusted MCP client, prefer narrowly scoped tools for routine edits, and validate scripted or destructive actions on a copy. MIT covers reuse of the bridge code, not the separately licensed After Effects runtime.

### Hardware & Deployment Guide
The listed prerequisites are Adobe After Effects 2022 or later, Node.js 14 or later, and npm or yarn. With npm, run `npm install`, `npm run build`, and `npm run install-bridge`. Point the MCP client at `build/index.js` using the included `.mcp.json` or an equivalent manual configuration. Use `npm start` for a direct launch, or let the configured client invoke the Node entrypoint.

Open After Effects, choose Window > `mcp-bridge-auto.jsx`, and enable Auto-run commands. Test project inspection before allowing edits to a working file. The bridge runs locally in Node and the AE desktop session; whether model calls also stay local depends on the client. The build uses esbuild in place of the earlier TypeScript compiler approach. No GitHub release is listed, so record the commit you validate before rolling it out across workstations.
```

## Key Capabilities
```text
- Execution path: The Node MCP server exposes tools, and a polling ExtendScript panel executes commands inside After Effects.
- Composition setup: Set dimensions, frame rate, duration, and background color, and list existing compositions.
- Layer control: Create text, shape, solid, adjustment, camera, and null layers; edit masks, blend modes, and track mattes.
- Animation: Set property values at specific times with `setLayerKeyframe`, attach or remove expressions with `setLayerExpression`, and batch-edit layers with `batchSetLayerProperties`.
- Script access: `run-script` executes ExtendScript in After Effects, while `get-results` retrieves script output.
- Client setup: The included `.mcp.json` launches the built `build/index.js` entrypoint with Node.
```

## Quick Start / Clone
```bash
npm install
   # or
   yarn install
```
