After Effects MCP Server
Enables AI assistants to control Adobe After Effects through a WebSocket-based CEP panel, supporting composition, layer, animation, effects, and render operations.
README

Brought to you by Brandkick - We grow brands like they're our own.
After Effects MCP Server
A Model Context Protocol server for Adobe After Effects. Enables AI assistants to control After Effects through a WebSocket-based CEP panel.
Requirements
- Adobe After Effects 2021+ (versions 18.x - 26.x)
- Node.js 18+
- pnpm
Installation
git clone https://github.com/Brandkick/after-effects-mcp.git
cd after-effects-mcp
pnpm install
just setup
Configuration
Add to Claude Code config (~/.claude.json):
{
"mcpServers": {
"aftereffects": {
"command": "node",
"args": ["/path/to/after-effects-mcp/build/index.js"]
}
}
}
Usage
- Claude Code starts the MCP server automatically
- Open After Effects
- Open the panel: Window > Extensions > MCP Bridge
Setup: JPEG Output Template
For exportCompFrame to work, create a JPEG output template in After Effects:
- Create any composition
- File > Export > Add to Render Queue
- Click "Output Module" settings
- Set Format to "JPEG Sequence"
- Set Quality to 50-70% (faster previews, smaller files)
- Optionally resize: check "Resize" and set to 50% or a fixed size like 960x540
- Click the template dropdown (top of dialog)
- Select "Save As New Template..."
- Name it exactly:
JPEG Sequence - Click OK
This only needs to be done once per After Effects installation.
MCP Tools
| Tool | Description |
|---|---|
run-script |
Execute any command (see Commands below) |
getHelp |
List all available commands |
createComposition |
Create a new composition |
setLayerKeyframe |
Set a single keyframe |
setLayerKeyframes |
Set multiple keyframes (batch) |
setLayerExpression |
Apply expressions to properties |
setEffectKeyframes |
Animate effect properties (batch) |
importFootage |
Import files into project |
addToRenderQueue |
Queue composition for render |
exportCompFrame |
Export single frame as PNG for visual verification |
Commands
All commands can be called via run-script. Use getHelp to see full documentation.
Project
getProjectInfo,newProject,saveProject,saveProjectAs,closeProjectcreateFolder,moveProjectItem,deleteProjectItemimportFootage,importPlaceholder,replaceFootage
Composition
listCompositions,getActiveComposition,createCompositionsetCompSettings- Modify duration, work area, frame rate, motion blur
Layers
createTextLayer,createShapeLayer,createSolidLayer,addLayerToCompgetLayerInfo,setLayerProperties- Name, transform, timingsetLayerFlags- Visibility, solo, shy, locked, motion blur, 3DdeleteLayer,duplicateLayer,reorderLayer,precomposeLayersetParentLayer,setTrackMattesetTextProperties- Font, size, color, justification
Animation
setLayerKeyframe,setLayerKeyframes(batch)setLayerExpressiongetKeyframes,deleteKeyframe,deleteKeyframes(batch)setKeyframeEasing,setKeyframesEasing(batch)copyKeyframes
Effects
applyEffect,applyEffectTemplatelistEffects,listAvailableEffects,getEffectPropertiessetEffectKeyframe,setEffectKeyframes(batch)
Time & Markers
setLayerTime- In/out point, start time, stretchenableTimeRemapping,setTimeRemapaddMarker,getMarkers,removeMarker
Camera & 3D
createCamera,createLightsetCameraProperties,setLightPropertiesset3DLayer,setMaterialOptions
Masks & Shapes
addMask,setMaskPath,setMaskProperties,deleteMaskaddShapePath,setShapePathVertices,addShapeModifier
Render
addToRenderQueue,renderQueue,queueInAMEgetRenderQueueStatus,clearRenderQueueexportCompFrame- Visual verification
Utility
getSelection,setSelectionbeginUndoGroup,endUndoGroup,getUndoGroupStatusgetPropertyInfo,listFonts
MCP Resources
| Resource | Description |
|---|---|
aftereffects://compositions |
List all compositions |
aftereffects://workflow-guide |
Visual verification workflow guide |
Development
just setup # Build and install CEP panel with debug mode
just build # Build only
just start # Start MCP server (for testing)
just clean # Remove build directory
Architecture
Claude Code <--stdio--> MCP Server <--WebSocket:8765--> CEP Panel <--CSInterface--> ExtendScript
See ARCHITECTURE.md for design principles.
Project Structure
after-effects-mcp/
├── src/
│ ├── index.ts # MCP server, tool definitions
│ ├── websocket-server.ts # WebSocket server
│ ├── logger.ts # Logging utility
│ ├── shared/
│ │ ├── commands.ts # Command registry (single source of truth)
│ │ └── config.ts # Configuration and timeouts
│ └── cep/ # CEP extension
│ ├── CSXS/manifest.xml
│ ├── index.html
│ ├── js/main.js # WebSocket client
│ └── jsx/modules/ # ExtendScript (modular)
│ ├── 00-polyfills.jsx
│ ├── 01-helpers.jsx
│ ├── 10-project.jsx
│ ├── 11-layer.jsx
│ ├── 12-keyframe.jsx
│ ├── 13-time.jsx
│ ├── 14-render.jsx
│ ├── 15-camera.jsx
│ ├── 16-mask.jsx
│ ├── 17-shape.jsx
│ ├── 18-selection.jsx
│ ├── 19-discovery.jsx
│ └── 99-dispatcher.jsx
├── scripts/
│ ├── install-cep.js
│ ├── build-jsx.ts # Concatenates JSX modules
│ └── generate-cep-config.ts
├── tests/
├── justfile
└── package.json
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.