after-effects-mcp

after-effects-mcp

A production-minded Model Context Protocol server for Adobe After Effects that enables AI agents to control motion graphics, editorial planning, and rendering.

Category
访问服务器

README

After Effects MCP

A production-minded Model Context Protocol server for Adobe After Effects.

Headless Startup bridge · sync tool calls · hybrid high-level tools + JSX escape hatch · composition frame capture as images · resources & prompts for agents.

Build motion graphics, review cuts, and render YouTube-ready projects from an MCP client while keeping After Effects as the execution environment.

Documentation

Features

  • Headless by default — no “open panel + Auto-run” required
  • Sync-feeling RPC — tools wait for AE (request IDs, timeouts, clear errors)
  • Motion tools — comps, layers (text/shape/solid/null/camera…), keyframes, expressions, effects
  • Vision — ae_capture_frame returns a PNG still so agents can verify work
  • Resources — ae://project, ae://docs/*
  • Prompts — lower-third, kinetic type, debug comp
  • Companion skill — skills/after-effects-mcp/SKILL.md
  • Editorial planning — sentence-aware cut scoring, explainable EDLs, clean/retention/story modes, YouTube structure, chapters, and b-roll/graphic suggestions
  • Quality workflow — multi-frame QA, saved preview reviews, approve/reject decisions, and autonomous or approval-gated builds
  • Motion system — reusable brand-aware hook, lower-third, chapter, statistic, quote, subscribe, and end-screen templates
  • One-shot motion videos — canonical blueprints, visual grammar, coherence validation, deterministic scene builds, multi-frame QA, repair passes, and approval-aware previews
  • Export presets — automatic MP4, MOV, and PNG render presets with explicit output paths

Requirements

  • Adobe After Effects 2022+
  • Node.js 20+
  • AE preference: Edit → Preferences → Scripting & Expressions → Allow Scripts to Write Files and Access Network

Connection model (important)

When What you do
One-time setup install-bridge, enable scripting file/network access, open AE once
Day-to-day Leave After Effects open. Only restart the AI client (Grok / Claude / Cursor)
If tools go quiet AI client restart is enough — MCP auto-kicks the bridge into running AE. Or run ae-mcp ensure

You should not need to restart After Effects every time you reconnect the AI.

How it works: when the MCP server starts (AI client launch), it runs AfterFX.exe -r ae-mcp-ensure.jsx against the already open AE session, restarts the headless poller, and a watchdog re-kicks if heartbeats die.

Install

git clone https://github.com/HeroicSwan/after-effects-mcp.git ae-mcp
cd ae-mcp
npm install
npm run build
npm run install-bridge

If AE was already open during install, restart AE once so Startup bootstrap loads. After that, only restart the AI client.

npm run health
# or force reconnect without touching AE:
node dist/index.js ensure

MCP client config

Claude / Cursor / generic

{
  "mcpServers": {
    "ae-mcp": {
      "command": "node",
      "args": ["C:/Users/YOU/Projects/ae-mcp/dist/index.js", "serve"]
    }
  }
}

Grok / Codex / Claude Code

Point the MCP server command at node + absolute path to dist/index.js with arg serve.

The After Effects panel can write the Codex entry directly into C:\Users\YOU\.codex\config.toml. Restart Codex after installing it.

ChatGPT

ChatGPT uses a remotely reachable HTTPS MCP endpoint rather than launching this local Windows stdio command directly. Select ChatGPT (remote MCP) in the After Effects panel to create ~/.ae-mcp/chatgpt-setup.json and a setup guide. Set AE_MCP_CHATGPT_MCP_URL before setup if you already have an authenticated HTTPS relay. Never expose the local bridge without authentication.

CLI

Command Description
ae-mcp serve MCP stdio server (default)
ae-mcp health Check live bridge / AE
ae-mcp install-bridge Copy Startup bootstrap into AE script folders

Typical agent workflow

  1. ae_health
  2. ae_create_composition / ae_get_composition
  3. ae_create_layer → ae_set_keyframes / ae_set_expression / ae_apply_effect
  4. ae_capture_frame — look at the still
  5. Iterate

Tool catalog (v0.1)

Tool Purpose
ae_health Connection + project snapshot
ae_list_instances Live AE instances
ae_get_project_info Project summary
ae_list_compositions Comp index
ae_get_composition Comp + layers
ae_create_composition New comp
ae_get_layer / ae_create_layer / ae_set_layer_properties Layers
ae_duplicate_layer / ae_delete_layer Layer ops (confirm for delete)
ae_set_keyframes / ae_set_expression Animation
ae_apply_effect / ae_set_effect_property / ae_list_effects / ae_remove_effect Effects
ae_search Find items/layers by name
ae_capture_frame PNG still (+ image content)
ae_capture_frames Multi-frame visual QA manifest
ae_create_editorial_plan Sentence-aware YouTube edit decision list
ae_audit_editorial_plan Pacing, hook, coverage, and cut-quality audit
ae_build_youtube_edit Approval-aware YouTube edit builder
ae_create_motion_template Brand-aware reusable AE motion graphic
ae_create_motion_blueprint Create the canonical motion-video plan
ae_validate_motion_blueprint Explain timing, brand, scene, and template problems
ae_audit_motion_coverage Verify beat choreography, object motion, scene variation, and settle moments
ae_repair_motion_blueprint Apply safe deterministic blueprint repairs
ae_build_motion_video Build, QA, preview-render, and review a complete motion video
ae_render_composition Automatic AE render/export preset
ae_create_review / ae_decide_review Preview approval workflow
ae_run_jsx Escape hatch

Architecture

MCP client → ae-mcp (stdio) → in-process broker → ~/.ae-mcp/instances/<id>/
                                                     command.json → result.json
                                              ← AE Startup bootstrap.jsx

Development

npm run build
npm test
npm run typecheck

Before publishing changes, run the full local release check described in the installation guide.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选