Skip to content
gentic.news — AI News Intelligence Platform
Connecting to the Living Graph…

Listen to today's AI briefing

Daily podcast — 5 min, AI-narrated summary of top stories

Drive After Effects from Claude Code: Generate Production Videos via MCP
Open SourceScore: 88

Drive After Effects from Claude Code: Generate Production Videos via MCP

aftr is an open-source MCP server that lets Claude Code drive After Effects programmatically via JSON commands over WebSocket, enabling automated video rendering without manual work.

·Jul 13, 2026·3 min read··54 views·AI-Generated·Report error
Share:
Source: github.comvia hn_claude_code, @omarsar0, lovable_blog_gn, devto_claudecode, devto_mcp, gn_mcp_protocolMulti-Source
How do I control After Effects programmatically from Claude Code?

Use the aftr open-source tool: run `npx aftr-studio controller`, add the MCP server with `claude mcp add --transport http aftr http://127.0.0.1:8787/mcp`, then ask Claude Code to create and render comps.

TL;DR

Control After Effects programmatically from Claude Code using an open-source MCP server for automated video rendering.

What Changed

aftr is an open-source tool that exposes After Effects as a set of MCP tools for Claude Code. Instead of clicking through AE's UI, you send JSON commands over a WebSocket to a CEP panel inside After Effects. Claude Code calls ae_status, ae_list_commands, and ae_command as tools, treating AE like any other programmable resource.

What It Means For You

If you produce videos — title sequences, lower thirds, explainers, social clips — you can now script the entire pipeline from Claude Code. The controller runs a REST surface, WebSocket server, and interactive UI on port 8787. A spec-driven pipeline builds clips, renders them, reviews output, and self-corrects. No manual After Effects work.

Try It Now

Setup

aftr

  1. Install the controller (Node 18+ required):

    npx aftr-studio controller
    

    Or via pip: pip install aftr-studio && aftr controller
    Or Docker: docker run -p 8787:8787 ghcr.io/arman-luthra/aftr

  2. Deploy the CEP panel into After Effects (one-time):

    git clone https://github.com/Arman-Luthra/aftr.git
    cd aftr
    npm install
    npm run deploy:panel
    

    Quit and relaunch AE, then open Window > Extensions > aftr.

  3. Add the MCP server to Claude Code:

    claude mcp add --transport http aftr http://127.0.0.1:8787/mcp
    

Usage

Once connected, ask Claude Code in plain language:

"Create a 1080p 5s comp, add a title 'LAUNCH' with fire behind it, animate blurFade, then render to mp4."

Claude Code calls ae_status first, lists available commands with ae_list_commands, then runs ae_command with the appropriate JSON payload. The controller sends it over WebSocket to the CEP panel, which executes ExtendScript inside AE and returns results.

Advanced: Agentic Pipeline

For production workflows, the HLD orchestrator runs an agentic loop: it builds a comp, renders a frame, reviews it programmatically, and revises until it meets the spec. This is useful for batch processing or iterative refinement.

node examples/flaming-title.mjs "ON FIRE"

Requirements

  • After Effects 2024–2026
  • Node 18+
  • ffmpeg on your PATH

What's Next

The project is early-stage but opens up a major new capability: treating video production as code. Future possibilities include integration with Photoshop and Illustrator (as noted in HN comments), multi-shot sequencing, and template-driven pipelines. For Claude Code users, this means your agent can now produce finished video assets, not just code.


Source: github.com

[Updated 16 Jul via gn_mcp_protocol]

Meanwhile, Revid.ai — a commercial AI video generation platform — has launched its own MCP server and CLI tool, giving AI agents direct access to video production. Unlike aftr's open-source approach targeting After Effects power users, Revid's solution is aimed at enterprise teams needing fast, template-based video creation without manual AE work [per Revid.ai]. This signals a growing trend: both open-source and commercial platforms are racing to make video production programmable via AI agents.


Sources cited in this article

  1. Revid.ai
Source: gentic.news · · author= · citation.json

AI-assisted reporting. Generated by gentic.news from 1 verified source, fact-checked against the Living Graph of 4,300+ entities. Edited by Ala SMITH.

Following this story?

Get a weekly digest with AI predictions, trends, and analysis — free.

AI Analysis

Claude Code users should immediately add aftr to their MCP server list if they produce any video content. The key workflow change: instead of switching to After Effects to create title sequences or lower thirds, ask Claude Code to do it inline. This works best for repeatable, spec-driven tasks — brand videos, social clips, template-based renders. Start with a single comp to validate the setup, then iterate toward the agentic pipeline. Use `ae_list_commands` to discover capabilities before writing complex prompts. The self-correction loop is powerful but requires clear specs — include resolution, duration, animation style, and output format in your prompt. Monitor token usage since each render-review-revise cycle calls multiple tools.
This story is part of
Hugging Face Becomes the Neutral Ground Where Google and Anthropic's Agent Protocol War Converges
As Claude Code's MCP dominance threatens Google Cloud, Hugging Face's unique position as partner to both players creates an unexpected convergence zone
Compare side-by-side
Claude Code vs aftr
Enjoyed this article?
Share:

AI Toolslive

Five one-click lenses on this article. Cached for 24h.

Pick a tool above to generate an instant lens on this article.

Related Articles

From the lab

The framework underneath this story

Every article on this site sits on top of one engine and one framework — both built by the lab.

More in Open Source

View all