Skip to main content
Glama

AE EASY

把 After Effects 的脖子,交到脚本手里。

AE EASY

After Effects 是座孤岛。你有一整个世界的算力、模型和流水线,它却只肯在自己的窗口里,听 ExtendScript 说话。

AE EASY 就是那座桥。

一条命令下去,合成被切分、图层被重建、快门被重新安排、成片被吐出来 —— 而你全程不需要把手放在鼠标上。


它到底强在哪

  • 文件桥,不是网络桥。 命令落在 %TEMP%\ae-easy\cmd,AE 逐条取走、逐条回报。没有端口、没有防火墙、没有「服务挂了」这种戏码。AE 崩了,命令还躺在硬盘上等你回来。

  • 三种接口,一副骨骼。 CLI、本地 HTTP、MCP 共用同一套工具定义。今天你在终端敲,明天你在 Agent 里说,本质是同一件事。

  • 会自救。 AE 一弹原生对话框,主线程立刻僵死,桥连同它自己的看门狗一起被冻住 ——死人不会给自己做心肺复苏。所以 AE EASY 在进程之外养了一个守卫,从外面拆弹。

冻结的弹窗

上面这张图,是我们真实经历过的三小时。AE 卡在「崩溃修复选项」和「重复增效工具」之间,心跳一路涨到 1300 万毫秒。 UIA 读不到字,

BM_CLICK

敲不动,鼠标

SendInput

被安全软件按在地上 —— 最后靠

往窗口骨头里塞一个回车

,才把它拽回来。 全过程写在

docs / 故障排查与踩坑实录.md

里,一条不漏。

回车破局


Related MCP server: after-effects-mcp-enhanced

三十秒上手

git clone https://github.com/<you>/ae-easy.git
cd ae-easy
powershell -ExecutionPolicy Bypass -File install.ps1

装完,重启 After Effects(别点「恢复上次会话」,直接开)。

菜单栏 → 窗口 → AE EASY Bridge。面板上的心跳开始跳,桥就活了。

aee status              :: 体检:心跳、工程、模态框
aee call ping           :: 通不通,一试便知

出事了?守卫先上:

bin\aee-guard.cmd -Mode list      :: 列出所有把 AE 按住的弹窗(含 CEF 自绘的)
bin\aee-guard.cmd -Mode revive    :: 关弹窗 → 注入复活 → 回收游离实例
bin\aee-guard.cmd -Mode watch     :: 常驻守护,3 秒一次

渲完没文件?别再用裸 aerender:

bin\aee-render.cmd -Project D:\AE\x.aep -Comp "合成 1" -Output D:\AE\out.mp4

它永远渲到带时间戳的新文件,成功后原子替换;目标被占用就另存一份并告诉你路径 ——绝不让你白算三分钟。


结构

bin/        aee.cmd · aee-guard.cmd · aee-render.cmd
bridge/     aee-bridge.jsx         桥本体(74 KB ExtendScript)
            aee-bootstrap.jsx      开机自启模板(心跳变旧就 evalFile 桥)
src/        TypeScript:gateway / http / mcp / tools
build/      编译产物(不装 node_modules 也能跑 CLI)
tools/      ae-guard.ps1           弹窗自愈 · 桥复活 · 焦点抢回
            ae-render.ps1          安全渲染
work/boot/  aee-boot.jsx           应急注入脚本
docs/       使用说明 · 故障排查与踩坑实录

接口对照

接口

启动方式

谁在用

CLI

aee call <tool> --json-file args.json

人、批处理、CI

HTTP

aee http --port 47831

任何能发请求的程序

MCP

Agent 客户端以 stdio 拉起

Claude Code、桌面 Agent

--json-file

而不是

--json

:

cmd.exe

会吃掉引号,这是无数人踩过的坑,我们在文档里钉死了。

已知边界(不吹牛)

  • 只测过 Windows + AE 2025 (25.3.2)。macOS 路径要你自己改。

  • RSMB 这类「重复增效工具」警告,根治要管理员权限删掉两份插件中的一份 —— 否则每次启动都弹。

  • 桥能救「卡住」,救不了「崩掉」。崩了就重启,守卫会在检测到进程消失后重试拉起。

发布


License

MIT。拿去用,拿去改,别拿去怪我们。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables MCP clients to drive Adobe After Effects via a Python server and CEP panel, supporting inspection, mutation, preview, checkpoint/revert, skills, and basic rigging.
      106
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Lets Claude Code or any MCP client drive an open Adobe After Effects instance to inspect projects and comps, build and animate layers with ExtendScript, preview frames as images, import footage, and render comps with live progress reporting. All changes land as single undoable steps, and communication stays local through a token-protected bridge.
      147 npm
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Exposes roughly 135 After Effects tools so Claude Code, Codex, or any other MCP client can read a project and directly modify it — creating layers, keyframes, effects, expressions, and text, and managing the render queue — through a running AE panel.
      135
      1
      MIT