After Effects

Using ChatGPT and Codex with After Effects

Updated 2026-11-20 · by the mouzeclick team · Also in Español, Português (Brasil), Bahasa Indonesia

ChatGPT helps in After Effects in two ways. In a browser chat, it writes expressions and scripts as text that you paste in and test, and it never sees your comp. In the ChatGPT desktop app or Codex, an MCP server lets it read the comp and edit it. mouzeclick MCP, which we make, is one such server, and each change it makes is one undo step.

  • A chat on chatgpt.com can't reach After Effects. It only writes text that you paste in.
  • The ChatGPT desktop app, the Codex CLI and the IDE extension support MCP servers and share MCP configuration for the same Codex host, by default in ~/.codex/config.toml.
  • OpenAI's defaults give a server 10 s to start and a tool call 60 s to finish.
  • Codex is included in ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise (checked 20 November 2026).
  • mouzeclick MCP comes with the one mouzeclick plan. It has over 100 tools on Windows and 45 on Mac, and every change is one undo step.

See it working: Watch mouzeclick MCP do this

What can ChatGPT do in After Effects?

It does two different jobs, and most of the confusion comes from mixing them up.

  • In a chat, ChatGPT writes text: an expression, a script or a list of steps. You copy it into After Effects and find out whether it works.
  • Through an MCP server, the ChatGPT desktop app or Codex calls tools that run inside After Effects. If the server offers those tools, the app can read the comp and change it.

Which one you get depends on where you type. A chat on chatgpt.com in a web browser cannot reach the programs on your computer. OpenAI's Codex MCP documentation says ChatGPT web uses remote MCP tools through plugins and doesn't read local Codex configuration files. On OpenAI's side, three apps support MCP servers: the ChatGPT desktop app, the Codex CLI and the Codex IDE extension.

What mattersChat on chatgpt.comDesktop app or Codex with an MCP server
What it can seeOnly what you paste or describeWhatever the server exposes, such as comps, layer names and times
What you get backText: an expression or a scriptEdits made in the open project
Who applies itYou, by pasting or running a fileThe server's tools, when the app calls them
SetupNoneAdd a server, then restart the app
Best forOne expression, learning, a quick scriptRepetitive edits across many layers or clips

Everything about OpenAI on this page was checked on 20 November 2026 against OpenAI's own pages, linked under Sources.

How do I use ChatGPT to write After Effects expressions?

Describe the property, the layer and the motion you want, then paste the answer into that property's expression. Send back any error After Effects shows. Treat the first answer as a draft: the chat cannot see your comp and works from your words alone.

  1. Name the property and the goal in one sentence. “Scale of the layer Logo: overshoot and settle when it lands at 1 second” gives the model something you can test. “Make it bouncy” does not.
  2. Give exact names. Type layer, effect and slider names exactly as they read in your timeline, spaces and capitals included.
  3. Ask for the expression alone, with a comment on what each number changes. Then you can adjust the values later without asking again.
  4. Paste it onto the property. See our guide to adding expressions in After Effects.
  5. Scrub, don't just play. Check the first frame, a frame in the middle and the last frame. An expression that looks right at the start can still be wrong by the end.
  6. Paste errors back word for word. Give ChatGPT the exact error text with the expression, and ask for a fix to that line, not a rewrite.

On Windows, the ChatGPT desktop app has a quicker way to show the problem. OpenAI's Appshots bring a screenshot and the available text from the frontmost Windows app into ChatGPT. Put After Effects in front, press both Alt keys at the same time, then ask about the window. OpenAI describes Appshots on Windows; on a Mac, copy the error text instead.

For the jobs people ask for most, a tested version already exists:

  • Our wiggle expression guide covers one-axis and looping wiggles.
  • The After Effects expressions library lists 25 Library expressions, 42 in Type studio and 24 in mouzeexpr. Type studio and the Library sit in the After Effects workspace, which is Windows only.
  • mouzeexpr is one of our extensions and runs on Windows and Mac. It holds 24 ready expressions with settings, in five groups, and can Apply, Update, Remove or Bake to keyframes.

Can ChatGPT write an After Effects script for me?

Yes, as text. A script is a code file you run inside After Effects to do a job in one go, such as renaming every selected layer. ChatGPT can draft one, but you save it, run it and judge the result. The chat never sees what happened.

Not sure whether you need a script, an expression or a panel? Our guide to plugins, scripts and extensions explains .aex, .jsx and .zxp files and where each one goes.

  1. Ask for one job per script. “Rename the selected layers Shot 01, Shot 02 and so on, in timeline order” can be checked in seconds. “Organise my project” can't.
  2. Ask it to stop with a message when nothing is selected. A script that quietly runs on the wrong comp is the hardest mistake to spot.
  3. Save the code from a plain-text editor as a .jsx file. A word processor can swap straight quotes for curly ones and break the code.
  4. Save the project first. A script you didn't write can change many layers at once, so make a clean point to go back to.
  5. Run it on a duplicate comp. Our guide to installing After Effects scripts covers where script files go.

A script you run every day deserves a button. mouzerun, one of our After Effects extensions, turns five kinds of action into one-click buttons: a script, an expression, an animation preset, a menu command or a keyframe ease. It comes with six starter buttons, exports and imports your set, and runs on Windows and Mac. The mouzerun feature list shows all 31 items.

How does Codex connect to After Effects?

Through an MCP server that you add. OpenAI's Codex pages, checked on 20 November 2026, describe no After Effects connection of their own. The example servers they list are OpenAI Docs MCP, Context7, Figma Local and Remote, Playwright, Chrome Developer Tools, Sentry and GitHub. To act inside After Effects, Codex needs a server that offers After Effects as tools.

MCP, the Model Context Protocol, is an open-source standard for connecting AI applications to external systems. Its own site compares it to a USB-C port for AI applications. An MCP server is a program that exposes specific capabilities to those applications. The project names Claude, ChatGPT, Visual Studio Code, Cursor and MCPJam among the apps that support it. Our plain guide to MCP for video editors covers the idea in more depth.

The ChatGPT desktop app, the Codex CLI and the IDE extension support MCP servers and share MCP configuration for the same Codex host.

  • Where it lives: by default ~/.codex/config.toml, or .codex/config.toml inside a project (trusted projects only).
  • How a server is written: each one is a [mcp_servers.<server-name>] table.
  • Two kinds of server: STDIO, a local process started by a command, or Streamable HTTP, reached at an address.

Add a server in the ChatGPT desktop app

  1. Open Settings, then select MCP servers.
  2. Select Add server.
  3. Enter a name, choose STDIO or Streamable HTTP, and give the server's command or URL.
  4. Save the server, then select Restart.
  5. If the server signs in with OAuth, select Authenticate.
  6. In the composer, type /mcp to see the connected servers.

Add a server from the Codex CLI or the IDE extension

In a terminal, the pattern is codex mcp add <server-name> -- <stdio server-command>. Add --env VAR=VALUE for any settings the server needs. OpenAI's own example is codex mcp add context7 -- npx -y @upstash/context7-mcp. codex mcp list lists your servers, codex mcp login <server-name> handles OAuth, and /mcp in the terminal interface shows the active servers.

In the IDE extension, open the gear menu, select MCP servers, then Add server. Fill in the name, the type and the command or URL, save, and select Restart extension.

The Model Context Protocol's own reference servers don't include one for After Effects either: they are Everything, Fetch, Filesystem, Git, Memory, Sequential Thinking and Time. Servers from companies and the community are listed in the MCP Registry at registry.modelcontextprotocol.io.

How do I let Codex edit After Effects with mouzeclick MCP? (we make it)

Install mouzeclick, press Connect next to your AI app, keep the mouzeclick panel open in After Effects and restart the AI app once. We make mouzeclick, so read this section as ours.

mouzeclick MCP is a Model Context Protocol server that comes with mouzeclick, inside the one plan. It connects an AI app on your computer to After Effects and Premiere Pro. That can be the Claude desktop app, Claude Code, Cursor, Codex, or any app that can start a local MCP server.

  1. In mouzeclick, choose AI apps in the left menu and press Connect next to the AI app you use.
  2. Open After Effects or Premiere Pro, and keep Window › Extensions › mouzeclick open.
  3. Restart the AI app once.
  4. In Codex, type /mcp to check that the server is listed.
  5. Brief it the way you'd brief an editor: which footage, which reference, how long and what it's for.

In the owner's tests on Windows, it:

  • edited footage in the style of a reference video: pacing, cuts, transitions and titles
  • cut to the beat
  • added titles, karaoke captions, sound and transitions
  • made short reels from a long video
  • checked frames of its own work and rendered the result

Every layer stays editable in the After Effects timeline. Our pages on matching a reference video's style and turning a long video into reels walk through both jobs.

On Windows it has over 100 tools, including:

  • reading comps and the Premiere timeline, and listing effects
  • importing up to 50 files at a time, and creating and changing comps
  • moving, trimming, retiming, renaming, labelling, parenting, duplicating, deleting and precomposing layers
  • markers, plus opacity and rotation keyframes
  • 15 transitions, 17 kinetic-type styles and 25 SaaS motion tools
  • word-by-word karaoke captions from a transcript, and platform safe-area guides
  • hit sounds on cut or beat times, music ducked under voice, and a brand kit
  • in Premiere Pro, markers and razor cuts

The Mac app has 45 tools, including import, save, render and preview.

These safeguards are what a pasted script never gives you:

  • Every change is one undo step, and the AI app can take back up to five of its edits in one ask.
  • Raw scripts stay off unless you switch them on.
  • Your files stay on your computer. The AI app receives layer and clip names, times and settings.
  • Frame preview, up to 6 frames, works only when Let AI apps see frames is on.

Our own figures, from the owner's tests: editors save up to 70% of their editing time. A wedding teaser or highlight, which takes an editor around five days, comes out about 70% done. These are mouzeclick's numbers, not an independent study. The full setup is on the mouzeclick MCP page.

mouzeclick runs on Windows 10 and 11 and on macOS 12 or newer. The mouse app, wheels, gestures and the 22 Premiere Pro and After Effects extensions run on both. The two workspaces, Studio's captions and Retakes, cloud sync and in-app updates are Windows only. The installing on a Mac guide includes one allow step for the Mac app. mouzeclick also needs an internet connection while it runs. It's one plan: $25 a month, $249 a year, or $499 once for one of the first 100 lifetime keys. There's a 3-day trial with no card; see mouzeclick pricing.

Why can't Codex see my After Effects comp?

Usually the server isn't loaded in the app you're typing into, or the app hasn't restarted since you added it. Work down this list in order.

  1. You're in a browser tab. ChatGPT web doesn't read local Codex configuration files. Use the ChatGPT desktop app, the Codex CLI or the IDE extension.
  2. The app hasn't restarted. OpenAI's steps end with Restart in the desktop app and Restart extension in the IDE. mouzeclick's steps end with restarting the AI app once.
  3. /mcp shows nothing. The server was probably added to a different host or project. A server in a project's .codex/config.toml loads only in trusted projects. Run codex mcp list to see what is registered.
  4. It times out. OpenAI's defaults give a server 10 seconds to start (startup_timeout_sec) and a tool call 60 seconds (tool_timeout_sec). OpenAI documents both as MCP server settings.
  5. The mouzeclick panel is closed. mouzeclick MCP needs Window › Extensions › mouzeclick open in After Effects or Premiere Pro, and mouzeclick running with an internet connection.
  6. It can't check its own work. Frame preview stays off until you turn on Let AI apps see frames.
  7. It wants to run a raw script. Raw scripts stay off in mouzeclick MCP unless you switch them on. Leave them off unless you know why you need one.
  8. You're hitting usage limits. OpenAI says every MCP server adds more context to your messages and uses more of your limit. Disable the servers a session doesn't need.

On the paste route, the checks are simpler. Compare every layer and effect name in the expression with your timeline, then paste the exact error text back into the chat.

What does ChatGPT or Codex cost for After Effects work?

Codex comes inside your ChatGPT plan. OpenAI says ChatGPT Work and Codex are included in ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise, and share that plan's pricing, credits and usage limits. The table shows OpenAI's pricing page on 20 November 2026. Adobe's After Effects subscription is separate and isn't covered here.

OptionPrice as shown (20 Nov 2026)Notes for this job
ChatGPT Free, Go and PlusNot published in the pages we checkedCodex included
ChatGPT ProFrom $100/month; plans at $100, $200 or $500 USD per monthEverything in Plus; no five-hour limit at present
ChatGPT Business$20/user/month (2+ users, billed annually); $25 per user per month billed monthlyChatGPT and Codex across desktop and mobile apps; no training on business data by default
Enterprise & EduContact salesEverything in Business, plus SCIM, EKM, RBAC, Compliance API audit logs, and data retention and residency controls
API keyPay for usage at API pricingCodex in the CLI, SDK or IDE extension; no cloud-based features
mouzeclick (ours)$25 a month, $249 a year, or $499 once for one of the first 100 lifetime keysIncludes mouzeclick MCP; you bring your own AI app
  • OpenAI publishes estimates of local messages per five-hour period for Plus and standard Business, and says these are not fixed limits. Pro plans currently have no five-hour limit.
  • Every MCP server you leave switched on uses more of your limit.
  • OpenAI's plan table has an MCP row, but the text we checked showed no per-plan marks. Confirm on the pricing page that your plan includes it.
  • Voice in the desktop app uses your existing Codex usage budget at $0.05 per minute.

Should I paste from ChatGPT or let Codex edit the comp?

Paste from a chat when the job is one expression or one small script. Connect an MCP server when the job is many edits across a comp or a timeline. Plenty of editors use both.

The chat route is the better pick if

  • you need one wiggle, loop or bounce, once
  • you want to learn how an expression works, line by line
  • you can't install software on the machine, such as a studio or client computer
  • you work in DaVinci Resolve or another editor that mouzeclick MCP doesn't cover. It connects only to After Effects and Premiere Pro.

The MCP route is the better pick if

  • the edit is repetitive: dozens of layers renamed, retimed, labelled or precomposed
  • you start from footage and a reference video and want a first cut to react to
  • you want each change as its own undo step you can step back through
  • you already use Codex, Claude or Cursor for other work and want the same app working in After Effects

Where mouzeclick is not the pick: if all you ever need is an expression or two, a ChatGPT chat and our free guides cover it without a subscription. On a Mac, mouzeclick MCP has 45 tools against over 100 on Windows, and there is no Linux app.

Try mouzeclick free for 3 days, no card needed. One plan with everything included, $25 a month, or $249 for a year.

See the price

Questions people ask

Are ChatGPT's After Effects expressions safe to paste?Yes, if you test them like any code you didn't write. Paste onto a duplicate layer first, scrub the start, middle and end, and keep the original until the copy behaves. Check that every layer, effect and comp name in the expression matches your timeline exactly. If After Effects shows an error, paste that exact text back into the chat and ask for a fix to the line it names.
Does Codex work with After Effects on its own?No. OpenAI's Codex pages, checked on 20 November 2026, publish no After Effects connection. Codex reaches other programs through MCP servers, and OpenAI's example list has none for video editing: OpenAI Docs MCP, Context7, Figma, Playwright, Chrome Developer Tools, Sentry and GitHub. You need to add a server that exposes After Effects, such as mouzeclick MCP, which we make. Then Codex can call its tools.
Can ChatGPT in a web browser control After Effects?No. A chat on chatgpt.com can't reach programs on your computer. OpenAI says ChatGPT web uses remote MCP tools through plugins and doesn't read local Codex configuration files. For After Effects you need a desktop app that can start a local MCP server: the ChatGPT desktop app, the Codex CLI, the Codex IDE extension, or another desktop app such as Claude or Cursor.
Can I undo what Codex did in After Effects?With mouzeclick MCP, yes. Every change it makes is one undo step in After Effects, so you can step back through its edits one at a time. The AI app can also take back up to five of its own edits in one ask. If you ran a script pasted from a chat instead, save the project before running it, because a script can change many layers at once.
Does mouzeclick MCP work on a Mac?Yes, with fewer tools. The Mac app has 45 tools for AI apps, including import, save, render and preview; Windows has over 100. The workspaces, Studio captions and Retakes stay Windows only. mouzeclick runs on macOS 12 or newer, on Apple Silicon and Intel. macOS asks you to allow the Mac app once during the four-step install.
Is my After Effects project uploaded when Codex edits it?With mouzeclick MCP, your files stay on your computer. The AI app receives layer and clip names, times and settings. It gets small frame pictures only when you turn on Let AI apps see frames. What happens to that text afterwards depends on the AI app maker's terms. OpenAI's Business plan, for example, states no training on business data by default.
Can I use Claude or Cursor instead of Codex for After Effects?Yes. mouzeclick MCP works with any AI app on your computer that can start a local MCP server, and it names the Claude desktop app, Claude Code, Cursor and Codex. The setup is the same: press Connect next to the app in mouzeclick, keep the panel open and restart the app once. See our guides to Claude with After Effects and Cursor with After Effects.

Sources

Checked on 2026-11-20. Prices and features change: each link goes to the maker's own page.

  1. Model Context Protocol: introduction
  2. Model Context Protocol: server concepts
  3. Model Context Protocol: example servers and the MCP Registry
  4. OpenAI: MCP in Codex and the ChatGPT desktop app
  5. OpenAI: ChatGPT and Codex pricing (checked 20 Nov 2026)
  6. OpenAI: what's new in the desktop app (Appshots)