The After Effects MCP server enables AI assistants and applications to programmatically control Adobe After Effects through the Model Context Protocol, providing standardized access to composition management, layer creation and manipulation, and animation capabilities. It offers tools for creating and listing compositions, managing layers (text, shapes, cameras, solids), modifying properties like position and opacity, setting keyframes, and applying expressions for dynamic animations. This server solves the problem of integrating After Effects automation into AI-driven workflows and external applications without direct scripting knowledge.
✨ 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.
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-bridge
This will copy the necessary scripts to your After Effects installation.
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"]
}
}
}
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"]
}
}
}
Start the MCP server
npm start
# or
yarn start
Open After Effects
Open the MCP Bridge Auto panel
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.
You can create new compositions with custom settings:
Example MCP tool usage (for developers):
mcp_aftereffects_create_composition({
name: "My Composition",
width: 1920,
height: 1080,
frameRate: 30,
duration: 10
});
You can create and modify different types of layers:
Text layers:
Shape layers:
Solid layers:
You can animate layers with:
Keyframes:
Expressions:
| 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 |
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 Effectsnpm 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.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
miapre/html-to-figma-design-system
ie3jp/illustrator-mcp-server
coding-solo/godot-mcp
ivanmurzak/unity-mcp
yctimlin/mcp_excalidraw
figma/mcp-server-guide