Ae Mcp

io.github.JUNKDOGE-JOE由 GitHub 帳號 JUNKDOGE-JOE 發布v0.11.0更新於 Oct 24, 2026

A stdio connector for the local ae-mcp After Effects panel; install the AE extension separately.

已驗證STDIO僅桌面開發者工具媒體與設計

概覽

AI 產生的概覽

把 AI 助理連接到執行中的 Adobe After Effects 專案,可讀取合成、製作動畫、預覽畫面並保存可重複使用的腳本。

可以做什麼
  • 檢視專案狀態:以分頁、排序、篩選方式讀取專案、合成、圖層、屬性與關鍵影格,並查詢狀態與讀取工作
  • 製作與修改動畫:透過 ExtendScript 執行一般 AE 操作,並用原生 AEGP 工具做精確時間與物件定位
  • 畫面驗證:匯出 PNG 影格、網格取樣並比較 A/B 像素差異,驗證表達式
  • 檢查點與復原:儲存專案檢查點、還原,並利用擷取的腳本與 recoveryId 復原失敗的操作
  • 重複使用工具:搜尋、呼叫並儲存工具庫候選與提示技能,管理多個 AE 實例與專案情境
適用情境
適合在 After Effects 工作、希望助理檢視即時專案、撰寫或修正動畫與表達式,並用算圖預覽確認結果的情況。對需要反覆「讀取—執行—預覽—修正—保存」的動態圖像任務特別有用。
執行需求
本機需安裝並開啟 ae-mcp 的 After Effects CEP 面板(ZXP),使用原生工具還需安裝原生外掛;Mac 套件要求 macOS 14.0 以上。用戶端必須與 After Effects 在同一台機器上執行。支援 Streamable HTTP 的用戶端使用面板的本機回送位址;stdio 用戶端需 Node.js 18 以上,並使用 ae-mcp-jkdg npm 套件或擴充功能附帶的 stdio 轉送腳本。
安裝前請注意
助理可透過 ExtendScript 與原生呼叫寫入並修改你的 AE 專案,建議開啟核准並使用檢查點;寫入後應獨立回讀,復原需另外執行並驗證。逾時不一定能立即中斷同步 ExtendScript,PNG 預覽可能缺少參考圖層。面板另內建 OpenCode 執行環境,並在本機目錄保存狀態。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Ae Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ae-mcp

English | 简体中文

Automatic setup: paste this prompt into the MCP client you want to use
text
Install and configure ae-mcp for the current client receiving and executingthis prompt. Do not default to Claude Code or configure another client.Before changing anything, inspect the local ae-mcp extension and native plug-infiles and versions, plus this client's existing MCP registration and actualconnection, read-only. Existence alone does not prove readiness. Compare withthe latest official stable release assets available for my platform:- Client registration already correct: keep it; install only missing or damaged files.- Files complete and versions suitable: only add or repair client registration.- Both ready and current: verify without reinstalling.- Newer version available: upgrade existing components, preserving user settings  and other MCP configuration; do not downgrade. If versions cannot be established  or platform assets are unavailable, explain rather than blindly overwrite.Use the release ZXP and platform-native plug-in for needed file installation orupgrade, then open Window > Extensions > ae-mcp in After Effects.Identify this client's configuration method and location, preserving all otherMCP entries. Use http://127.0.0.1:11488/mcp if it supports Streamable HTTP;for stdio only, configure `npx -y ae-mcp-jkdg` using this client's format.If automatic editing is unavailable, give precise manual steps for this client.Ask which client only if the target truly cannot be identified; never silentlyfall back to Claude Code. Keep the AE panel open, refresh/reconnect or start anew session as this client requires, then call ae_status to verify. If useraction is required first, state that verification is still pending.

Let AI read your After Effects project, build animations, inspect the results, and save successful operations as reusable tools.

ae-mcp is an open-source CEP extension that connects a running After Effects project to the Model Context Protocol (MCP). Chat with Claude, Codex, or OpenCode inside the panel, or connect an external MCP client to work with compositions, layers, keyframes, and expressions.

Download v0.11.1 · Install · Tool reference · Changelog

What it does

  • Read real project state: inspect projects, compositions, layers, properties, and keyframes with pagination, sorting, and filtering.
  • Build and edit animations: run ExtendScript for general AE operations; use native AEGP tools for exact time and object locators.
  • Inspect composition pixels: export PNG frames from AE, sample multiple times in a grid, and compare A/B pixel differences.
  • Recover failed operations: use checkpoints of saved projects, captured failure scripts, and a recoveryId to inspect, correct, or restore state.
  • Keep reusable tools: successful scripts become replayable candidates that can be saved, pinned, archived, exported, and imported; prompt skills are supported too.
  • Follow execution: use the panel's approvals, activity timeline, conversation history, and diagnostic export.

The workflow is read → execute → preview → correct → save for reuse. The AI reads current state through the AE host, including unsaved changes, and checks results using both project structure and composition previews.

A complete workflow

Try a task like this in a test project:

text
Create a new composition with the text Hello AE. Over one second, fade it inand move it upward into the center. Read back the keyframes, then check theanimation with a multi-frame preview.

The screenshots show task entry, a six-frame preview, and the successful script captured in the Tool Library. These are actual v0.10.7 screens illustrating the workflow; v0.11.0 additions are described below.

What's new in v0.11.1

  • Fix native Codex image preview, zoom and conversation history.
  • Improve external MCP guidance, Tool Library scanning and Windows AE process discovery/retry.
  • Windows and macOS native plug-ins remain at 0.11.0; existing users only need to update the ZXP manually.

What's new in v0.11.0

  • Multiple instances and parallel previews: external clients can discover, launch, and route to multiple AE instances. Different projects can run concurrently; each project has one active writer, while read-only workers inspect and preview fixed checkpoint snapshots.
  • Session handoff: after a panel turn or external AE call finishes, another eligible session can take over the idle project. In-flight calls, engine draining, and uncertain writes continue to block handoff.
  • AI working directory: new chats default to the current AEP's folder, falling back to the user home folder if the project is unsaved or the directory is not writable. Choose a folder or restore the default in Settings; existing chats retain their directory.
  • Undo and recovery fixes: fixes for mismatched Undo groups and checkpoint recovery contexts. Rendering must run separately, outside an Undo group.
  • Native and worker reliability: improved cold-start native diagnosis, connection timeout recovery, and Windows background worker startup and shutdown cleanup.
  • 16 public tools, up from 13: adds ae_instances, ae_workspace, and ae_readJob, with the matching [email protected] stdio connector.

The release provides a shared Windows/macOS ZXP, native plug-ins for Windows x64 and macOS arm64, and checksums. The final Mac package completed scoped read/write, Undo, rendering, recovery, and installation checks on AE 26.3x87 arm64. Mac worker scenarios remain unverified. See the v0.11.0 release notes for verification scope and known limitations.

[ae-mcp MCP server]

Install and first run

  1. Download and install ae-mcp-panel-v0.11.1.zxp from the v0.11.1 release.
  2. For ae_nativeExec, download the native plug-in from the same release: AeMcpNative-v0.11.0-windows-x64.aex for Windows x64, or AeMcpNative-v0.11.0-macos-arm64.plugin.zip for macOS arm64. Extract the Mac ZIP and install AeMcpNative.plugin. Native plug-ins ship separately from the ZXP; see Install for destinations and macOS download quarantine handling. The Mac package requires macOS 14.0 or later. Both platforms use the same roughly 60 MB ZXP, which includes the Windows OpenCode runtime; macOS uses OpenCode from PATH.
  3. Start After Effects and open Window > Extensions > ae-mcp. Keep the panel open while an external client uses MCP.
  4. Configure Claude, Codex, or OpenCode in panel Settings, or connect an external client as described below.

The panel itself is the MCP service. No separate repository server is needed. External clients must run on the same machine as After Effects because the default endpoint is loopback.

Client connections

For one running panel, clients supporting Streamable HTTP can connect to the URL shown in the panel. For example, Claude Code with the default address:

bash
claude mcp add --transport http ae http://127.0.0.1:11488/mcp

For instance discovery and launch, or a stdio client such as Claude Desktop, use the matching connector (requires Node.js 18 or later):

json
{  "mcpServers": {    "ae": {      "command": "npx",      "args": ["-y", "[email protected]"]    }  }}

Without an explicit URL, the connector discovers the installed extension's multi-instance entry. It does not install or update the extension. Discover or explicitly start an instance with ae_instances, bind the project with ae_workspace, and pass the returned context_id on subsequent AE calls. Setting --url or AE_MCP_HTTP_URL pins forwarding to one endpoint. Closing the panel is an intentional disconnect and does not automatically reopen AE.

Alternatively, run the dependency-free stdio shim shipped in the installed extension. This example pins one endpoint. Set command to system Node and point args at the extension directory's host/stdio-shim.js:

json
{  "mcpServers": {    "ae": {      "command": "node",      "args": ["<installed-extension>/host/stdio-shim.js"],      "env": {        "AE_MCP_HTTP_URL": "http://127.0.0.1:11488/mcp"      }    }  }}

Refresh or reconnect the client after setup, then call ae_status to verify.

How it works

The MCP service runs directly in the CEP panel's Node host, at http://127.0.0.1:11488/mcp by default. Additional instances register their own endpoints. The host manages approvals, project contexts, the Tool Library, and logs.

mermaid
flowchart TB    panel["In-panel AI chat"] --> host["CEP Node MCP host"]    client["External MCP client"] -->|"HTTP / stdio connector"| host
    host --> jsx["ExtendScript"]    host --> native["AEGP"]    host --> worker["Read-only workers"]
    jsx --> project["AE project reads / writes"]    native --> precision["Exact time and object locators"]    worker -->|"Checkpoint snapshot"| preview["Reads and PNG previews"]

ExtendScript handles general operations. The native AEGP plane retains 23 fixed primitives for exact rational time and generation-bound object locators. Multiple instances do not permit simultaneous writers to the same project; worker results always describe their specified checkpoint snapshot. See Architecture for details.

Panel capabilities

The CEP host advertises 16 public MCP tools:

AreaTools
Statusae_status
ExtendScript and recoveryae_exec, ae_execRecover
Read and visual verificationae_read, ae_previewFrame, ae_validateExpressions
Project checkpointsae_checkpoint, ae_revert
Frozen native AEGPae_nativeExec
Tool Library and skillsae_toolSearch, ae_toolUse, ae_toolSave, ae_skillUse
Instances, project contexts, and read jobsae_instances, ae_workspace, ae_readJob

Successful ae_exec and ae_execRecover scripts are captured as deduplicated, rerunnable Tool Library candidates. ae_toolSave promotes or creates reusable JSX and prompt-skill artifacts; the Tools page manages candidates and saved artifacts, including import/export. Usage counters and funnel events show what gets replayed or retained, while the placeholder guard points compacted conversations back to exact candidates and stops repeated placeholder retries.

The panel also provides approval modes, activity history, diagnostics, log export, and built-in Claude, Codex, and OpenCode channels. Persistent host state defaults to ~/.ae-mcp; developers and tests can relocate it with AE_MCP_STATE_DIR.

The public MCP tools are served by the CEP host. Writes should be followed by an independent readback; potentially side-effecting failures must be reconciled before retry, and Undo must be executed and verified separately. A timeout cannot guarantee immediate interruption of synchronous ExtendScript; PNG previews may omit Guide layers. See Reference for multi-frame and difference parameters, recovery rules, and snapshot jobs.

Development

Install the two Node workspaces and build the panel:

bash
(cd plugin/host && npm ci)(cd plugin/panel && npm ci && npm run build)

For a local CEP deployment, use the platform-specific script after the host and panel are built:

powershell
.\scripts\install-plugin-dev.ps1
bash
./scripts/install-plugin-dev-macos.sh

The Adobe After Effects C/C++ Plug-in SDK is a developer-supplied input and must remain outside this repository. Verify it before building the native plug-in:

bash
node scripts/package/ae-sdk-input.mjs verify-input --platform macos-arm64

For the frozen native plane, build into a new directory outside the repository. The installer keeps transaction state under native-plugin-dev-v1; retain the returned transaction ID if you install the result:

bash
AE_SDK_ARCHIVE=/absolute/path/AfterEffectsSDK.zipAE_SDK_ROOT=/absolute/path/AfterEffectsSDKBUILD_DIR=/private/tmp/ae-mcp-native-devTRANSACTION_ID="paste-the-transaction-id-here"node native/ae-plugin/build-macos.mjs \  --sdk-archive "$AE_SDK_ARCHIVE" \  --sdk-root "$AE_SDK_ROOT" \  --output "$BUILD_DIR"# The install state root is native-plugin-dev-v1.node native/ae-plugin/install-dev-macos.mjs install --artifact-dir "$BUILD_DIR"node native/ae-plugin/install-dev-macos.mjs rollback \  --transaction "$TRANSACTION_ID"

The native plane is frozen; generated AEGP protocol files are checked in and the capability-package code-generation pipeline is not part of normal development.

Tests and packaging

Run focused Node contracts locally:

powershell
node --test scripts/package/test/verify-windows-zxp-stage.test.mjsnode --test scripts/package/test/zxp-payload-audit.test.mjs

The Windows ZXP staging command copies the panel, host, JSX, shared modules, icons, generated host assets, and the pinned OpenCode runtime staged by node scripts/package/fetch-opencode-runtime.mjs. It verifies the host's exact Express 4.22.2 dependency and signs the ZXP once:

powershell
.\scripts\package-zxp.ps1 -SkipSigning

The signed ZXP must contain no nested native binary; the bundled opencode.exe is the one explicitly allowed executable. The packaging script fails above 80 MB, and a release with the runtime is roughly 60 MB.

See Install, Reference, Tool Library, Architecture, Workflow, and Release for maintained operational and developer details.

Sponsors

Thank you to everyone who supports the development and maintenance of ae-mcp!

Sponsorship is voluntary, and any amount is appreciated. Your support helps with the project's development and maintenance.

Support via PayPal

Scan to support via WeChat Pay or Alipay

Scan with the corresponding app.

Sponsor acknowledgements

SponsorAboutContributionNote
biheye-gBilibili content creator 匕禾页CNY 18First sponsor
*青Alipay sponsorCNY 30—
O.oInkMoreWeChat Pay sponsorCNY 30—
A*uWeChat Pay sponsorCNY 18—

License

ae-mcp is released under the MIT License; see LICENSE. Adobe's CSInterface.js retains its upstream license notice.

來源:README.md,提交 10b0154

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.11.0最新Oct 9, 2026
  2. v0.10.4Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分