connect-ai-adobe-mcp
by ihsanalapsi
README.md
<div align="center">
<img src="docs/images/banner-en.jpg" alt="Connect AI for Adobe" width="100%">
**Let Claude, or any AI agent that speaks MCP, work inside the real After Effects, Premiere Pro, Photoshop and Illustrator on your computer.**
[](https://www.npmjs.com/package/connect-ai-adobe-mcp)
[](LICENSE)




**English** · [العربية](README.ar.md)
[Watch it work](#watch-it-work) · [Install](#install) · [What it can do](#what-claude-can-do-in-each-app) · [Safety](#safety) · [How it works](#how-it-works)
</div>
## Watch it work
The 16-second film below was made by Claude through this bridge: every layer, camera, depth-of-field pull and keyframe in After Effects, then the edit in Premiere Pro with the sound design on 14 tracks and the export.
<div align="center">
<img src="docs/images/teaser.gif" alt="The 16-second film Claude built in After Effects and Premiere Pro" width="88%">
<br><sub><a href="https://github.com/ihsanalapsi/connect-ai-adobe-mcp/releases/latest/download/connect-ai-teaser.mp4">Full quality with sound (mp4)</a></sub>
</div>
And this is Claude building it: every shot appears in the After Effects comp as its batch lands (sped up 7×).
<div align="center">
<img src="docs/images/claude-builds-in-after-effects.gif" alt="Claude building the film in After Effects through the bridge, shot by shot (sped up)" width="88%">
</div>
## Why it is different
- **The real apps, live, both ways.** The bridge runs inside each app. Claude reads your project, changes it, and you keep working in the same file by hand.
- **Safe batches.** Related changes run as one batch. If a step fails, the whole batch is taken back and your file looks exactly as before; in After Effects and Photoshop it is one step in *Edit › Undo*.
- **Claude sees what it made.** After a change it asks for a frame or the artboard and gets the image back, so it checks its own work.
- **Arabic done right.** Right-to-left paragraphs, mixed Arabic and English in the right order, fonts that can write Arabic, Arabic-Indic digits.
- **Four apps, one shape.** The same kind of tools for After Effects, Premiere Pro, Photoshop and Illustrator, on macOS and Windows.
- **Free, local, no accounts.** MIT licensed. Nothing leaves your computer.
## Install
<table>
<tr>
<td width="50%" valign="top">
### Claude Desktop
[](https://github.com/ihsanalapsi/connect-ai-adobe-mcp/releases/latest/download/connect-ai-adobe-mcp.mcpb)
1. Double-click the file, or drag it onto *Settings › Extensions*, and press **Install**.
2. In a chat, ask Claude to **set up the bridge**. It runs `adobe_setup`, which puts the extension inside your Adobe apps.
3. Restart any Adobe app that was open.
Claude Desktop runs it with its own Node.js. Its settings have a **Read-only** switch.
</td>
<td width="50%" valign="top">
### Claude Code
```text
/plugin marketplace add ihsanalapsi/connect-ai-adobe-mcp
/plugin install connect-ai-adobe@connect-ai-adobe
```
This adds the bridge and a short guide that teaches Claude how to work in the apps (read first, change in safe batches, look at the result, Arabic text). Then ask Claude to set up the bridge. Needs Node.js 20 or newer.
</td>
</tr>
</table>
### One line in the terminal
```sh
npx connect-ai-adobe-mcp install
```
Sets up the Adobe side and registers the bridge with Claude Code and with every Claude Desktop profile. Needs Node.js 20 or newer.
<details>
<summary><b>From a copy of this repository</b> (macOS and Windows)</summary>
```sh
git clone https://github.com/ihsanalapsi/connect-ai-adobe-mcp
cd connect-ai-adobe-mcp
./install.sh # Windows: powershell -ExecutionPolicy Bypass -File install.ps1
```
The installer:
1. creates `~/.connect-ai-adobe-mcp/config.json` with a random pairing token,
2. finds every supported Adobe app on the machine,
3. installs the *Connect AI* extension and allows unsigned extensions (Adobe's `PlayerDebugMode`),
4. turns on *Allow Scripts to Write Files and Access Network* in After Effects when it is closed,
5. registers the MCP server as `adobe` with Claude Code (user scope) and with every Claude Desktop profile on the machine, keeping a private, dated copy of each settings file first,
6. runs the doctor.
Then restart any Adobe app that was open. The bridge starts with the app.
</details>
<details>
<summary><b>Any other MCP client</b></summary>
Run the server over stdio:
```json
{ "command": "npx", "args": ["-y", "connect-ai-adobe-mcp", "serve"] }
```
</details>
<details>
<summary><b>Check the setup</b></summary>
```sh
node bin/cli.js doctor # English; --lang ar or --lang both for Arabic
node bin/cli.js status # live connection details
```
</details>
## What Claude can do in each app
<table>
<tr>
<td width="50%" valign="top">
<img src="docs/images/aftereffects.jpg" alt="After Effects: the teaser's comp, eight shots with their markers, cameras and keyframes" width="100%">
**After Effects**: comps; text, solid, shape, null, camera, light, adjustment, footage and precomp layers; 3D, parenting, blending; keyframes with easing, hold or linear; cameras with depth of field; expressions; any installed effect; masks; markers; import and replace footage; renders with `aerender` in the background.
</td>
<td width="50%" valign="top">
<img src="docs/images/premiere.jpg" alt="Premiere Pro: the teaser's edit, the After Effects render on V1 and the sound design on 14 audio tracks" width="100%">
**Premiere Pro**: projects and bins; sequences from clips or presets; as many video and audio tracks as the edit needs; insert, overwrite, trim and move clips; Motion and Opacity values and keyframes; video and audio effects; transitions; markers; Motion Graphics templates with their text; export.
</td>
</tr>
<tr>
<td width="50%" valign="top">
<img src="docs/images/photoshop.jpg" alt="Photoshop: a layered launch poster with 3D objects placed as smart objects and Arabic text" width="100%">
**Photoshop**: documents; text, shape, fill and group layers; move, scale, rotate, opacity, blend modes, order; images as smart objects; filters (blurs, noise, sharpen, desaturate, invert, brightness and contrast); export PNG or JPG; save PSD.
</td>
<td width="50%" valign="top">
<img src="docs/images/illustrator.jpg" alt="Illustrator: a vector sheet on three layers: grid, artwork and type, with Arabic text" width="100%">
**Illustrator**: documents and layers; rectangles, rounded rectangles, ellipses, polygons, stars, lines and free paths; point and area text with right-to-left; move, resize, rotate, recolor, reorder, duplicate, group; place images; export PNG, JPG, SVG, PDF; save AI.
</td>
</tr>
</table>
Every screenshot above is a real window: Claude built those files through the bridge.
### Try saying
```text
In After Effects, make a 16:9 comp with my logo on a 3D orbit, a camera that pushes in with depth of field, and an Arabic title that rises in. Show me frame 4, then render it.
```
```text
In Premiere, put that render on a new sequence, add tracks for the sound, place a whoosh on every cut and two hits on the end card, then export it.
```
```text
In Photoshop, lay out a 1600×1000 poster: the four app icons on an orbit, the title in an Arabic font, and save it as PSD.
```
<details>
<summary><b>All tools</b></summary>
Every app has the same shape of tools, with its own prefix (`ae_`, `pr_`, `ps_`, `ai_`):
- `<app>_<command>`: one tool per command (read the project, create, change, animate, import, export…).
- `<app>_batch`: several commands in order as one batch, optionally returning an image at the end.
- `<app>_snapshot`: the result as an image.
- `<app>_run_script`: free ExtendScript for anything else, approved by you every time.
- `adobe_status`: which apps are installed, running and connected, and the safety mode.
- `adobe_fonts`: installed fonts and which ones write Arabic.
- `adobe_setup`: sets up the Adobe side from a chat.
Positions are pixels from the top-left corner, times are seconds, colors are `[r, g, b]` from 0 to 1.
| App | Versions | How the bridge gets in | One undo step per batch | Image back to Claude | Render / export |
| --- | --- | --- | --- | --- | --- |
| After Effects | 2024+ | panel (starts with the app); direct path on macOS | yes | any frame(s) | `aerender` in the background, with progress |
| Premiere Pro | 2024+ | panel (starts with the app) | taken back by the bridge on failure | any frame(s) | encoder preset (H.264 by default) |
| Photoshop | 2024+ | panel on Windows (starts with the app); direct path on macOS (AppleScript) | yes (history step) | the document | PNG, JPG, PSD |
| Illustrator | 2024+ | panel (starts with the app); direct path | taken back by the bridge on failure | the artboard | PNG, JPG, SVG, PDF, AI |
Tested with the 2027 versions on macOS and on Windows 11.
</details>
## Safety
Claude works in your real files, so the bridge is built to make mistakes cheap.
- **Batches are taken back on error.** If any command in a batch fails, everything the batch changed is undone and the error names the failed command.
- **A backup before the first change.** Before Claude first changes a saved file in a session, the bridge copies the last saved version to `~/.connect-ai-adobe-mcp/backups/<app>/` (the newest 20 per app are kept).
- **Stop everything at once.** `connect-ai-adobe-mcp stop` stops the bridge in every app and drops whatever is waiting; `resume` lets it work again. Each app's panel also has **Stop** and **Resume**.
- **Read-only mode.** `connect-ai-adobe-mcp mode read-only`: Claude can read your projects and look at images, but cannot change, save or export over anything. `mode full` switches back.
- **Apps on or off.** `connect-ai-adobe-mcp app photoshop off` keeps the bridge away from one app.
<details>
<summary><b>More on safety</b></summary>
- **Free scripts need your yes.** You see the whole script and approve each one. If your app cannot ask you, free scripts are off unless you set `"rawScripts": "allow"` (or `"deny"` to turn them off for good). On top of that, a check blocks scripts that run commands on the computer, delete, rename or move files, load outside code, open network connections, touch the bridge settings or files that start programs, or close the app. The check is a speed bump, not a wall: your approval is the real control. The same check covers After Effects expressions, which are saved in the project and run again on every open.
- **An activity log.** Every batch, its commands, the result and any backup are written to `~/.connect-ai-adobe-mcp/logs/`. `connect-ai-adobe-mcp log` shows the latest.
- **Local only, and a login that never sends the secret.** The extension listens on the loopback address. The server and the extension each prove they know the pairing token in `~/.connect-ai-adobe-mcp/config.json` without ever sending it, so a program that squats on the port learns nothing. The settings folder is readable only by you. No telemetry, no accounts, no network calls.
- **What the installer changes, plainly.** It turns on Adobe's `PlayerDebugMode`, which lets every unsigned CEP extension load, not only this one; it turns on After Effects' *Allow Scripts to Write Files and Access Network*; and it adds the bridge to Claude Code and to each Claude Desktop profile, keeping a dated, private copy of each settings file first.
- **Found a security problem?** Email security@ihsanalapsi.dev (see [SECURITY.md](SECURITY.md)).
</details>
## Arabic and other right-to-left languages
- Text with Arabic, Persian, Urdu or Hebrew letters is set right-to-left automatically in After Effects, Photoshop and Illustrator, with the world-ready text engine; mixed Arabic and English lines keep the right word order.
- `adobe_fonts` lists the installed fonts that can write Arabic, with the PostScript names the text tools take, so Claude never picks a font that breaks the letters apart.
- `digits: "arabic"` writes numbers as ٠١٢٣٤٥٦٧٨٩.
- English names keep working when an app runs in another language.
## How it works
```mermaid
flowchart LR
A["Claude or any MCP client"] -- "stdio (MCP)" --> B["Bridge server<br/>(Node.js)"]
B -- "127.0.0.1 + pairing token" --> C["Connect AI extension<br/>inside each app"]
C --> D["Host script<br/>(ExtendScript)"]
B -. "direct path:<br/>AppleScript / COM" .-> D
D --> E["After Effects · Premiere Pro<br/>Photoshop · Illustrator"]
```
- The **server** (`src/core`) speaks MCP, keeps one connection per app, and runs batches one after another.
- The **extension** (`panel/`) starts with the app, listens on the loopback address, checks the token and queues batches; its panel shows the last commands with **Stop** and **Resume**.
- The **host scripts** (`hosts/common/core.jsx` + `hosts/<app>/bridge.jsx`) run each batch, keep one undo step where the app allows it, and take the batch back on error.
- The **direct path** reaches Photoshop, Illustrator and After Effects without the extension: AppleScript on macOS, COM on Windows.
Details: [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). Adding another app: [docs/ADAPTERS.md](docs/ADAPTERS.md).
<details>
<summary><b>Development</b></summary>
```sh
npm test # unit tests: MCP server, relay, host scripts on fake apps, PNG handling
npm run check # syntax check of every file
node scripts/call.js aftereffects '[{"cmd":"project.info"}]' # one batch from the terminal
npm run pack:desktop # builds the Claude Desktop extension (.mcpb)
claude plugin validate . # checks the Claude Code plugin
```
No build step and no dependencies. Uninstall with `node bin/cli.js uninstall`.
</details>
## License
MIT © [Ihsan Alapsi](https://ihsanalapsi.dev). Adobe, After Effects, Premiere Pro, Photoshop and Illustrator are trademarks of Adobe; Claude is a trademark of Anthropic. This project is independent and not affiliated with either.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues