Logo MCP Aftereffects

MCP Aftereffects

Tổ chức
kumoproductions

TypeScript MCP server for Adobe After Effects (Windows & macOS) — project/comp/layer introspection, atomic undo-grouped operations, JSON project export/import, and single-frame rendering via file IPC.

Nhà phát hànhkumoproductions
Kho mãmcp-aftereffects
Ngôn ngữTypeScript
Bản fork
3
Sao
79
Công cụ có sẵn
11
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    MCP Aftereffects cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 11 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    79 sao và 3 bản fork từ kho mã được liên kết.

MCP for After Effects

mcp-aftereffects

CI License: MIT Node After Effects Platform

English | 日本語

An MCP server that enables AI to control Adobe After Effects.

You can connect MCP-compatible clients such as Claude Code or Claude Desktop to a running instance of After Effects, allowing the AI to handle everything from project inspection and editing to rendering.

There is no need to provide detailed instructions on how to operate After Effects. Simply explain what you want to achieve in natural language, and the AI will check the project status and perform the necessary operations.

Windows / macOS · After Effects 2024–2026 · Node.js 24+

[!CAUTION] This tool directly manipulates After Effects projects via AI.

The AI can read project contents and modify compositions, layers, effects, keyframes, and more.

Additionally, information the AI reads from the project may be sent to the AI service you are using. This may include composition names, layer names, expressions, keyframes, footage file paths, etc.

If using this for projects under NDA or unreleased works, please check the data retention policy of the AI service you are using and the logs of your MCP client beforehand.

For first-time use, we recommend trying it with a backup or a test .aep file rather than a critical project.

Capabilities

With mcp-aftereffects, you can request the AI to perform After Effects tasks.

  • Inspect project contents
  • Investigate compositions and layers
  • Edit layers and properties
  • Add or modify keyframes
  • Edit effects and masks
  • Edit text and shapes
  • Set expressions
  • Save projects
  • Create and restore project backups
  • Render frames to preview changes

For example, you can give instructions like these:

"Import this Illustrator file and create some nice-looking text motion."

"Apply the revisions mentioned in this PDF."

"Point out any issues in this AEP."

Even for complex tasks, the AI can combine necessary operations while checking the project status.

Requirements

  • Windows or macOS
  • Adobe After Effects 2024 / 2025 / 2026
  • Node.js 24 or higher
  • MCP-compatible client (Claude Code, Claude Desktop, etc.)

No plugins or panels need to be installed within After Effects for the usual setup: one After Effects at a time. Driving several instances at once (AfterFX.exe -m) is the one case that needs a small startup script — see Multiple After Effects Instances.

After Effects Settings

In After Effects Preferences, please turn ON the following:

Preferences → Scripting & Expressions → "Allow Scripts to Write Files and Access Network"

If this setting is OFF, the AI will not be able to perform operations correctly.

For macOS

Upon first use, macOS may request permission for the client to control After Effects.

If it is not permitted, go to:

System Settings → Privacy & Security → Automation

and allow your MCP client or terminal to control After Effects.

Quick Start

No installation is required on the After Effects side as long as you run one After Effects at a time.

First, launch After Effects and open the project you wish to operate on.

Next, register mcp-aftereffects with your MCP client.

Claude Code

bash
claude mcp add aftereffects -- npx -y @kumoproductions/mcp-aftereffects

Claude Desktop

Add the following to your MCP configuration file:

json
{
  "mcpServers": {
    "aftereffects": {
      "command": "npx",
      "args": ["-y", "@kumoproductions/mcp-aftereffects"]
    }
  }
}

If you are using other MCP clients, please follow their respective registration methods for MCP servers.

Read-Only Mode

If you want to inspect or audit project content without making any changes, you can use read-only mode.

Add the following to your MCP client configuration:

json
{
  "mcpServers": {
    "aftereffects": {
      "command": "npx",
      "args": ["-y", "@kumoproductions/mcp-aftereffects"],
      "env": {
        "AE_MCP_READONLY": "1"
      }
    }
  }
}

You can still investigate the project and render frames for preview.

Advanced Settings

Usually, no configuration is necessary.

In some environments, such as when After Effects is installed in a non-standard location, additional settings may be required.

Specifying After Effects Location

If After Effects is not in the standard installation path, you can specify the executable location using AE_MCP_EXE.

By default, it automatically searches for After Effects in the order of 2026 → 2025 → 2024.

Limiting Operation Scope

Using AE_MCP_ALLOW_CATEGORIES, you can restrict the types of operations permitted for the AI.

For example, you can limit permissions to only keyframe-related operations depending on your use case.

Multiple After Effects Instances

After Effects can run several copies at once (AfterFX.exe -m), each with its own project. Out of the box the server reaches only the first, normally started copy: instances started with -m never receive the scripts it launches. To drive them, install the resident agent once:

bash
npx @kumoproductions/mcp-aftereffects install-agent

This drops a small startup script into After Effects' user-level Scripts/Startup folder (no admin rights needed; run it again after an After Effects update). From the next launch on, every instance — including -m ones — serves a mailbox of its own, and the server picks which instance to talk to:

  • AE_MCP_INSTANCE in the server's env names the default instance for the whole session, either by the id the instance was started with or by the project file it has open ("shotA", "shotA.aep", or a full path when two projects share a name).
  • Every tool takes an optional instance argument to address another instance for a single call.
  • ae_context and ae_do instance.list show what is live.

To name an instance at launch, set AE_MCP_INSTANCE in the environment that starts it:

bat
set AE_MCP_INSTANCE=shotA
"C:\Program Files\Adobe\Adobe After Effects 2026\Support Files\AfterFX.exe" -m

An unnamed instance gets a random id (ae-…) and can still be addressed by its project file. With exactly one live agent no configuration is needed at all; with several live and none named, calls fail with NO_INSTANCE instead of guessing.

The agent keeps polling its mailbox for as long as After Effects runs, server or no server, so the mailbox directory under your per-user temp folder stays the trust boundary for the whole session. The mailbox location is fixed into the startup script when you install it; if you change AE_MCP_RUNTIME_DIR, run install-agent again (agent-status tells you when it is out of date).

Parallel Work with Worker Instances

The AI can start instances itself. instance.start launches a new After Effects, waits for it to register, and can open a copy of a project — the safe way to work on something the main instance has open:

  1. instance.start { name: "w1", copyFrom: "<main .aep>" } — a worker with its own copy
  2. Work in it: any tool with instance: "w1"
  3. ae_save_project with instance: "w1"
  4. project.merge { path: "<the copy>" } in the main instance — the copy comes in as a folder; nothing already in the project is touched
  5. instance.stop { name: "w1" }

Several workers can run at once. Each is a full After Effects, so plan on a few gigabytes of memory per instance.

Execution of Arbitrary ExtendScript

mcp-aftereffects includes an advanced feature to execute arbitrary ExtendScript for processes that cannot be handled by standard operations.

This feature is disabled by default.

[!CAUTION] Enabling arbitrary ExtendScript allows operations outside of After Effects.

This may permit actions that affect your entire computer, such as file or process manipulation.

This feature is disabled by default. Enable it only if necessary.

To enable it, set the following in your MCP server environment variables:

json
"env": {
  "AE_MCP_ENABLE_EVAL": "1"
}

Use this feature only for advanced processing that cannot be achieved through regular operations or when custom ExtendScript is required.

Official Releases

[!NOTE] Official releases are distributed only through npm and GitHub Releases.

Please exercise caution if obtaining packages claiming to be @kumoproductions/mcp-aftereffects or files claiming to be this server from any other location.

Troubleshooting

Operations Timeout

Please check the following:

  • Is After Effects running?
  • Is a project open?
  • Is "Allow Scripts to Write Files and Access Network" turned ON?
  • On macOS, is the Automation permission enabled?

NO_INSTANCE

The call had no After Effects to go to. Either every running After Effects was started with -m and the agent is not installed (see Multiple After Effects Instances), the instance named by AE_MCP_INSTANCE / instance is not running or is stuck in a dialog, or several agents are live and none was named. The error lists what is live.

DIALOG_OPEN — After Effects Is Showing a Dialog

While After Effects shows a modal dialog, no script runs at all — neither the resident agent nor a -r launch. The most common cause is opening a project whose footage or fonts are missing ("N files are missing since you last saved this project"), and the dialog is often hidden behind the main window. The error quotes the dialog's text (on macOS, see below).

  • instance.dialogs lists the dialogs every running After Effects is showing.
  • instance.dismiss_dialog { id } closes it with Escape, the dialog's cancel action: a warning is acknowledged, and a question such as "Save changes before closing?" is cancelled rather than answered — nothing is saved or discarded. A dialog you want answered differently has to be clicked by you.
  • The agent resumes on its own once the dialog is gone; no restart is needed.
  • To avoid the missing-files warning in the first place, start After Effects without a project and open it with project.open, which suppresses the dialog.

Dialog detection works on Windows and macOS. On macOS it has two tiers:

  • With Accessibility permission for the app that runs the MCP server (System Settings > Privacy & Security > Accessibility — your terminal, or the MCP client app), every dialog is found and its text read, and instance.dismiss_dialog works the same way as on Windows: Escape, the cancel action. A "Save changes before closing?" prompt is cancelled (the project stays open and unsaved); a warning or script alert() is acknowledged. After Effects is not brought to the front.
  • Without that permission, dialogs are only guessed at from the window list: most are found, with empty text (accessibility: false), but some — such as the Adobe licensing prompt — are missed, and none can be dismissed from here.

Verified on After Effects 26.5 / macOS 26.4 with the missing-files warning, a script alert(), the save prompt and the System Compatibility Report.

After Effects Stops at a "We detected a crash" Dialog

If an After Effects process was killed (Task Manager, taskkill, a crash), the next launch shows the Safe Mode dialog and waits for a click — including instances started by instance.start, which then fail with did not register. Dismiss the dialog on screen. An instance that quits normally does not trigger it, so prefer instance.stop over killing.

After Effects Not Found

If you have installed After Effects in a non-standard location, please set AE_MCP_EXE.

If the issue persists, please report it via an Issue or to @cumuloworks.

Developer Information

For information regarding internal MCP tools, communication methods with After Effects, ExtendScript, test environments, and how to add custom operations, please refer to the developer documentation.

  • docs/TOOLS.md
  • CONTRIBUTING.md

Contributing

Bug reports, feature requests, and Pull Requests are welcome.

For information on setting up the development environment and the internal architecture, please refer to CONTRIBUTING.md.

License

MIT © 2026 kumo.productions, Inc.

Trademark

Adobe® and Adobe After Effects® are trademarks of Adobe Inc.

This project is an independent, unofficial tool and is not affiliated with or endorsed by Adobe.

Cài đặt

TypingMind
{
  "mcpServers": {
    "mcp-aftereffects": {
      "command": "npx",
      "args": [
        "-y",
        "@kumoproductions/mcp-aftereffects"
      ]
    }
  }
}

Công cụ có sẵn

  • ae_project_info

    Project-level info: file path, dirty flag, all items with type/summary, active item. Start here.

  • ae_comp_info

    Detailed comp info: size, fps, duration, work area, motion blur, layer summaries. Pass a comp name or item id — or an ARRAY of them to fetch several comps in one call.

  • ae_layer_info

    Full layer info: transform, effects, masks, text, shape contents, keyframes. layerIndex accepts one index, an ARRAY of indices, or 'all' — auditing a whole comp is one call. Set includeProperties=false to skip the property tree walk.

  • ae_render_frame

    Render a single frame to PNG. Use to visually verify edits. The agent's 'eyes' — pair with mutations for a visual feedback loop. Headless and deterministic. In color-managed projects (workingSpace != None) the capture applies AE's own display transform via a transient OCIO Display Transform adjustment layer, and the PNG comes back viewer-accurate and sRGB-tagged. Where that layer cannot be used — read-only mode, an AE without the OCIO effect, or a failed capture calibration — the result falls back to a pure-math ACES conversion or to raw values with an explicit colorWarning; check colorPipeline / colorWarning on the response.

  • ae_save_project

    Save the project. Pass path for Save As.

  • ae_project_export_json

    Serialize the entire project to JSON (folders, comps, layers, keyframes, effects, shapes, markers, time remap, solids, file refs). Write to outPath or return inline.

  • ae_project_import_json

    Rebuild the project from JSON (produced by ae_project_export_json). Supports clearFirst, dryRun (validate-only), skipValidation.

  • ae_version_info

    AE version, build, capabilities (saveFrameToPng, app.effects, Socket). Call at session start to know what APIs are available.

  • ae_catalog

    Discover available atomic operations for ae_do. Without args: all categories with their operation names. With a category: detailed params per operation. Only operations this server will actually execute are listed.

  • ae_do

    Execute an atomic operation by name (from ae_catalog). Arguments are validated against the operation's declared parameters before anything reaches AE. Have more than one operation to run? Wrap them in ONE batch.run instead of several ae_do calls — read/verify steps (comp.info, layer.info, render.frame) can ride in the same batch. Every call is automatically wrapped in ONE undo group: a single Ctrl+Z (or project.undo) reverts the entire call, and a batch.run counts as one call. Never call app.beginUndoGroup/endUndoGroup in eval.run code — the wrapper already did. Response includes ambient context (active comp, selected layers, project state) at zero extra round trips. Example: ae_do({ operation: 'keyframe.add', args: { comp: 'Main', layer: 1, property: ['Transform','Position'], time: 2, value: [960,540] } })

  • ae_context

    Ambient context: project state, active comp, selected layers, item list, AE.* helpers, ES3 rules, and the undo contract (every call = one auto undo group). Call at session start; then rely on ae_do response context.

Dùng MCP MCP Aftereffects với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối MCP Aftereffects, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm MCP Aftereffects làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của MCP Aftereffects.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "mcp-aftereffects": {
      "command": "npx",
      "args": [
        "-y",
        "@kumoproductions/mcp-aftereffects"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của MCP Aftereffects, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của MCP Aftereffects.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng MCP Aftereffects giúp tôi làm việc này không?
MCP Aftereffects
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng MCP Aftereffects.

Câu hỏi thường gặp

Máy chủ MCP MCP Aftereffects dùng để làm gì?

MCP Aftereffects là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP MCP Aftereffects với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng MCP Aftereffects với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP MCP Aftereffects với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối MCP Aftereffects, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP MCP Aftereffects với TypingMind?

MCP Aftereffects hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP MCP Aftereffects cung cấp những công cụ nào trong TypingMind?

MCP Aftereffects cung cấp 11 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP MCP Aftereffects không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu MCP Aftereffects yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇