After Effects MCP Server

After Effects MCP Server

By Dakkshin GitHub

MCP Server for Adobe After Effects. Enables remote control (compositions, text, shapes, solids, properties) via the Model Context Protocol using ExtendScript.

nodejs javascript
Overview

What is After Effects MCP Server?

The After Effects MCP Server is a Model Context Protocol (MCP) server that connects AI assistants to Adobe After Effects, enabling remote control and automation of After Effects projects using ExtendScript.

How to use After Effects MCP Server?

To use the After Effects MCP Server, install the necessary dependencies, build the server, and configure After Effects to allow scripting. Then, start the server and connect your MCP client to perform tasks.

Key features of After Effects MCP Server?

  • Composition management: List, create, and get project information.
  • Layer creation: Create text, shape, and solid layers with custom properties.
  • Layer manipulation: Modify existing layer properties and update text content.
  • Remote execution: Run predefined ExtendScript functions within After Effects.
  • MCP integration: Exposes functionality through standard MCP tools.

Use cases of After Effects MCP Server?

  1. Automating video editing tasks in After Effects.
  2. Creating complex compositions using AI commands.
  3. Integrating AI tools for enhanced motion graphics workflows.

FAQ from After Effects MCP Server?

  • Can I use this server with any version of After Effects?

It is tested with version 2024, but may work with others.

  • Is there a specific Node.js version required?

LTS version of Node.js is recommended.

  • How do I troubleshoot common errors?

Check the AE console for errors and ensure the MCP Bridge panel is running.

Content

After Effects MCP Server

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.

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
  • Modify layer properties like position, scale, rotation, opacity, and timing

Animation Capabilities

  • Set keyframes for layer properties (Position, Scale, Rotation, Opacity, etc.)
  • Apply expressions to layer properties for dynamic animations

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/yourusername/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.

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

  • create-composition: Create a new composition in After Effects
  • run-script: Run predefined scripts in After Effects
  • get-results: Get results from the last script execution
  • get-help: Get help on using the After Effects MCP integration
  • setLayerKeyframe: Set a keyframe for a layer property at a given time
  • setLayerExpression: Set or remove an expression for a layer property

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

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

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

No tools information available.
Minecraft MCP Server
Minecraft MCP Server by yuniko-software

A Minecraft MCP Server powered by Mineflayer API. It allows to control a Minecraft character in real-time, allowing AI assistants to build structures, explore the world, and interact with the game environment through natural language instruction

nodejs javascript
View Details

MCP Tools Usage From LangChain ReAct Agent / Example in TypeScript

nodejs typescript
View Details

An MCP server built with Node.js/TypeScript that allows AI agents to securely read PDF files (local or URL) and extract text, metadata, or page counts. Uses pdf-parse.

nodejs pdf
View Details

MCP Client Implementation Using LangChain ReAct Agent / TypeScript

nodejs typescript
View Details

【Every star you give feeds a hungry developer's motivation!⭐️】A Model Context Protocol (MCP) server implementation that provides Google Jobs search capabilities via SerpAPI integration. Features multi-language support, comprehensive search parameters, and smart error handling.

nodejs typescript
View Details

An MCP server built with Node.js/TypeScript that allows AI agents to securely read PDF files (local or URL) and extract text, metadata, or page counts. Uses pdf-parse.

nodejs pdf
View Details
MCP Hub
MCP Hub by ravitemer

A centralized manager for Model Context Protocol (MCP) servers with dynamic server management and monitoring

nodejs ai
View Details