Chandelier
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Chandelier build a print-ready A4 flyer with 3 mm bleed and export PDF/X-4"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Chandelier is an MCP server that lets AI agents — Claude Code, Claude Desktop, Cursor and other MCP clients — work in Adobe Illustrator: build print-ready documents, edit them, look at the result and export. It keeps one persistent connection to Illustrator, so a call costs ~5 ms instead of ~330 ms, and a whole page is built in one call.
Chandelier is люстра in Ukrainian, and «люстра» is what Ukrainian designers call Illustrator. A project that hangs over Illustrator and lights it up for AI agents.
Why
Driving Illustrator from an agent used to mean a choice: write ExtendScript files (fast, but blind and fiddly) or call an MCP server tool by tool (convenient, but hundreds of slow calls). Chandelier is both: typed tools, batches and a full scripting escape hatch over one fast connection, plus the print features real jobs need.
Measured with fresh Claude agents on the same jobs (2026-11-22, Illustrator 29.1, Apple M1):
Job | ExtendScript files | Chandelier | |
Recreate a design from an image — time | 2.5 min | 5.0 min | 1.2 min |
tool calls · input tokens | 16 · 0.81 M | 103 · 3.21 M | 11 · 0.42 M |
12-page calendar from a screenshot — time | 2.7 min | 21.4 min | 2.0 min |
tool calls · input tokens | 17 · 0.94 M | 365 · 13.3 M | 17 · 0.78 M |
Overhead per call | ~150 ms | ~330 ms | ~5 ms |
All Chandelier files scored 9–10 of 10 on the quality checklists, with global swatches, paragraph styles and a real bleed. Methods, every run and the caveats (one run per arm for the latest numbers): benchmarks.
Related MCP server: illustrator-mcp
Quick start
Needs: macOS or Windows 11, Adobe Illustrator 2025 or later, running (tested on 29.1 on macOS and 2027 / 31.0 on
Windows 11 ARM64), and Node.js 22.15 or later for the Claude Code and npx routes.
Claude Code — plugin (recommended): the MCP server, an Illustrator skill and the /ai-preview and /ai-preflight
commands.
/plugin install chandelier --marketplace acidka/chandelierOn Claude Code older than 2.1.275: /plugin marketplace add acidka/chandelier, then /plugin install chandelier@chandelier.
Claude Desktop: download chandelier-<version>.mcpb from the releases
and open it (or Settings → Extensions → Install extension). It brings its own dependencies and runs on Claude
Desktop's built-in Node.
Any MCP client — server only:
claude mcp add chandelier -- npx -y chandelier-mcp # Claude Code, macOS
claude mcp add chandelier -- cmd /c npx -y chandelier-mcp # Claude Code, Windows{ "mcpServers": { "chandelier": { "command": "npx", "args": ["-y", "chandelier-mcp"] } } }On Windows use "command": "cmd", "args": ["/c", "npx", "-y", "chandelier-mcp"]: Windows has only npx.cmd, no npx
executable. The plugin and the Claude Desktop bundle handle this themselves.
Chandelier is also listed in the official MCP Registry
as io.github.acidka/chandelier, for clients that install servers from it.
Then ask your agent for something (see what you can ask).
macOS: on the first call macOS asks whether your terminal (or app) may control Illustrator. Allow it, or later in System Settings → Privacy & Security → Automation.
Windows: nothing to allow. Run Illustrator and your MCP client at the same level (both normal, or both "Run as administrator"). The first start compiles a small helper (a few seconds); later starts reuse it. Illustrator can't save or open files whose path is 260 characters or longer; the server refuses those with a message.
Node version: the plugin and
npxstart the server with the firstnodeon your PATH. If that is older than 22.15 (an old nvm default, for example), the server says so through itsstatustool instead of starting. Install a current Node and make it the default (nvm install 22 && nvm alias default 22, orbrew install node), or give the full path of a newernodeas the command, then restart your MCP client.Smaller tool list: clients that load every tool schema up front can set
CHANDELIER_TOOLS=lean: the eight tools a build uses plus atoolstool that lists, explains and calls the rest — about 4.9 k tokens per request instead of 16.2 k (benchmarks). A design-from-image run with it scored 10 of 10 with no extra tool calls (run). A comma-separated list of tool names works too.Debug log:
CHANDELIER_LOG=debugwrites one JSON line per tool call (tool, time, result) to stderr;CHANDELIER_LOG_FILE=/path/to/fileappends them to a file.From source:
git clone https://github.com/acidka/chandelier.git && cd chandelier npm install && npm run build # then point your client at node /absolute/path/to/chandelier/dist/index.js
Features
Fast. One long-lived bridge process and a helper runtime loaded into Illustrator once; each call sends only a command and its arguments.
batchruns up to 1 000 tool steps in one round trip.Short build loop. Create a document, one batch for swatches and styles, one for content, one check (
preview {reference, preflight: true}), one finish (documents save {export: [...], close: true}) — about eight calls to Illustrator for a page.Full power when tools aren't enough.
run_scriptruns ExtendScript with a helper library (AIA.text,AIA.swatch,AIA.at(artboard, …)…), re-runnable.jsxbuilders with arguments, and ready recipes (calendar month, labels sheet, business card, style guide, colour chips).It looks at its work.
previewreturns an image of an artboard, items or a region. Given a reference image, it reports how far the content is shifted or scaled and lists each difference — moved (by how much), missing, extra or changed — with the items there.Print-ready. CMYK documents with real bleed, global process and spot swatches, paragraph and character styles, PDF/X-4 export with exact trim and bleed boxes and output intents (FOGRA39, GRACoL…), spread traps, colour conversion.
preflightchecks what matters (RGB in CMYK, missing fonts, overset text, hairlines, low-res images, white overprint…), skips non-printing layers, and can check brand rules (allowed colours, fonts, sizes; contrast).Production runs.
data_mergefills a template from CSV or JSON ({{name}}in any text, swapped photos, colours, optional parts) into one artboard per row, n-up sheets, or one PDF/PNG per row.batch {files}runs the same steps over a folder and saves copies.swatches {recolor}snaps every colour to a brand palette, also from an.aselibrary. Exports per layer set (with and without the dieline) and screen assets at 1x/2x/3x.Effects and more. Live, editable effects (drop shadow, glows, round corners, feather, blur, offset, roughen, zigzag, transform copies…), symbols, image trace.
Safe by design. Never launches Illustrator unless asked, never touches documents it didn't create or wasn't asked to change, removes what a failed call created, retries Illustrator's transient errors, and explains crashes and timeouts in plain words (and whether the timed-out call finished).
Agent-friendly. Compact responses, conventions sent once in the server instructions, errors that say what to do next, and two ready prompts:
recreate_designandprint_export.
What you can ask
Recreate the poster in
poster.pngas an editable CMYK A3 document with a 3 mm bleed, using global swatches and paragraph styles, and export a PDF/X-4.
Make a 2027 wall calendar: 12 A4 landscape pages, Monday first, ISO week numbers, weekends in red.
Preflight the open document, fix every error, and tell me what you changed.
Change the brand colour everywhere to
cmyk(100, 60, 0, 10)and export PNG previews of every artboard.
Make a certificate for every row of
attendees.csvand export one PDF per person, named after them.
Give the product cards a soft drop shadow and rounded corners, then export a PDF/X-4 for a FOGRA39 press.
Open every
.aiin~/jobs/spring, snap all colours to the swatches inbrand.ase, and save copies to~/jobs/out.
Tools
35 tools; every tool that changes a document can also be a step inside batch.
Group | Tools |
Session and documents |
|
Inspect |
|
Create |
|
Edit |
|
Structure, colour and effects |
|
Build |
|
Look, check, output |
|
Coordinates in every tool: [x, y, w, h] from the artboard's top-left, y down, in the session's units (pt, mm, in
or px). Full catalogue: plan § 6; how agents should use them:
agent guide.
How it works
AI agent ──MCP (stdio)──▶ Chandelier server (Node.js)
│ one persistent bridge process:
│ macOS: osascript / JXA (Apple events) · Windows: PowerShell + COM (DoJavaScript)
▼
Adobe Illustrator ── AIA runtime (ExtendScript, loaded once per Illustrator session)Each tool call becomes one Apple event (macOS) or COM call (Windows) that runs one runtime command; the runtime reloads itself after Illustrator restarts. Architecture, decisions with their pros and cons, and the measurements behind them: plan.
Status
Current release: 0.4.1 (2026-11-24) on macOS and Windows — npm, MCP Registry, Claude Code plugin and Claude Desktop bundle.
Release | Date | What it added |
0.4.1 | 2026-11-24 | Listed in the MCP Registry; README rewritten |
0.4 | 2026-11-24 | Look and print depth: live effects, spread traps, colour conversion, PDF/X output intents, a visual diff that says what moved (and by how much), what's missing and what's extra |
0.3 | 2026-11-24 | Production automation: |
0.2.1 | 2026-11-24 | Recipes, brand checks, export variants and screen assets, symbols, image trace, safe restart, debug log; fix: a tint no longer changes the swatch itself |
0.2 | 2026-11-24 | Windows: the same tools over a PowerShell/COM bridge (plan); all live suites pass with Illustrator 2027 on Windows 11 ARM64; design from an image in 1.5 min, 11 tool calls, 10 of 10 (benchmarks) |
0.1 | 2026-11-23 | First release on macOS: npm, Claude Code plugin, Claude Desktop bundle |
Everything planned and done: roadmap.
Documentation
How an agent should build, check and export with Chandelier | |
Goals, architecture, decisions with pros and cons, tool catalogue, risks | |
Phases, milestones, what's done and what's next | |
Every measurement, method and run | |
Known Illustrator failures and how Chandelier handles them | |
The full index |
Develop
npm test # unit tests, no Illustrator needed
npm run lint:jsx # ES3 lint of the ExtendScript runtime
npm run typecheck
npm run test:live # live suites: need Illustrator running; work only in documents they create
npm run bench # micro benchmark (ExtendScript files / ie3 MCP / Chandelier)
npm run build:mcpb # Claude Desktop bundle in build/
claude plugin validate plugin # the Claude Code plugin (plugin/) and its marketplace (.claude-plugin/)Rules for contributors and coding agents: AGENTS.md.
Support
Chandelier is free and open source, built in spare time. If it saves you time in Illustrator, you can buy me a coffee on Ko-fi:
Licence
Code: MIT. The logo and hero images are not covered by the MIT licence: see brand. Adobe and Illustrator are trademarks of Adobe Inc.; this project is not affiliated with or endorsed by Adobe.
Available Tools
35 toolsalign_itemsA
Align and/or distribute items. horizontal: "left" | "center" | "right"; vertical: "top" | "middle" | "bottom". to: "selection" (default: the bounds of all given items) | "artboard" (artboard index, default the reference one) | "key" (key ref stays put). distribute: "horizontal" | "vertical" — equal gaps between items (within their extent, or across the artboard with to:"artboard"), or a fixed spacing (session units). bounds: "geometric" (default) | "visible" (incl. stroke).
Inputs: refs (required), to, key, bounds, +5 more.
arrange_itemsA
Structure and stacking. action: "group" (refs → one group at the frontmost item's place, order kept; name) · "ungroup" (groups → their items; clipping released unless release_clip:false) · "clip" (refs → clipping group; mask = the frontmost item or mask ref; must be a path/compound) · "compound" (paths → compound path) · "release_compound" · "front" | "forward" | "backward" | "back" (z-order, relative order kept) · "move_into" (target: "layer:Name" (created if missing) or a group; position "front" (default) | "back") · "move_above" | "move_below" (target item). Returns the resulting items.
Inputs: refs (required), action (required), mask, name, +3 more.
artboardsA
Artboards of the active document. Rects are [x, y, w, h] with y = TOP, in session units, measured from the top-left of ARTBOARD 0 (stable: the active artboard changes), the same for reading and writing. action: "list" · "add" (rect; or w, h → placed right of the last artboard with spacing; name) · "update" (index; name; rect or x/y/w/h; move_art:true moves the art on it along) · "remove" (index; art stays) · "activate" (index) · "fit_to_art" (index; to the art on it, or to refs with pad) · "grid_layout" (columns, spacing: rearrange all artboards left→right, top→bottom; their art moves along unless move_art:false) · "crop_marks" (around artboard index, all:true, or refs; offset from the trim (default the document bleed, at least 3 mm), length (default 5 mm), weight pt (0.25); drawn in [Registration] into a group on layer "Crop Marks"). index defaults to the active artboard.
Inputs: h, w, x, y, +14 more.
batchA
Run many tool steps in ONE call (one round trip to Illustrator). steps: [{tool, args, artboard?}] — artboard: this step's coordinates start at that artboard's top-left; any tool except status, configure, preview, export and batch. Refer to an earlier step's items with "@n" (0-based step index) wherever a ref is accepted, e.g. {tool:"selection", args:{action:"set", refs:"@0"}}. stop_on_error (default true): stop at the first failing step. rollback (default false): if a step fails, delete the items created during the batch (not raw API creations in run_script) and close an empty new document. results: "all" (default) | "errors" (failures + counts, for big batches). steps_file: a JSON file with the steps (array or {steps}) instead of steps. files: run the steps on each file (paths, folders, globs like "jobs/*.ai"): open → steps → save → export → close. save: "copy" (default: into out_dir, originals untouched) | "in_place" (overwrites) | "none". export: [{format, path with {name} = file stem, …}]. Files already open are skipped. dry_run:true → open, run, report, close without saving or exporting.
Inputs: save, files, steps, export, +7 more.
configureA
Session settings used by every tool (and by AIA.* helpers in run_script). units: "pt" (default) | "mm" | "in" | "px" for positions and sizes (type sizes and stroke width stay pt). origin: "artboard" (default: top-left of the reference artboard, y grows down) | "document" (y up). artboard: index of the reference artboard (null = the active one). timeout: seconds per call (default 300). activate: front Illustrator before save/export (default true; Windows false). Returns the settings.
Inputs: units, origin, timeout, activate, +1 more.
create_pathA
Create a path from points, several point lists (compound path), or SVG path data "d" (SVG y-down units = session units; scale and x, y offset them — so an SVG icon can be dropped in at any size). Default paint when neither fill nor stroke is given: closed → black fill, open → 1 pt black stroke. Appearance: fill, stroke (colour or "none"), stroke_width (pt), dash (pt; [] = solid), cap, join, opacity, blend, graphic_style (applied first); name, note, hidden, locked. Placement: layer or parent. Many at once: items:[{…}]. Returns {count, items:[{uuid, name, type, box}]}.
Inputs: d, x, y, cap, +20 more.
create_shapeB
Create shapes. rect / rounded_rect (r) / ellipse / polygon (sides) / star (points, inner) take a box x, y, w, h (top-left; polygon and star are inscribed in it); line takes x1, y1, x2, y2. Default paint: no fill + 1 pt black stroke when neither fill nor stroke is given (lines: black stroke). Appearance: fill, stroke (colour or "none"), stroke_width (pt), dash (pt; [] = solid), cap, join, opacity, blend, graphic_style (applied first); name, note, hidden, locked. Placement: layer (name, created if missing) or parent (group ref / "layer:Name"); default the active layer. Many at once: items:[{…}, …] — each item's props override the shared ones given at the top level (e.g. shared fill, per-item x/y). Returns {count, items:[{uuid, name, type, box}]}.
Inputs: h, r, w, x, +25 more.
create_textA
Create text frames. Atomic: if styling fails the frame is removed. point (x, y; y = first BASELINE unless y_ref:"top"; align left|center|right anchors at x) · area (x, y, w, h; reports overset) · path (on_path = a path ref; keep_path copies it). kind defaults from the props given. Character: font (fuzzy), size, fill/color, stroke, leading, tracking, baseline_shift, underline, strikethrough, caps, horizontal_scale, character_style. Paragraph: align, paragraph_style, space_before/after, indents, hyphenation (sizes in pt). Placement: layer or parent. Many at once: items:[{text, x, y, …}] with shared props at the top level, or grid {x, y, cols, dx, dy, cells, col_props} for tables and calendars (x, y = first cell; align applies per cell). Returns {count, items:[{uuid, name, type, box}], overset?}.
Inputs: h, w, x, y, +37 more.
data_mergeA
Variable data (certificates, badges, labels, cards): fill a template once per data row. Template: the items on artboard (default 0) or refs. "{{field}}" inside any text is replaced, keeping its style. An item NAMED "{{field}}" takes the whole value: text → contents, linked image → relinked (file path, fit in its box), symbol → symbol name, shape → fill colour; NAMED "{{?field}}" → shown only if the value is non-empty (not 0/false/no). Data: data (.csv/.tsv/.json file; relative image paths resolve from its folder) or rows [{field: value}]; offset, limit. mode: "artboards" (default: one new artboard per row; columns, spacing) · "grid" (n-up: grid {cols, rows, dx, dy} copies per new artboard, the first where the template sits) · "files" (one export per row: export {format, path with {field}/{n} tokens, …export args}; the document is left unchanged). name: artboard name pattern (default "{n}"). remove_template:true deletes the template and its artboard at the end. dry_run:true → template fields vs data columns; nothing changes.
Inputs: data, grid, mode, name, +10 more.
delete_itemsA
Delete items by refs (a group and its children listed together are deleted once). Locked items are skipped unless force:true (items on locked layers are always skipped). Returns {deleted, skipped_locked?}.
Inputs: refs (required), force.
document_infoB
Compact summary of a document (default: active): colour space, bleed (session units, source xmp|file|unknown), artboards (rect [x,y,w,h] in session coordinates), layers (item counts, hidden/non-printing/locked), counts by type, global swatches with their colours, spot colours, paragraph/character styles, fonts used (text frames per font), selection count, and issues (RGB in CMYK, empty text, empty groups, unnamed text outside named groups, overset area text, unstyled text = frames left on the default paragraph style when the document has its own styles). checks:false skips the slow checks.
Inputs: doc, checks.
documentsA
Manage documents. Sizes are in session units (configure) unless "units" is given. action: "list" → open documents "new" (width, height, units? (also becomes the session units), color "cmyk"(default)|"rgb", artboards (count, default 1), columns (grid, default min(n,4)), spacing (gap between trim edges, session units, default 20 pt), bleed, artboard_names[], title) → creates and activates it "open" (path) → opens or activates a file "activate" (name) "save"|"save_as" (name? default active; path → save as, format from .ai|.pdf|.eps|.svg or "format"; pdf_preset?; export: [{format, path, artboards: [i]|"all", …export args}] and close:true → save, export, close in one call (not in batch)) "close" (name? default active; unsaved changes need save:true or discard:true) → also lists the documents still open
Inputs: action (required), name, path, save, +16 more.
duplicate_itemsA
Copy items. One of:
to_artboards: [indices] | "all" → one copy per artboard at the SAME position relative to the artboard (source artboard = where the item is, or from_artboard); name_suffix e.g. "-{artboard}".
rows, cols (grid; step = the items' size + gap_x/gap_y, or step_x/step_y) — the original is cell [0,0].
count (default 1) copies offset by dx, dy each. Copies go into the same container, or layer / parent. Returns the copies.
Inputs: refs (required), dx, dy, cols, +11 more.
edit_textA
Change text frames (refs: text frames or groups containing them). In order: contents (replace all text) → replace {find, with, all (default true), ignore_case} (without refs: in EVERY text frame of the document; keeps the styling of the replaced text) → paragraph props / character props for the whole frame → ranges:[{start, end | match, nth, …props}] to style parts. Props as in create_text. Returns {count, items, edits, overset?}.
Inputs: caps, fill, font, refs, +22 more.
effectsA
Live effects on items (editable later in Illustrator; lengths in session units, opacity 0-100). add: [{type, …}] in order: drop_shadow {x, y, blur, color, opacity, blend} · outer_glow / inner_glow {blur, color, opacity, blend; inner: from "edge"|"center"} · round_corners {radius} · feather {radius} · blur {radius} · offset {distance, joins} · roughen {size, detail, smooth} · zigzag {size, ridges, smooth} · pucker_bloat {amount: <0 pucker, >0 bloat} · transform {x, y, scale, scale_x, scale_y, rotate, copies} · {xml: raw LiveEffect XML}. clear:true first removes all effects (paths/groups keep their fill and stroke). Effects can't be read back; path_ops expand bakes them. Returns {count, items (box incl. effects)}.
Inputs: refs (required), add, clear.
exportA
Export the active document (it stays unchanged). format: "pdf" | "png" | "jpg" | "svg" | "webp". artboards: [indices] | "all" (default: the active artboard). refs: export just these items (png only). path: a file, or a folder (several outputs: -.; with a file path -.). variants: [{name, show:[layers], hide}] → one export each (-); layers restored after. Screen assets (png, refs): each:true → a file per item named after it; scales:[1,2,3] → name@2x.png…. PDF: preset (default "[PDF/X-4:2008]"; any name from Illustrator's PDF presets), pages "one_file" (default) | "per_artboard", bleed: "document" (default: its bleed if known) | number | [left, top, right, bottom] in session units → pages grow by it, TrimBox = artboard, BleedBox = page; output_intent: an installed CMYK profile by name ("FOGRA39", "GRACoL") or an .icc path → the PDF/X output intent. Warns about variable fonts (B10). Raster: scale (factor, default 1) | dpi | width (px); background "white" | "transparent" (png, webp); jpg is quality 80. SVG is clipped to the artboard; svg_text "outline" | "text". Returns {files:[{path, artboards, bytes, pages?, pdfx?, output_intent?, boxes?}]}.
Inputs: path (required), format (required), dpi, each, +12 more.
find_itemsA
Find items in the active document (all depths) in one pass. All filters are optional and combine (AND): type (one or an array), name (glob: * and ?), text (substring of text contents, case-insensitive), font (substring of the PostScript or "Family Style" name), size (font size, or [min,max]), fill / stroke (colour), layer (name, includes sublayers), in (ref of a layer or group), artboard (index: touching it), within ([x,y,w,h]: touching it), top_level (direct children of layers only), hidden / locked / selected (booleans), guides (true = only guides, false = no guides). Returns {total, by_type, items:[…fields], more?}. fields default ["uuid","type","name","box"]; also: layer, parent, text, font, size, fill, stroke, sw, opacity, hidden, locked, selected, artboard. limit default 50, offset for paging, count_only for just the counts.
Inputs: in, fill, font, name, +16 more.
fontsA
Installed fonts. query (substring of PostScript name or "Family Style", spaces/dashes ignored) and/or family (exact) → [{name (PostScript), family, style}] (limit default 50); families_only:true lists family names. resolve:"Montserrat SemiBold" shows which font the fuzzy matching used by create_text picks.
Inputs: limit, query, family, resolve, +1 more.
get_itemsA
Full detail of items by refs: box (visible) and geo (geometric) [x,y,w,h], layer, parent, opacity, blend, hidden/locked; paths: closed, points count, area, fill, stroke, sw, dash, cap, join, clipping (+ "path": points with in/out handles if points:true); text: kind (point/area/path), contents, anchor (baseline start of point text), lines, align, paragraph_style, runs [{text, font, size, fill, leading, tracking}] (runs:false to skip); groups: items, clipped; placed: file (missing_link); symbols: symbol. limit default 100.
Inputs: refs (required), runs, limit, points.
get_treeA
Outline of the active document: layers → sublayers → groups → items, as {tree:[{layer, count, sublayers?, children:[{type, uuid, name, text?, count?, children?}]}], note?}. root: "layer:Name" or a group ref (default all layers). depth default 2; limit = children shown per container (default 50, then {more:N}); max_nodes = items in the whole answer (default 300). boxes:true adds [x,y,w,h]. Within a layer, sublayers are listed apart from items.
Inputs: root, boxes, depth, limit, +1 more.
historyA
Undo or redo in the active document. One step = one earlier tool call (a whole batch is one step); a call cannot undo itself. action "undo" (default) | "redo", count (default 1).
Inputs: count, action.
layersA
Layers of the active document. Names may be "Parent/Child" paths; a bare name is looked up at any depth; "@active" / "@first" name the active / top layer; "Layer 1" also finds the localised default layer. action: "list" (tree with items, visible, locked, printable, color, sublayers) · "add" (name; parent for a sublayer; position; props) · "update" (name → new_name and props) · "remove" (name; refuses if it has items unless force:true) · "reorder" (name, position) · "activate" (name). Props: visible, locked, printable (false = non-printing), template, dim_images, color (layer highlight, "#rrggbb"), opacity. position: "top" | "bottom" | "above:Name" | "below:Name".
Inputs: name, color, force, action, +10 more.
modify_itemsA
Change many items in one call. refs + props apply the same props to all; items:[{ref, …props}] gives per-item values (top-level props are shared defaults). Geometry: x, y (top-left), w, h, keep_ratio, anchor, bounds, scale_strokes. Appearance: fill, stroke (colour or "none"), stroke_width (pt), dash (pt; [] = solid), cap, join, opacity, blend, graphic_style (applied first); name, note, hidden, locked. On groups, fill/stroke go to every path and text inside. Locked items need locked:false. For text attributes use edit_text; for rotation/scaling by factors use transform_items. Returns {count, items:[{uuid, name, type, box}]}.
Inputs: h, w, x, y, +19 more.
path_opsA
Path operations (results replace the inputs and become the selection). op: Pathfinder on 2+ items (or one group): "unite" | "minus_front" | "minus_back" | "intersect" | "exclude" | "divide" | "trim" | "merge" | "crop" (a result with several pieces comes back as a group). "outline_stroke" (strokes → filled paths) · "offset" (distance in session units, negative = inwards; joins miter|round|bevel; miter_limit; keep_original) · "expand" (bake appearance/effects) · "outline_text" (text → paths; the name is kept, the uuid changes) · "trace" (images → vector paths; preset e.g. "[Black and White Logo]") · "trap" (spread: an overprinting stroke of each item's own fill colour; distance = trap width, default 0.25 pt). name: names the result when there is one. Returns {count, items}.
Inputs: op (required), refs (required), name, joins, +4 more.
placeA
Bring a file or SVG markup into the active document. path: .png/.jpg/.tif/.psd/… (linked; embed:true embeds) · .pdf/.ai/.eps (linked; page for PDFs; editable:true imports the artwork as editable paths) · .svg (editable by default). svg: SVG markup string instead of a file → editable artwork. Position: x, y (top-left; default: centred on the artboard), w and/or h (fit, keep_ratio default true). layer / parent, name. Returns {uuid, name, type, box, how: "linked" | "embedded" | "editable"}.
Inputs: h, w, x, y, +9 more.
preflightA
Print checks of the active document in one pass. Hidden items and hidden/non-printing layers are skipped (counted in skipped_non_printing) unless include_non_printing. errors: missing_font, broken_link, rgb_in_cmyk (paths, text, RGB images), overset_text, white_overprint · warnings: registration_color (art painted with [Registration]), low_res (< min_dpi, default 300), empty_text, default_text (unnamed 12 pt Myriad leftovers), off_artboard, small_text (< min_text_pt, default 5), hairline (< hairline_pt, default 0.25), no_bleed (art at an artboard edge, document without bleed), low_contrast (text below WCAG AA on what lies under it; RGB documents, any with contrast:true), off_token (colours/fonts/sizes outside tokens {colors, fonts, sizes}) · info: spot_color (real spot inks only — global process swatches are not spots), overprint, transparency, live_text (one count line), empty_group. Also returns inks (process plates, spot inks) and the bleed. ignore: categories to skip; max_items per category (default 20).
Inputs: ignore, tokens, min_dpi, contrast, +4 more.
previewA
Look at the active document: renders a PNG and returns it as an image. One of: artboard (index, default active), refs (items, framed with pad, default 5%), region ([x,y,w,h] from artboard's top-left if given, else the active one's; may lie off it). max_px = longest side (default 1024) or width = exact px. background "white" | "transparent". save_to copies the PNG (with reference: the comparison, and the render as .preview.png). reference: an image (PNG/JPEG) to compare with → ONE image [reference | preview | difference in red] (600 px panels) + rmse (0 = same), content_box in both (shift/scale show an offset or wrong size) and differences: up to 6 regions {rect, kind: shifted (with shift [dx, dy] = preview − reference) | missing | extra | changed, items there}. reference_crop: [x,y,w,h] in image pixels to cut the page out first. One check call: more [artboards] → extra renders (default 500 px); preflight:true, info:true (document_info) add those results.
Inputs: pad, info, more, refs, +9 more.
run_scriptA
Run ExtendScript in Illustrator on the active document in ONE call: a whole design in one script, details in small ones.
Give "code" (a function BODY: use return to get a value back as JSON; Illustrator objects come back as {type, uuid, name, box}) or "file" (a UTF-8 .jsx file with the same body; "args" are arguments[0..]). Non-ASCII text is safe in both.
ExtendScript is ES3: var only, no let/const/arrow functions/template strings, no Array.indexOf/map/forEach, no JSON object (use AIA.json / AIA.parse).
Errors return the message and the line number in your code. retries:n re-runs on MRAP or a "RETRY" result.
recipe: a built-in builder instead of code, options in args[0] (recipe:"list" names them).
Helpers (global AIA, always loaded; positions/sizes in session units, origin per configure — default pt, artboard top-left, y down):
AIA.layer(name) → get/create layer and make it active (new items go to the active layer) · AIA.fresh(name): same, emptied first (re-runnable builders)
AIA.group(name, parent?) → new GroupItem (parent = a Layer or GroupItem object)
AIA.swatch(name, color) → global process swatch (create/update); then use colour "swatch:Name"
AIA.pstyle(name, {font,size,color,leading,tracking,hscale,align}) → paragraph style (create/update)
AIA.text(str, {x,y,font,size,color,align,style,leading,tracking,hscale,name,parent}) → point text; y = BASELINE; "\n" = new line; align left|center|right (anchor at x)
Every helper takes its options as the LAST argument, an object; parent goes there (extra positional arguments are ignored).
AIA.rect(x,y,w,h,{fill,stroke,sw,name,parent}) · AIA.ellipse(x,y,w,h,{…}) · AIA.line(x1,y1,x2,y2,{stroke,sw,cap:"butt|round|square",dash,name,parent}) · AIA.path([[x,y],…],{closed,fill,stroke,…})
AIA.font(name) → TextFont, fuzzy ("Arial Bold" → Arial-BoldMT) · AIA.box(item) → [x,y,w,h] · AIA.mm(v) → pt · AIA.doc() → active Document · AIA.find(name)
AIA.refs(ref) → items for a uuid / "selection" / "name:X*" / "layer:X" / "artboard:N" · AIA.color(spec) → Color · AIA.colorStr(color) → spec
AIA.at(k, fn) → run fn with coordinates from artboard k's top-left (multi-artboard builders)
AIA.P(x,y) → document coordinates [x, y-up] for raw API calls · AIA.u(v) session units → pt · AIA.warn(msg)
Font size, leading, tracking and stroke width are always pt.
Colours as in every tool; "gray(60)" is K60 in CMYK documents.
Inputs: args, code, file, recipe, +2 more.
selectionA
Read or change the selection in the active document. action: "get" (default) | "set" (refs) | "add" (refs) | "remove" (refs) | "clear" | "all" (top-level items; or only those on layer / artboard). Locked and hidden items are skipped (with a warning). Returns {count, items:[…fields]} (fields as in find_items, default uuid/type/name/box; limit default 50).
Inputs: refs, layer, limit, action, +2 more.
statusA
Illustrator and server state: running, version, open documents (created_here), session settings, MRAP retries, last_call (finished? created uuids: check it after a timeout), latency. launch:true starts Illustrator if needed (waits up to 2 min). restart:true quits and relaunches it, reopening the open documents (refused while any is unsaved: save or close it first) — for repeated MRAP errors in long sessions. Not needed before other tools (they say if Illustrator is off).
Inputs: launch, restart.
stylesA
Paragraph, character and graphic styles (kind, default "paragraph"). action: "list" (names; spec = the props this tool stored for styles it made — Illustrator can't report style attributes safely) · "create" (name + props; refs applies it right away) · "update" (name + props to change; new_name) · "apply" (name, refs: text frames or groups; character styles can target match text; clear_overrides default true) · "remove". Paragraph props: font, size, fill/color, leading, tracking, caps, … + align, space_before/after, indents, hyphenation. Character props: the font/colour ones. Graphic styles: list and apply only (they can't be created from scripts).
Inputs: caps, fill, font, kind, +23 more.
swatchesA
Swatches of the active document. kind: "global" (global process — edit once, every use updates; default for add) | "spot" | "process" (plain) | "gradient". action: "list" (kind, group filters) · "add" (name, color; updates the swatch if it exists, so batches can be re-run; gradient: type linear|radial, stops [{color, at 0-100, opacity, midpoint}]; group) · "update" (name → color / stops / new_name / group) · "remove" (name or names) · "clean_defaults" (remove the default process swatches, unused default gradients/patterns and empty groups; keeps [None], [Registration], global and spot swatches and "keep" names) · "import" (path: an .ase swatch library; kind and group override the file's) · "recolor" (refs? default all: every fill, stroke, text run and gradient stop → the nearest of to [swatch names, "group:Name"; default all global/spot] within tolerance (ΔE, default 20), or map {"cmyk(…)": "swatch:X"}; tints stay tints; dry_run → report only) → {colors [{from, to, de, uses}], unmatched} · "convert" (mode cmyk|rgb|gray through the colour profiles; refs, default all — then cmyk/rgb also switch the document mode). Use them as colours: "swatch:Name", "swatch:Name@50" (tint), "gradient:Name@45" (angle).
Inputs: to, map, keep, kind, +14 more.
symbolsA
Symbols. action: "list" → [{name, instances}] · "create" (refs, name; the items become one instance, keep:true leaves them) · "place" (name, x, y, w?, h?, layer?) · "replace" (refs = instances, name) · "expand" (refs: instances → editable art) · "remove" (name; force:true also deletes its instances).
Inputs: h, w, x, y, +6 more.
transform_itemsA
Move / scale / rotate / reflect items (in that order: scale, reflect, rotate, move). dx, dy (session units) · scale (% uniform) or sx, sy (%) · rotate (degrees, positive = clockwise on screen) · reflect "horizontal" | "vertical". origin: anchor of each item's bounds (default center), or a point [x, y]. as_group:true uses the bounds of all items together (e.g. rotate a selection as one). copies: n → step-and-repeat: makes n copies, each one transformed from the previous (e.g. dx:30, copies:5 → a row; rotate:30, copies:11, origin:[cx,cy] → a ring). Returns the copies; without copies returns the items. scale_strokes: scale stroke widths too.
Inputs: refs (required), dx, dy, sx, +8 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 35 tools
The set is large but carefully partitioned: search (find_items), detail (get_items), outline (get_tree) and selection are clearly distinct, and shape/path/text creation is unambiguous. The only soft overlaps are modify_items vs transform_items (both move/resize) and menu_command vs run_script (two escape hatches), but the descriptions make the intended split explicit (attribute/property changes vs scale-reflect-rotate-move, menu command vs ExtendScript).
Names are uniformly lowercase snake_case and follow a predictable two-track convention: resource tools (documents, layers, artboards, swatches, styles, symbols, effects) take an 'action' parameter, while item operations use verb_noun (create_shape, edit_text, delete_items, align_items). This is consistent and readable, though the dual convention means an agent must remember which tools are action-dispatched rather than verb-named.
35 tools is heavy and sits above the comfortable range, even for a full-featured Illustrator automation server. Most tools earn their place given the genuine breadth (documents, geometry, text, paths, layers, artboards, swatches, styles, effects, export, preflight, data merge, scripting), but a few could be folded together (status/configure/history, symbols into the generic resource pattern, align/arrange) to reduce surface area.
The surface covers the full design lifecycle: document creation/open/save, inspection, search, shape/path/text creation and editing, transforms, duplication across artboards, grouping/clipping/stacking, pathfinder ops, layers, artboards, swatches, styles, placement, effects, export, preflight, data merge, undo, batching and raw scripting. No obvious dead ends remain — anything missing is reachable through run_script/menu_command.
Maintenance
Related MCP Connectors
Preflight and convert 450+ file types for AI via TweekIT MCP & SDK (Cloud CGN or On-Prem Miner).
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Print, vector and mockup APIs with free MCP discovery and x402 requests from 0.02 USDC.
Brand-safe MCP for AI agents to create editable, on-brand graphics and automate variants.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceMCP server for reading, manipulating, and exporting Adobe Illustrator design data via ExtendScript/JSX. 26 tools for text, colors, paths, layers, effects, images, symbols extraction, object creation/modification, SVG/PNG/JPG/PDF export, and pre-press preflight checks. macOS only.6,100 npm234MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to generate vector graphics in Adobe Illustrator using natural language prompts, by sending ExtendScript commands via a local MCP server.175-
- AlicenseAqualityCmaintenanceControl Adobe Illustrator with natural language from any MCP client, enabling document creation, editing, and export via ExtendScript.299MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to control Adobe Illustrator on Windows, including creating, opening, saving, and exporting documents, drawing shapes, adding text, and running arbitrary ExtendScript.102MIT