after effects mcp
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 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 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/yourusername/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.
Go to your client (eg. Claude or Cursor ) and update your config file
{
"mcpServers": {
"AfterEffectsMCP": {
"command": "node",
"args": ["C:UsersDakkshinafter-effects-mcpbuildindex.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: - 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
});
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
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
Command | Description |
---|---|
create-composition |
Create a new comp |
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 |
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
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.