/ Каталог / Песочница / after-effects-mcp
● Сообщество Dakkshin ⚡ Сразу

after-effects-mcp

автор Dakkshin · Dakkshin/after-effects-mcp

Drive After Effects from chat — create comps, add layers, keyframe properties, set expressions — via an ExtendScript bridge panel.

after-effects-mcp by Dakkshin wraps Adobe AE's ExtendScript via an auto-run bridge panel. Once installed, the MCP can create compositions, add text/shapes/solids/cameras/nulls, set keyframes and expressions, and manipulate masks — all from MCP clients like Claude Code. AE 2022+ and Node 14+ required.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

after-effects.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "after-effects": {
      "command": "npx",
      "args": [
        "-y",
        "after-effects-mcp"
      ],
      "_inferred": true
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "after-effects": {
      "command": "npx",
      "args": [
        "-y",
        "after-effects-mcp"
      ],
      "_inferred": true
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "after-effects": {
      "command": "npx",
      "args": [
        "-y",
        "after-effects-mcp"
      ],
      "_inferred": true
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "after-effects": {
      "command": "npx",
      "args": [
        "-y",
        "after-effects-mcp"
      ],
      "_inferred": true
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "after-effects",
      "command": "npx",
      "args": [
        "-y",
        "after-effects-mcp"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "after-effects": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "after-effects-mcp"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add after-effects -- npx -y after-effects-mcp

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: after-effects-mcp

Generate template-based lower thirds from a CSV

👤 Motion graphics artists making 10+ lower thirds per episode ⏱ ~20 min intermediate

Когда использовать: You have a CSV of names/titles and don't want to type each into a comp.

Предварительные требования
  • After Effects 2022+ with the bridge panel installed — npm run install-bridge, then open mcp-bridge-auto.jsx and tick 'Auto-run commands'
  • MCP added via .mcp.json — Point to build/index.js and restart your client
Поток
  1. Create the base comp
    Create a composition 'LT_01' 1920x1080 29.97 5s black background.✓ Скопировано
    → Comp appears in AE
  2. Add name + title text layers
    Add text layer 'Dr. Jane Doe' bottom-left at (120, 900) 72pt. Add text layer 'Lead Scientist' below at (120, 960) 36pt.✓ Скопировано
    → Layers visible
  3. Add in/out animation with keyframes
    Set position keyframes: both text layers slide in from x=-400 between frames 0-15 and slide out from frames 120-135.✓ Скопировано
    → Animated lower third

Итог: A working lower third template you can duplicate/edit per row in the CSV.

Подводные камни
  • Bridge panel isn't checked 'Auto-run' — commands queue forever — Open the panel and verify the checkbox every time AE relaunches
  • Too many commands at once causes AE UI freeze — Batch via batchSetLayerProperties rather than 100 individual calls
Сочетать с: filesystem

Build an expression-driven data visualization

👤 Motion designers doing infographics ⏱ ~20 min advanced

Когда использовать: You want shapes that animate from a data array without keyframing each.

Поток
  1. Create base shape
    Create a shape layer 'bar_01' — rectangle, center-anchored, 80x0 at (200,900).✓ Скопировано
    → Shape at zero height
  2. Attach expression
    On bar_01 Scale.y, set expression that grows from 0 to [value] over 30 frames, eased.✓ Скопировано
    → Expression applied, plays correctly

Итог: One shape + expression that you can replicate per data point via a loop.

Duplicate a base layer and tweak properties per copy

👤 Anyone replicating a design across N items ⏱ ~10 min beginner

Когда использовать: You have one styled logo and need 12 variations positioned around a circle.

Поток
  1. Duplicate N times
    Duplicate layer 'logo_base' 12 times, name them logo_00 through logo_11.✓ Скопировано
    → 12 layers present
  2. Position each
    For each logo_NN, set position to a point on a 400px radius circle around (960,540), angle = NN * 30 degrees.✓ Скопировано
    → Ring of logos

Итог: A cleanly arranged group in seconds.

Комбинации

Сочетайте с другими MCP — эффект x10

after-effects + davinci-resolve

Build motion graphics in AE, finish edit in Resolve

Build a 6-second title card in After Effects, render to ~/renders/title.mov, then import it at the head of the active Resolve timeline.✓ Скопировано
after-effects + filesystem

Generate AE comps from data files on disk

Read ./data/speakers.csv. For each row, create a lower-third comp in AE with that speaker's name and title.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
create-composition name, width, height, duration, frameRate New comp free (local AE)
run-script script: ExtendScript Escape hatch for anything not covered by named tools free
get-results command_id: str Retrieve async result from bridge free
setLayerKeyframe layer, property, time, value Add a keyframe free
setLayerExpression layer, property, expression: str Bind a property to an expression free
setLayerProperties layer, properties: object Update transform, opacity, blend modes free
batchSetLayerProperties updates: [{layer, properties}] Avoid N round-trips free
getLayerInfo layer Inspect before modifying free
createCamera name, options? 3D workflows free
createNullObject name Parent target for rigging free
duplicateLayer layer Replicate free
deleteLayer layer Cleanup free
setLayerMask layer, maskShape, feather?, expansion? Add/modify a mask free

Стоимость и лимиты

Во что обходится

Квота API
None — local AE automation
Токенов на вызов
Tiny command strings in, tiny acks out
Деньги
Requires an Adobe After Effects license; MCP itself is free
Совет
Use batchSetLayerProperties to reduce round-trips on big scenes.

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: None
Исходящий трафик: None — local bridge only
Никогда не давайте: Run arbitrary ExtendScript from untrusted prompts — `run-script` can execute anything AE can

Устранение неполадок

Частые ошибки и исправления

Commands queue but never execute

'Auto-run commands' in the bridge panel is unchecked. Tick it.

Проверить: Look at mcp-bridge-auto.jsx panel
Module import error on MCP start

Node 14+ required; install deps with npm install in the MCP repo.

Проверить: node --version
AE hangs during batch operations

Too many individual calls; switch to batchSetLayerProperties.

Expressions error 'value is undefined'

Expression referenced a layer/property that doesn't exist. Double-check spelling in setLayerExpression arg.

Проверить: Open AE's expression error overlay

Альтернативы

after-effects-mcp в сравнении

АльтернативаКогда использоватьКомпромисс
DaVinci Resolve MCPYou're doing edit/color, not motion graphicsDifferent stage of pipeline
Manual ExtendScript via .jsx filesYou want full control, no AINo chat interface

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills