@ajsmonty/adobe-mcp 1.1.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +308 -119
- package/SECURITY.md +19 -1
- package/adapters/blender.mjs +230 -0
- package/adapters/ppro.mjs +4 -3
- package/adapters/substance.mjs +193 -0
- package/adapters/texlib.mjs +193 -0
- package/bridges/blender/adobe_mcp_bridge.py +132 -0
- package/cep/mcp-bridge/main.js +2 -2
- package/cli/doctor.mjs +203 -0
- package/cli/index.mjs +67 -0
- package/cli/install.mjs +142 -0
- package/core/blender_pbr.py +148 -0
- package/core/bridge.mjs +113 -64
- package/core/harness.py +34 -0
- package/core/platform.mjs +205 -0
- package/core/pybridge.mjs +256 -0
- package/core/telemetry.mjs +80 -0
- package/core/texlib.mjs +279 -0
- package/core/win/run_com.js +25 -0
- package/core/workspace.mjs +35 -0
- package/knowledge/knowledge.mjs +9 -7
- package/knowledge/lessons.jsonl +20 -0
- package/package.json +45 -3
- package/scripts/ae/Cinematic_3D_Composite.jsx +173 -0
- package/scripts/blender/Creature_Walk_Cinematic.py +569 -0
- package/scripts/substance/Creature_Skin_LookDev.py +148 -0
- package/server.mjs +69 -27
- package/workflow/vfx.mjs +136 -0
- package/workflow/workflow.mjs +66 -21
package/README.md
CHANGED
|
@@ -1,170 +1,274 @@
|
|
|
1
|
-
# adobe-mcp
|
|
1
|
+
# adobe-mcp: AI automation for After Effects, Photoshop, Illustrator, Premiere Pro, Blender & Substance Painter
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@ajsmonty/adobe-mcp)
|
|
4
|
+
[](https://www.npmjs.com/package/@ajsmonty/adobe-mcp)
|
|
5
|
+
[](#platform-support)
|
|
6
|
+
[](https://modelcontextprotocol.io/)
|
|
7
|
+
[](LICENSE)
|
|
5
8
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
| `run_extendscript` | Run arbitrary JSX; `return <value>` comes back as JSON. Auto undo-grouped. |
|
|
11
|
-
| `get_project_state` | Project item tree, or one comp's layers in detail (`comp_name`). |
|
|
12
|
-
| `save_frame` | Render a comp frame to PNG, returned inline so Claude can *see* its work. |
|
|
13
|
-
| `list_ae_scripts` | List `.jsx`/`.jsxbin` tools in `scripts/` with descriptions from header comments. |
|
|
14
|
-
| `run_ae_script` | Execute a library script, like File → Scripts → Run Script File. |
|
|
15
|
-
|
|
16
|
-
## Knowledge system (the server learns as it goes)
|
|
17
|
-
|
|
18
|
-
The server ships with a curated knowledge base (`knowledge/lessons.jsonl`) seeded from real
|
|
19
|
-
production sessions — matchName gotchas, API quirks, parameter-type traps, and techniques
|
|
20
|
-
(blueprint line extraction, seamless wind loops, QE transitions, Auto Reframe...).
|
|
21
|
-
|
|
22
|
-
Three mechanisms keep it useful and growing:
|
|
9
|
+
One MCP server that lets Claude, Cursor or any MCP client work inside **After Effects, Photoshop,
|
|
10
|
+
Illustrator, Premiere Pro and Character Animator**, plus **Blender** and **Substance 3D Painter**, on
|
|
11
|
+
**macOS and Windows**. 41 tools, full scripting access in every app, inline previews so the model
|
|
12
|
+
can see its work, and hand-offs that move assets from one app to the next.
|
|
23
13
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
arrives with the error). Failures are also logged to `$WORKSPACE/error-log.jsonl` as raw
|
|
28
|
-
material for new lessons.
|
|
29
|
-
2. **`knowledge_search` / `knowledge_add` tools** — agents consult lessons before attempting
|
|
30
|
-
unusual scripting, and record new gotchas when they solve one that wasn't auto-suggested.
|
|
31
|
-
Runtime lessons persist to `$WORKSPACE/learned.jsonl` (survives repo updates, per-install).
|
|
32
|
-
3. **Server instructions + tool descriptions** — the highest-value rules (explicit document
|
|
33
|
-
targeting, visual verification, render-timeout handling, ES3 limits) are baked into the MCP
|
|
34
|
-
instructions and the per-tool descriptions, so a fresh install starts smart.
|
|
14
|
+
```bash
|
|
15
|
+
npx -y @ajsmonty/adobe-mcp install --client claude-desktop # or cursor, windsurf, claude-code
|
|
16
|
+
```
|
|
35
17
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
18
|
+
## Why it's different
|
|
19
|
+
|
|
20
|
+
- **One server for the whole pipeline.** Most Adobe MCP servers cover a single app. This one carries
|
|
21
|
+
a shot from Illustrator vectors to a Photoshop puppet, an After Effects comp, a Premiere edit and a
|
|
22
|
+
Blender/Substance 3D pass, with a shared asset registry so each app picks up where the last stopped.
|
|
23
|
+
- **Apps nobody else covers.** Character Animator puppets (full auto-rig taxonomy, 14 visemes),
|
|
24
|
+
Blender (live or headless) and Substance 3D Painter (bake + PBR export).
|
|
25
|
+
- **It learns.** A knowledge base of real scripting gotchas is attached to every failed script
|
|
26
|
+
automatically, and agents add new lessons as they solve them.
|
|
27
|
+
- **It looks before it moves on.** Preview tools return images inline, so the model checks each
|
|
28
|
+
step visually instead of guessing.
|
|
29
|
+
- **Free CC0 assets built in.** Search and download Poly Haven / ambientCG textures and HDRIs and wire
|
|
30
|
+
them into Blender materials in one call.
|
|
31
|
+
|
|
32
|
+
## Supported apps
|
|
33
|
+
|
|
34
|
+
| App | Tools | How it connects (macOS) | How it connects (Windows) |
|
|
35
|
+
|---|---|---|---|
|
|
36
|
+
| After Effects | `ae_*` (4) | AppleScript `DoScript` | `AfterFX.exe -r` |
|
|
37
|
+
| Photoshop | `ps_*` (5) | AppleScript `do javascript` | COM `DoJavaScriptFile` |
|
|
38
|
+
| Illustrator | `ai_*` (4) | AppleScript `do javascript` | COM `DoJavaScriptFile` |
|
|
39
|
+
| Premiere Pro | `ppro_*` (6) | MCP Bridge CEP panel | MCP Bridge CEP panel |
|
|
40
|
+
| Character Animator | `ch_*` (2) | puppet PSDs via Photoshop | puppet PSDs via Photoshop |
|
|
41
|
+
| Blender | `blender_*` (6) | Python add-on socket or headless | Python add-on socket or headless |
|
|
42
|
+
| Substance 3D Painter | `substance_*` (4) | remote scripting (HTTP) | remote scripting (HTTP) |
|
|
43
|
+
| Poly Haven / ambientCG | `texture_*` (2) | HTTPS | HTTPS |
|
|
44
|
+
|
|
45
|
+
Only need one app? There are single-app editions with the same code:
|
|
46
|
+
[`adobe-after-effects-mcp`](https://www.npmjs.com/package/adobe-after-effects-mcp),
|
|
47
|
+
[`photoshop-mcp`](https://www.npmjs.com/package/photoshop-mcp),
|
|
48
|
+
[`illustrator-mcp`](https://www.npmjs.com/package/illustrator-mcp),
|
|
49
|
+
[`character-animator-mcp`](https://www.npmjs.com/package/character-animator-mcp),
|
|
50
|
+
[`substance-painter-mcp`](https://www.npmjs.com/package/substance-painter-mcp).
|
|
51
|
+
Or limit this package with `ADOBE_MCP_APPS=ae,ps` (keeps the tool list short for the model).
|
|
52
|
+
|
|
53
|
+
## Try saying
|
|
54
|
+
|
|
55
|
+
- *"Create a 1920x1080 comp called Promo with a headline that slides in, then show me frame 30."*
|
|
56
|
+
- *"Turn the open photo into blueprint line art on a dark blue background and show me a preview."*
|
|
57
|
+
- *"Export every artboard in the Illustrator file as SVG, then bring the logo into After Effects as a layered comp."*
|
|
58
|
+
- *"Build a Character Animator puppet PSD for a cartoon fox with blinking eyes and all 14 visemes."*
|
|
59
|
+
- *"Import the AE comp into my Premiere sequence, reframe it vertical for Reels and export an H.264."*
|
|
60
|
+
- *"Plan a shot of a photo-real dinosaur walking past the camera, texture it with a free scale material and composite it over my plate."*
|
|
39
61
|
|
|
40
62
|
## Install
|
|
41
63
|
|
|
42
|
-
|
|
64
|
+
You need the Adobe apps you want to drive (and/or Blender, Substance 3D Painter).
|
|
65
|
+
In After Effects, turn on **Preferences → Scripting & Expressions → "Allow Scripts to Write Files and
|
|
66
|
+
Access Network"**.
|
|
43
67
|
|
|
44
|
-
|
|
45
|
-
2. Download the latest `adobe-mcp-x.y.z.mcpb` from [Releases](https://github.com/AJSMonty/adobe-mcp/releases) and **double-click it** (or drag it onto Claude Desktop → Settings → Extensions). Claude Desktop bundles its own Node runtime — nothing else to install.
|
|
46
|
-
3. Use it. The first tool call for each app triggers a one-time macOS **Automation** permission prompt — click Allow.
|
|
68
|
+
### Claude Desktop: one click (no Node needed)
|
|
47
69
|
|
|
48
|
-
|
|
70
|
+
Download `adobe-mcp-x.y.z.mcpb` from [Releases](https://github.com/AJSMonty/adobe-mcp/releases) and
|
|
71
|
+
double-click it (or drag it onto Settings → Extensions). Works on macOS and Windows.
|
|
49
72
|
|
|
50
|
-
|
|
73
|
+
**Upgrading?** Uninstall the old version first (Settings → Extensions → Adobe Creative Cloud → Uninstall):
|
|
74
|
+
in-place installs can leave stale files behind.
|
|
51
75
|
|
|
52
|
-
|
|
53
|
-
npx -y @ajsmonty/adobe-mcp
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
### Option C — from source (contributors)
|
|
76
|
+
### Claude Code plugin
|
|
57
77
|
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
# point your client at: node ~/tools/adobe-mcp/server.mjs
|
|
78
|
+
```
|
|
79
|
+
/plugin marketplace add AJSMonty/adobe-mcp
|
|
80
|
+
/plugin install adobe-mcp@adobe-mcp
|
|
62
81
|
```
|
|
63
82
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
## Hook up to your MCP client
|
|
83
|
+
Adds the server, a skill with the working rules, and `/adobe-doctor`. The skill alone also installs
|
|
84
|
+
with `npx skills add AJSMonty/adobe-mcp`.
|
|
67
85
|
|
|
68
|
-
|
|
69
|
-
Claude Desktop, Cursor, Windsurf, VS Code Copilot agent mode, Zed, Cline, Goose, ...).
|
|
70
|
-
Everything below is the same one-liner expressed in each client's config format:
|
|
71
|
-
run `npx -y @ajsmonty/adobe-mcp` over stdio (or `node .../server.mjs` for a source checkout).
|
|
86
|
+
### Any MCP client: one command
|
|
72
87
|
|
|
73
|
-
|
|
88
|
+
Node 18+ installed system-wide ([nodejs.org](https://nodejs.org); on macOS GUI apps often cannot see
|
|
89
|
+
nvm-managed installs):
|
|
74
90
|
|
|
75
91
|
```bash
|
|
76
|
-
|
|
92
|
+
npx -y @ajsmonty/adobe-mcp install --client claude-desktop
|
|
77
93
|
```
|
|
78
94
|
|
|
79
|
-
`--
|
|
95
|
+
`--client` accepts `claude-desktop`, `cursor`, `windsurf` or `claude-code`. If Premiere Pro is
|
|
96
|
+
installed it also sets up the Premiere panel (below). Add `--apps ae,ps` to register only some apps, `--no-panel` to skip the panel,
|
|
97
|
+
`--dry-run` to see what it would change. Existing configs are merged, with a `.bak` copy kept.
|
|
80
98
|
|
|
81
|
-
###
|
|
99
|
+
### Any MCP client: by hand
|
|
82
100
|
|
|
83
|
-
|
|
101
|
+
It's a standard stdio server. macOS/Linux config:
|
|
84
102
|
|
|
85
103
|
```json
|
|
86
104
|
{
|
|
87
105
|
"mcpServers": {
|
|
88
|
-
"adobe": {
|
|
89
|
-
"command": "npx",
|
|
90
|
-
"args": ["-y", "@ajsmonty/adobe-mcp"]
|
|
91
|
-
}
|
|
106
|
+
"adobe": { "command": "npx", "args": ["-y", "@ajsmonty/adobe-mcp"] }
|
|
92
107
|
}
|
|
93
108
|
}
|
|
94
109
|
```
|
|
95
110
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
### Cursor
|
|
99
|
-
|
|
100
|
-
Settings → MCP → Add server, or edit `~/.cursor/mcp.json` (global) / `.cursor/mcp.json` (per-project):
|
|
111
|
+
Windows: GUI apps can't start `npx` directly, so go through `cmd`:
|
|
101
112
|
|
|
102
113
|
```json
|
|
103
114
|
{
|
|
104
115
|
"mcpServers": {
|
|
105
|
-
"adobe": {
|
|
106
|
-
"command": "npx",
|
|
107
|
-
"args": ["-y", "@ajsmonty/adobe-mcp"]
|
|
108
|
-
}
|
|
116
|
+
"adobe": { "command": "cmd", "args": ["/c", "npx", "-y", "@ajsmonty/adobe-mcp"] }
|
|
109
117
|
}
|
|
110
118
|
}
|
|
111
119
|
```
|
|
112
120
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
121
|
+
| Client | Where the config goes |
|
|
122
|
+
|---|---|
|
|
123
|
+
| Claude Code | `claude mcp add --scope user adobe -- npx -y @ajsmonty/adobe-mcp` (Windows: `... -- cmd /c npx -y @ajsmonty/adobe-mcp`) |
|
|
124
|
+
| Claude Desktop | Settings → Developer → Edit Config (`claude_desktop_config.json`), then fully quit and reopen |
|
|
125
|
+
| Cursor | `~/.cursor/mcp.json` or `.cursor/mcp.json`; use Agent mode |
|
|
126
|
+
| VS Code (Copilot agent mode) | `.vscode/mcp.json`: `{"servers": {"adobe": {"type": "stdio", "command": "npx", "args": ["-y", "@ajsmonty/adobe-mcp"]}}}` |
|
|
127
|
+
| Windsurf | `~/.codeium/windsurf/mcp_config.json` |
|
|
128
|
+
| Anything else | run `npx -y @ajsmonty/adobe-mcp` over stdio |
|
|
116
129
|
|
|
117
|
-
|
|
130
|
+
### From source (contributors)
|
|
118
131
|
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
"adobe": {
|
|
123
|
-
"type": "stdio",
|
|
124
|
-
"command": "npx",
|
|
125
|
-
"args": ["-y", "@ajsmonty/adobe-mcp"]
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
132
|
+
```bash
|
|
133
|
+
git clone https://github.com/AJSMonty/adobe-mcp.git && cd adobe-mcp && npm install && npm test
|
|
134
|
+
# point your client at: node /path/to/adobe-mcp/server.mjs
|
|
129
135
|
```
|
|
130
136
|
|
|
131
|
-
|
|
137
|
+
## Set up each app
|
|
138
|
+
|
|
139
|
+
| App | One-time setup |
|
|
140
|
+
|---|---|
|
|
141
|
+
| After Effects | Turn on "Allow Scripts to Write Files and Access Network" (above). AE must be open with a project (the empty default is fine). |
|
|
142
|
+
| Photoshop, Illustrator | Nothing. macOS asks for Automation permission on first use: click Allow. |
|
|
143
|
+
| Premiere Pro | `npx -y @ajsmonty/adobe-mcp install` copies the MCP Bridge panel and enables `PlayerDebugMode`; restart Premiere and open Window → Extensions → MCP Bridge. Keep the panel open. |
|
|
144
|
+
| Character Animator | Nothing: puppets are built in Photoshop, then opened in Character Animator. |
|
|
145
|
+
| Blender | Background mode works out of the box. For live mode, install `bridges/blender/adobe_mcp_bridge.py` as an add-on. |
|
|
146
|
+
| Substance 3D Painter | Start it with `--enable-remote-scripting` (see the 3D section). |
|
|
132
147
|
|
|
133
|
-
|
|
148
|
+
### Check everything with `doctor`
|
|
134
149
|
|
|
135
|
-
|
|
150
|
+
```bash
|
|
151
|
+
npx -y @ajsmonty/adobe-mcp doctor # what's installed, running and configured
|
|
152
|
+
npx -y @ajsmonty/adobe-mcp doctor --live # also runs a one-line script in each open app
|
|
153
|
+
```
|
|
136
154
|
|
|
137
|
-
|
|
155
|
+
It checks Node, the workspace folder, every Adobe app, AE's scripting preference, the Premiere panel
|
|
156
|
+
and `PlayerDebugMode`, COM availability on Windows, Blender and Substance, and prints the fix for
|
|
157
|
+
anything that fails. `--json` gives machine-readable output.
|
|
138
158
|
|
|
139
|
-
|
|
159
|
+
## Tools
|
|
140
160
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
161
|
+
| Tool | What it does |
|
|
162
|
+
|---|---|
|
|
163
|
+
| `ae_run_extendscript` | Run any ExtendScript in After Effects; `return <value>` comes back as JSON. Undo-grouped. |
|
|
164
|
+
| `ae_get_state` | Project tree (comps, footage, folders), or one comp's layers in detail. |
|
|
165
|
+
| `ae_save_frame` | Render one comp frame and return it inline. |
|
|
166
|
+
| `ae_render_comp` | Queue a comp in the Render Queue and render it to disk. |
|
|
167
|
+
| `ps_run_extendscript` | Run any ExtendScript in Photoshop. |
|
|
168
|
+
| `ps_get_state` | Open documents and the active document's full layer tree. |
|
|
169
|
+
| `ps_save_preview` | Flattened PNG preview of the active document, inline. |
|
|
170
|
+
| `ps_export` | Export the active document to PNG, JPG or layered PSD. |
|
|
171
|
+
| `ps_run_action` | Play a recorded action from an action set. |
|
|
172
|
+
| `ai_run_extendscript` | Run any ExtendScript in Illustrator. |
|
|
173
|
+
| `ai_get_state` | Artboards, layers with item counts, text frames. |
|
|
174
|
+
| `ai_save_preview` | PNG preview of an artboard, inline. |
|
|
175
|
+
| `ai_export` | Export to SVG, PNG or PDF, or save a layered `.ai` for After Effects. |
|
|
176
|
+
| `ppro_run_extendscript` | Run ExtendScript in Premiere via the MCP Bridge panel. |
|
|
177
|
+
| `ppro_get_state` | Project, bins, sequences with track and clip inventory. |
|
|
178
|
+
| `ppro_import_media` | Import files into the project or a named bin. |
|
|
179
|
+
| `ppro_import_ae_comp` | Dynamic-Link After Effects comps into the project (no intermediate render). |
|
|
180
|
+
| `ppro_save_frame` | Render one frame of the active sequence, inline. |
|
|
181
|
+
| `ppro_export_sequence` | Render the active sequence with an `.epr` preset (Match Source H.264 by default). |
|
|
182
|
+
| `ch_taxonomy` | The layer naming Character Animator auto-rigs from. |
|
|
183
|
+
| `ch_build_puppet` | Build a rig-ready puppet PSD in Photoshop (head, brows, eyes, 14 visemes, limbs). |
|
|
184
|
+
| `blender_run_python` | Run `bpy` code live in Blender or in a headless Blender. |
|
|
185
|
+
| `blender_get_state` | Scene summary: frames, fps, engine, camera, passes, objects. |
|
|
186
|
+
| `blender_render_frame` | Render a preview frame through the scene camera, inline. |
|
|
187
|
+
| `blender_render_animation` | Render the frame range with the scene's output settings. |
|
|
188
|
+
| `blender_apply_texture` | Build a PBR material from a library asset or local maps and assign it. |
|
|
189
|
+
| `blender_set_hdri` | Light the scene with a library or local HDRI. |
|
|
190
|
+
| `substance_run_python` | Run Python in Substance 3D Painter. |
|
|
191
|
+
| `substance_get_state` | Texture sets, resolutions, stacks, channels, layers. |
|
|
192
|
+
| `substance_bake_mesh_maps` | Bake mesh maps (normal, AO, curvature, ...). |
|
|
193
|
+
| `substance_export_textures` | Export PBR maps with a preset. |
|
|
194
|
+
| `texture_search` | Search Poly Haven and ambientCG (CC0) for textures or HDRIs. |
|
|
195
|
+
| `texture_download` | Download an asset at 1k–8k into a local cache with normalised map names. |
|
|
196
|
+
| `vfx_plan_creature_shot` | Turn a creature-shot brief into physics-based timing and the ordered tool calls. |
|
|
197
|
+
| `workflow_assets` | The shared cross-app asset registry. |
|
|
198
|
+
| `handoff_import_to_ae` | Import a file into AE (layered PSD/AI become comps). |
|
|
199
|
+
| `handoff_place_in_ps` | Place an image or vector file as a layer in Photoshop. |
|
|
200
|
+
| `list_scripts` | List the per-app script library with descriptions. |
|
|
201
|
+
| `run_script` | Run a library script in its app, with parameters. |
|
|
202
|
+
| `knowledge_search` | Search the scripting lessons and gotchas. |
|
|
203
|
+
| `knowledge_add` | Record a new lesson so future sessions benefit. |
|
|
204
|
+
|
|
205
|
+
## 3D & cinematic VFX pipeline (Blender + Substance 3D Painter)
|
|
206
|
+
|
|
207
|
+
Two Python bridges extend the server beyond ExtendScript so one agent can take a shot from
|
|
208
|
+
blocking to final composite:
|
|
151
209
|
|
|
152
|
-
|
|
210
|
+
```
|
|
211
|
+
┌──► Blender ──────────► Python (bpy): live add-on socket :9877, or headless `blender -b`
|
|
212
|
+
MCP client ───────┼──► Substance Painter ─► Python: remote scripting HTTP :60041 (/run.json)
|
|
213
|
+
└──► After Effects ────► ExtendScript (osascript on macOS, AfterFX.exe on Windows)
|
|
214
|
+
```
|
|
153
215
|
|
|
154
|
-
|
|
216
|
+
Free CC0 texture & HDRI libraries ([Poly Haven](https://polyhaven.com), [ambientCG](https://ambientcg.com)):
|
|
217
|
+
everything both publish is public domain, so it's free for commercial work with no attribution.
|
|
218
|
+
|
|
219
|
+
The downloaded folder also works as `texture_dir` for `Creature_Walk_Cinematic.py`. Set
|
|
220
|
+
`POLYHAVEN_API` / `AMBIENTCG_API` to point at a mirror if you need to.
|
|
221
|
+
|
|
222
|
+
Library scripts (run with `run_script`, parameters via `params`):
|
|
223
|
+
|
|
224
|
+
- `scripts/blender/Creature_Walk_Cinematic.py`: a heavy-biped walk timed from physics. Speed comes
|
|
225
|
+
from the Froude number, stride from Alexander (1976), and feet stay planted with zero slide. The
|
|
226
|
+
neck and tail lag 3 frames per joint, the head is gaze-stabilised and turns toward the lens, and
|
|
227
|
+
the chest breathes. The camera is a handheld rig with operator lag and footfall impact shake. The
|
|
228
|
+
render setup is Cycles with a 180° shutter, a shadow catcher, and beauty/shadow/mist PNG sequences
|
|
229
|
+
plus a multilayer EXR. Tested headless against Blender 5.0.1 (`bpy`); it also handles the 4.x APIs.
|
|
230
|
+
- `scripts/substance/Creature_Skin_LookDev.py`: optional bake, then a matte "aged scales" base,
|
|
231
|
+
a cavity-masked wetness layer, and glossy eye/mouth sets, all in one undo step. Optional export.
|
|
232
|
+
- `scripts/ae/Cinematic_3D_Composite.jsx`: imports the passes, multiplies the shadow, adds a
|
|
233
|
+
precomped edge light wrap, depth haze from mist, an optional depth lens blur, CG softening, and
|
|
234
|
+
grain on the CG only.
|
|
235
|
+
|
|
236
|
+
Setup:
|
|
237
|
+
|
|
238
|
+
- **Blender live mode**: Edit → Preferences → Add-ons → Install from Disk →
|
|
239
|
+
`bridges/blender/adobe_mcp_bridge.py`, then enable it (listens on `127.0.0.1:9877`; override with
|
|
240
|
+
`BLENDER_MCP_PORT`). **Background mode** needs no add-on; it finds `/Applications/Blender*.app`,
|
|
241
|
+
`C:\Program Files\Blender Foundation\Blender *\blender.exe` or `blender` on `PATH` (override with `BLENDER_PATH`).
|
|
242
|
+
- **Substance 3D Painter**: launch with remote scripting enabled (port override: `SUBSTANCE_PAINTER_PORT`).
|
|
243
|
+
macOS: `open -a "Adobe Substance 3D Painter" --args --enable-remote-scripting`.
|
|
244
|
+
Windows: run `"Adobe Substance 3D Painter.exe" --enable-remote-scripting` from its install folder
|
|
245
|
+
(or add the flag to a desktop shortcut).
|
|
246
|
+
- Both bridges are local-only and unauthenticated: anything on the machine that can reach the
|
|
247
|
+
port can run Python in the app. Disable the Blender add-on or quit Painter when you're done.
|
|
155
248
|
|
|
156
|
-
|
|
157
|
-
- **ScriptUI panel scripts** open their palette in the AE window for a human to click.
|
|
158
|
-
- Plain `.jsx` panels with a separable core function can often be driven headlessly by evaluating the source with the UI kickoff stripped.
|
|
249
|
+
## Knowledge system (the server learns as it goes)
|
|
159
250
|
|
|
160
|
-
|
|
251
|
+
The server ships with a curated knowledge base (`knowledge/lessons.jsonl`) seeded from real
|
|
252
|
+
production sessions — matchName gotchas, API quirks, parameter-type traps, and techniques
|
|
253
|
+
(blueprint line extraction, seamless wind loops, QE transitions, Auto Reframe...).
|
|
161
254
|
|
|
162
|
-
|
|
255
|
+
Three mechanisms keep it useful and growing:
|
|
163
256
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
-
|
|
257
|
+
1. **Auto-surfaced gotchas** — every failed `*_run_extendscript` call is matched against the
|
|
258
|
+
lesson keywords; hits are appended to the error message the client sees (e.g. hit
|
|
259
|
+
`Illegal Parameter type` in Premiere and the fix for `autoReframeSequence`'s string preset
|
|
260
|
+
arrives with the error). Failures are also logged to `$WORKSPACE/error-log.jsonl` as raw
|
|
261
|
+
material for new lessons.
|
|
262
|
+
2. **`knowledge_search` / `knowledge_add` tools** — agents consult lessons before attempting
|
|
263
|
+
unusual scripting, and record new gotchas when they solve one that wasn't auto-suggested.
|
|
264
|
+
Runtime lessons persist to `$WORKSPACE/learned.jsonl` (survives repo updates, per-install).
|
|
265
|
+
3. **Server instructions + tool descriptions** — the highest-value rules (explicit document
|
|
266
|
+
targeting, visual verification, render-timeout handling, ES3 limits) are baked into the MCP
|
|
267
|
+
instructions and the per-tool descriptions, so a fresh install starts smart.
|
|
268
|
+
|
|
269
|
+
The `scripts/` per-app libraries are the executable side of the same idea — distilled,
|
|
270
|
+
reusable skills (`list_scripts` / `run_script`): blueprint line extraction (PS), seamless
|
|
271
|
+
wind loops and kinetic typography rigs (AE), one-call vertical Auto Reframe (Premiere).
|
|
168
272
|
|
|
169
273
|
## ExtendScript gotchas (learned the hard way)
|
|
170
274
|
|
|
@@ -178,16 +282,101 @@ Drop `.jsx` / `.jsxbin` files into `scripts/` — they're immediately available
|
|
|
178
282
|
- Parenting a child to a rotated layer bakes compensation into the child's transform — zero the child's rotation *after* parenting if it should inherit orientation.
|
|
179
283
|
- Grid effect: set **Size From** (`ADBE Grid-0002 = 3`) before animating the anchor, or your "scroll" resizes cells instead.
|
|
180
284
|
|
|
285
|
+
## Script library ("skills")
|
|
286
|
+
|
|
287
|
+
Per-app scripts live in `scripts/<app>/` (`ae`, `ps`, `ppro`, `blender`, `substance`). `list_scripts`
|
|
288
|
+
shows them with the descriptions from their header comments and `run_script` runs one in its app.
|
|
289
|
+
Drop your own `.jsx` / `.jsxbin` / `.py` files in to extend it.
|
|
290
|
+
|
|
291
|
+
- **Action scripts** (operate on the current selection, no UI) run headlessly: set the selection
|
|
292
|
+
first with `*_run_extendscript`.
|
|
293
|
+
- **ScriptUI panel scripts** open their palette in the app for a human to click.
|
|
294
|
+
|
|
295
|
+
> ⚠️ `scripts/` may hold third-party or purchased tools. Keep your fork **private** unless you're
|
|
296
|
+
> allowed to redistribute them, or add those files to `.gitignore`.
|
|
297
|
+
|
|
298
|
+
## Platform support
|
|
299
|
+
|
|
300
|
+
| | macOS | Windows |
|
|
301
|
+
|---|---|---|
|
|
302
|
+
| After Effects, Photoshop, Illustrator | ✅ | ✅ |
|
|
303
|
+
| Premiere Pro (CEP panel) | ✅ | ✅ |
|
|
304
|
+
| Character Animator (via Photoshop) | ✅ | ✅ |
|
|
305
|
+
| Blender, Substance 3D Painter, texture libraries | ✅ | ✅ |
|
|
306
|
+
| Inline previews downscaled | `sips` | Windows PowerShell + System.Drawing |
|
|
307
|
+
|
|
308
|
+
Windows notes:
|
|
309
|
+
|
|
310
|
+
- After Effects has no COM server, so the bridge hands scripts to the running AE with
|
|
311
|
+
`AfterFX.exe -r`. AE must already be open. Set `AE_EXE` if it's not under `Program Files\Adobe`.
|
|
312
|
+
- Photoshop and Illustrator use COM through Windows Script Host (`cscript.exe`). Pin a version with
|
|
313
|
+
`PS_COM_PROGID` / `AI_COM_PROGID` (e.g. `Photoshop.Application.200`) if several are installed.
|
|
314
|
+
- Run the Adobe apps and your MCP client at the same privilege level (both normal, or both as
|
|
315
|
+
administrator), or COM refuses with "Access denied".
|
|
316
|
+
|
|
317
|
+
On Linux the server still starts, and the Blender and texture tools work; the Adobe tools explain
|
|
318
|
+
that they need macOS or Windows.
|
|
319
|
+
|
|
320
|
+
## Troubleshooting
|
|
321
|
+
|
|
322
|
+
Run `npx -y @ajsmonty/adobe-mcp doctor --live` first. Common cases:
|
|
323
|
+
|
|
324
|
+
| Symptom | Fix |
|
|
325
|
+
|---|---|
|
|
326
|
+
| "no result file appeared" from AE | Turn on "Allow Scripts to Write Files and Access Network" and restart AE. |
|
|
327
|
+
| Timeouts | The app is showing a modal dialog: dismiss it. Long renders: raise `timeout_seconds`, and check the output file before re-running. |
|
|
328
|
+
| macOS: "not authorized" / -1743 | System Settings → Privacy & Security → Automation → allow your MCP client to control the app. Each new client (Cursor, a different terminal) asks once. |
|
|
329
|
+
| Windows: `COM_CREATE_FAILED 0x800401f3` | The app isn't registered for COM: open it once normally, or set `PS_COM_PROGID` / `AI_COM_PROGID`. |
|
|
330
|
+
| Windows: `0x80070005` Access denied | Run the Adobe app and the MCP client at the same privilege level. |
|
|
331
|
+
| "Premiere mcp-bridge panel is not running" | `npx -y @ajsmonty/adobe-mcp install`, restart Premiere, open Window → Extensions → MCP Bridge. |
|
|
332
|
+
| Client shows no tools (Windows) | Use `"command": "cmd", "args": ["/c", "npx", ...]` in the config. |
|
|
333
|
+
| Client shows no tools (macOS, nvm) | GUI apps can't see nvm's Node; install Node from nodejs.org or Homebrew. |
|
|
334
|
+
|
|
335
|
+
## Configuration
|
|
336
|
+
|
|
337
|
+
| Variable | Default | Purpose |
|
|
338
|
+
|---|---|---|
|
|
339
|
+
| `ADOBE_MCP_APPS` | all | Comma list of tool sets: `ae, ps, ai, ppro, ch, blender, substance, textures, vfx`. |
|
|
340
|
+
| `ADOBE_MCP_WORKSPACE` | `~/AdobeMCP` | Rendered assets, asset registry, learned lessons. |
|
|
341
|
+
| `AE_APP_NAME`, `PS_APP_NAME`, `AI_APP_NAME`, `PPRO_APP_NAME` | newest installed | macOS app names, e.g. `Adobe After Effects 2025`. |
|
|
342
|
+
| `AE_EXE` | newest `AfterFX.exe` | Windows path to After Effects. |
|
|
343
|
+
| `PS_COM_PROGID`, `AI_COM_PROGID` | `Photoshop.Application`, `Illustrator.Application` | Windows COM ProgIDs. |
|
|
344
|
+
| `BLENDER_PATH`, `BLENDER_MCP_PORT` | auto, `9877` | Blender executable, live add-on port. |
|
|
345
|
+
| `SUBSTANCE_PAINTER_PORT` | `60041` | Substance remote-scripting port. |
|
|
346
|
+
| `ADOBE_MCP_TELEMETRY`, `ADOBE_MCP_TELEMETRY_URL` | off | Opt-in anonymous usage counts (see below). |
|
|
347
|
+
|
|
348
|
+
## Real limits
|
|
349
|
+
|
|
350
|
+
- These are scripting bridges into desktop apps. The app must be installed, and usually open.
|
|
351
|
+
- A modal dialog in any app blocks its bridge until someone dismisses it.
|
|
352
|
+
- The Premiere panel is unsigned, which is why `PlayerDebugMode` is needed.
|
|
353
|
+
- Character Animator has no scripting API: puppets are authored in Photoshop around it.
|
|
354
|
+
- The Blender add-on and Substance remote scripting listen on localhost without authentication.
|
|
355
|
+
Read [SECURITY.md](SECURITY.md).
|
|
356
|
+
|
|
357
|
+
## Privacy and telemetry
|
|
358
|
+
|
|
359
|
+
Nothing is sent anywhere by default. If you set `ADOBE_MCP_TELEMETRY=1` *and* an endpoint
|
|
360
|
+
(`ADOBE_MCP_TELEMETRY_URL`), the server posts at most once a day: a random install id, the version,
|
|
361
|
+
OS and Node version, the enabled apps, and per-tool call and error counts. It never sends scripts,
|
|
362
|
+
file paths, project names, arguments, results or error text. The only other network traffic is the
|
|
363
|
+
texture library APIs, when you call those tools.
|
|
364
|
+
|
|
181
365
|
## Smoke test
|
|
182
366
|
|
|
183
|
-
With
|
|
367
|
+
With After Effects open, ask: *"Use ae_get_state to show me what's in my project, then create a
|
|
368
|
+
1920x1080 comp called 'Test' with a headline text layer and show me a frame."*
|
|
184
369
|
|
|
185
370
|
## Contributing & governance
|
|
186
371
|
|
|
187
|
-
PRs welcome
|
|
188
|
-
|
|
189
|
-
easiest high-value contribution.
|
|
190
|
-
server
|
|
372
|
+
PRs welcome: see [CONTRIBUTING.md](CONTRIBUTING.md). `npm test` runs the server end to end over stdio
|
|
373
|
+
on macOS, Windows and Linux in CI. All merges to `main` and `dev` need maintainer approval (branch
|
|
374
|
+
protection + CODEOWNERS). Lessons for the knowledge base are the easiest high-value contribution.
|
|
375
|
+
Read [SECURITY.md](SECURITY.md) before installing: this server runs scripts in your apps by design.
|
|
376
|
+
|
|
377
|
+
Releases: bump the version in `package.json`, `manifest.json`, `server.json` and `.claude-plugin/*`
|
|
378
|
+
(CI checks they agree), then push a `vX.Y.Z` tag. The release workflow publishes the npm packages,
|
|
379
|
+
the `.mcpb` bundle and the MCP registry entry.
|
|
191
380
|
|
|
192
381
|
## License
|
|
193
382
|
|
package/SECURITY.md
CHANGED
|
@@ -12,9 +12,27 @@ echo every script body in the conversation.
|
|
|
12
12
|
Additional notes:
|
|
13
13
|
|
|
14
14
|
- The server binds to **stdio only** — it opens no network ports and has no remote surface.
|
|
15
|
+
- **Exception: the optional 3D bridges are local ports.** The Blender add-on
|
|
16
|
+
(`bridges/blender/adobe_mcp_bridge.py`) listens on `127.0.0.1:9877`, and Substance 3D Painter's
|
|
17
|
+
own remote scripting (`--enable-remote-scripting`) listens on port 60041. Neither is
|
|
18
|
+
authenticated: any local process that can reach the port can run Python in that app. Enable
|
|
19
|
+
them only while you use them. Blender background mode opens no port.
|
|
15
20
|
- The workspace (`~/AdobeMCP` by default) collects rendered assets, an error log
|
|
16
|
-
(`error-log.jsonl`, includes failed script snippets) and learned lessons. Nothing is
|
|
21
|
+
(`error-log.jsonl`, includes failed script snippets) and learned lessons. Nothing from it is
|
|
17
22
|
transmitted anywhere by this server.
|
|
23
|
+
- **Telemetry is off by default.** It only runs when you set both `ADOBE_MCP_TELEMETRY=1` and an
|
|
24
|
+
endpoint (`ADOBE_MCP_TELEMETRY_URL`), and then sends only a random install id, version, OS/Node
|
|
25
|
+
version, enabled apps and per-tool call/error counts. No scripts, paths, names, arguments or results.
|
|
26
|
+
- **Windows:** Photoshop and Illustrator are driven through their COM automation servers via
|
|
27
|
+
`cscript.exe`, and After Effects through `AfterFX.exe -r`. These run as your user; nothing is
|
|
28
|
+
elevated. `install` writes only to your user profile (`%APPDATA%\Adobe\CEP\extensions`,
|
|
29
|
+
`HKCU\Software\Adobe\CSXS.*`, and the MCP client config you name, keeping a `.bak`).
|
|
30
|
+
- **macOS:** `install` writes the CEP panel to `~/Library/Application Support/Adobe/CEP/extensions`
|
|
31
|
+
and sets `PlayerDebugMode` in the `com.adobe.CSXS.*` user defaults.
|
|
32
|
+
- **Outbound requests:** only the texture-library tools (`texture_search`, `texture_download`,
|
|
33
|
+
`blender_apply_texture` / `blender_set_hdri` with a library id) make network calls, and only
|
|
34
|
+
plain GETs to `api.polyhaven.com`, `ambientcg.com` and their download CDNs. They send search
|
|
35
|
+
keywords and asset ids, never your files or scene data.
|
|
18
36
|
- Library scripts under `scripts/` run with the same privileges; only add scripts you trust.
|
|
19
37
|
|
|
20
38
|
## Reporting a vulnerability
|