TA

thellamainator/after-effects-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

25 stars 12 forks 质量 72 趋势 0MIT

Adobe After Effects 的 MCP 服务器。通过 ExtendScript 的模型上下文协议实现远程控制(合成、文本、形状、实体、属性)。

概览

通过 MCP 控制 Adobe After Effects,使用运行在 AE 内部的桥接面板。该项目针对实用自动化工作流程进行了优化:效果、预设、关键帧、标记和音频感知工具。 - 完整的合成和图层自动化。- 深度效果检查和属性编辑。- 高级效果图控制(时间+空间)。- 预设搜索/列表/应用工作流程。- 标记和音频自动化,包括波形到标记的管道。- 安装的效果目录发现(列表可用效果)。 - Adobe After Effects - Node.js 18+ - npm - 编辑 -> 偏好设置 -> 脚本与表达式 -> 允许脚本写入文件和访问网络 - 窗口 ->mcp-bridge-auto.jsx - 在使用MCP时保持该面板打开。 如果你使用支持MCP的VS Code扩展,请在该扩展的MCP服务器设置中添加该服务器。 - command: node - args: [“ /build/index.js”] 1. 重启 VS Code。2. 打开 After Effects,并保持 Window -> mcp-bridge-auto.jsx 开启。3.

概述(AI 翻译)

通过 MCP 通过 AE 内运行的桥接面板控制 Adobe After Effects。 该项目针对实用自动化工作流程进行了优化:效果、预设、关键帧、标记和音频感知工具。


精彩片段

  • 完整合成和图层自动化。
  • 深度效果检查和属性编辑。
  • 高级效果图控制(时间+空间)。
  • 预设搜索/列表/应用工作流程。
  • 标记器和音频自动化,包括波形到标记器的管道。
  • 安装效果目录发现(list-available-effects)。

特征矩阵

区域 能力
合成 创建,检查项目/构图,获取剪辑帧范围
图层 文本/形状/实体/调整创建,变换/属性更新,居中
动画 图层关键帧、表达式、带图形控制的效果关键帧
效果 按名称/匹配名应用,递归地列出图层效果,编辑任何效果属性,移除效果
预设 应用 .ffx,列表/搜索预设库
标记 添加单个标记(合成/图层),批量添加标记
音频 设置通道电平,检查音频元数据,分析WAV波形,检测峰值

要求

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

After Effects MCP Server

Control Adobe After Effects through MCP using a bridge panel running inside AE. This project is optimized for practical automation workflows: effects, presets, keyframing, markers, and audio-aware tooling.


Highlights

  • Full composition and layer automation.
  • Deep effect inspection and property editing.
  • Advanced effect graph controls (temporal + spatial).
  • Preset search/list/apply workflows.
  • Marker and audio automation, including waveform-to-marker pipelines.
  • Installed effect catalog discovery (list-available-effects).

Feature Matrix

Area Capabilities
Composition Create, inspect project/compositions, get clip frame ranges
Layers Text/shape/solid/adjustment creation, transform/property updates, centering
Animation Layer keyframes, expressions, effect keyframes with graph controls
Effects Apply by name/matchName, list layer effects recursively, edit any effect property, remove effects
Presets Apply .ffx, list/search preset libraries
Markers Add single marker (comp/layer), add markers in bulk
Audio Set channel levels, inspect audio metadata, analyze WAV waveform, detect peaks

Requirements

  • Adobe After Effects
  • Node.js 18+
  • npm

In After Effects, enable:

  • Edit -> Preferences -> Scripting & Expressions -> Allow Scripts to Write Files and Access Network

Quick Start

  1. Clone and install:
git clone https://github.com/TheLlamainator/after-effects-mcp.git
cd after-effects-mcp
npm install
  1. Build:
npm run build
  1. Install bridge script:
npm run install-bridge
  1. Restart After Effects and open:
  • Window -> mcp-bridge-auto.jsx
  • Keep this panel open during MCP usage.

MCP Client Config

Use an absolute path to build/index.js.

{
  "mcpServers": {
    "AfterEffectsMCP": {
      "command": "node",
      "args": ["/build/index.js"]
    }
  }
}

Add to VS Code

If you use an MCP-capable VS Code extension, add this server in that extension’s MCP server settings.

Use:

  • command: node
  • args: ["/build/index.js"]

Example snippet many extensions accept:

{
  "mcpServers": {
    "AfterEffectsMCP": {
      "command": "node",
      "args": ["C:\\Users\\\\Documents\\Projects\\AEMCP\\build\\index.js"]
    }
  }
}

Then:

  1. Restart VS Code.
  2. Open After Effects and keep Window -> mcp-bridge-auto.jsx open.
  3. Call a simple tool like get-help or run-script with getProjectInfo.

Add to Claude Desktop

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "AfterEffectsMCP": { "command": "node", "args": ["<absolute-path-to-repo>/build/index.js"] } } }