After Effects MCP Server

After Effects MCP Server

Enables AI assistants to control Adobe After Effects through the MCP protocol, including composition creation, layer management, and animation.

Category
Visit Server

README

šŸŽ¬ After Effects MCP Server

Node.js Build License Platform

✨ 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

  1. Clone the repository

    git clone https://github.com/Dakkshin/after-effects-mcp.git
    cd after-effects-mcp
    
  2. Install dependencies

    npm install
    # or
    yarn install
    
  3. Build the project

    npm run build
    # or
    yarn build
    
  4. Install the After Effects panel

    npm run install-bridge
    # or
    yarn install-bridge
    

    This 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

  1. Start the MCP server

    npm start
    # or
    yarn start
    
  2. Open After Effects

  3. 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 implementation
  • src/scripts/mcp-bridge-auto.jsx: Main After Effects panel script
  • install-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

Star History Chart

License

This project is licensed under the MIT License - see the LICENSE file for details.

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

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.

Official
Featured