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
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。