After Effects MCP Server
Enables AI assistants to control Adobe After Effects through the MCP protocol, including composition creation, layer management, and animation.
README
🎬 After Effects MCP Server
✨ A Model Context Protocol (MCP) server for Adobe After Effects that enables AI assistants and other applications to control After Effects through a standardized protocol.
<a href="https://glama.ai/mcp/servers/@Dakkshin/after-effects-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@Dakkshin/after-effects-mcp/badge" alt="mcp-after-effects MCP server" /> </a>
Table of Contents
📦 Features
🎥 Core Composition Features
- Create compositions with custom settings (size, frame rate, duration, background color)
- List all compositions in a project
- Get project information such as frame rate, dimensions, and duration
🧱 Layer Management
- Create text layers with customizable properties (font, size, color, position)
- Create shape layers (rectangle, ellipse, polygon, star) with colors and strokes
- Create solid/adjustment layers for backgrounds and effects
- Create camera layers with configurable zoom and position
- Create null objects for animation control
- Modify layer properties like position, scale, rotation, opacity, timing
- Toggle 2D/3D mode for layers
- Set blend modes (normal, multiply, screen, etc.)
- Track matte support (alpha, luma, inverted)
- Duplicate layers with optional rename
- Delete layers from composition
- Create/modify masks with feather, expansion, and opacity
🌀 Animation Capabilities
- Set keyframes for layer properties (Position, Scale, Rotation, Opacity, etc.)
- Apply expressions to layer properties for dynamic animations
- Batch set properties across multiple layers at once
⚙️ Setup Instructions
🛠 Prerequisites
- Adobe After Effects (2022 or later)
- Node.js (v14 or later)
- npm or yarn package manager
📥 Installation
-
Clone the repository
git clone https://github.com/Dakkshin/after-effects-mcp.git cd after-effects-mcp -
Install dependencies
npm install # or yarn install -
Build the project
npm run build # or yarn build -
Install the After Effects panel
npm run install-bridge # or yarn install-bridgeThis will copy the necessary scripts to your After Effects installation.
🔧 Update MCP Config
Option 1: Using .mcp.json (Recommended for Claude Code)
The repository includes a .mcp.json file for easy configuration. Copy or reference it in your MCP settings:
{
"mcpServers": {
"AfterEffectsMCP": {
"command": "node",
"args": ["PATH/TO/after-effects-mcp/build/index.js"]
}
}
}
Option 2: Manual Configuration
Go to your client (e.g., Claude or Cursor) and update your config file:
{
"mcpServers": {
"AfterEffectsMCP": {
"command": "node",
"args": ["C:\\Users\\Dakkshin\\after-effects-mcp\\build\\index.js"]
}
}
}
▶️ Running the Server
-
Start the MCP server
npm start # or yarn start -
Open After Effects
-
Open the MCP Bridge Auto panel
- In After Effects, go to Window > mcp-bridge-auto.jsx
- The panel will automatically check for commands every few seconds
- Make sure the "Auto-run commands" checkbox is enabled
🚀 Usage Guide
Once you have the server running and the MCP Bridge panel open in After Effects, you can control After Effects through the MCP protocol. This allows AI assistants or custom applications to send commands to After Effects.
📘 Creating Compositions
You can create new compositions with custom settings:
- Name
- Width and height (in pixels)
- Frame rate
- Duration
- Background color
Example MCP tool usage (for developers):
mcp_aftereffects_create_composition({
name: "My Composition",
width: 1920,
height: 1080,
frameRate: 30,
duration: 10
});
✍️ Working with Layers
You can create and modify different types of layers:
Text layers:
- Set text content, font, size, and color
- Position text anywhere in the composition
- Adjust timing and opacity
Shape layers:
- Create rectangles, ellipses, polygons, and stars
- Set fill and stroke colors
- Customize size and position
Solid layers:
- Create background colors
- Make adjustment layers for effects
🕹 Animation
You can animate layers with:
Keyframes:
- Set property values at specific times
- Create motion, scaling, rotation, and opacity changes
- Control the timing of animations
Expressions:
- Apply JavaScript expressions to properties
- Create dynamic, procedural animations
- Connect property values to each other
🛠 Available MCP Tools
| Command | Description |
|---|---|
create-composition |
Create a new composition |
run-script |
Run a JS script inside AE |
get-results |
Get script results |
get-help |
Help for available commands |
setLayerKeyframe |
Add keyframe to layer property |
setLayerExpression |
Add/remove expressions from properties |
setLayerProperties |
Set layer properties (position, scale, rotation, opacity, blendMode, threeDLayer, trackMatteType, enabled, etc.) |
batchSetLayerProperties |
Apply properties to multiple layers |
getLayerInfo |
Get layer info (position, 3D status) |
createCamera |
Create camera layer |
createNullObject |
Create null object for animation |
duplicateLayer |
Duplicate a layer |
deleteLayer |
Delete a layer |
setLayerMask |
Create/modify layer masks |
👨💻 For Developers
🧩 Project Structure
src/index.ts: MCP server implementationsrc/scripts/mcp-bridge-auto.jsx: Main After Effects panel scriptinstall-bridge.js: Script to install the panel in After Effects
📦 Building the Project
npm run build
# or
yarn build
Note: This project uses esbuild for fast builds, replacing the previous TypeScript compiler approach that could run out of memory on larger codebases.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Star History
License
This project is licensed under the MIT License - see the LICENSE file for details.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。