npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

chandelier-mcp

v0.7.3

Published

MCP server that lets AI agents work in Adobe Illustrator fast: one persistent connection (~5 ms per call), batches, typed tools, ExtendScript, print-ready export and preflight.

Readme

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. scene (0.6) turns an image into editable vector shapes (inks, regions, smooth shared edges) in one call, for illustrations and other free-form artwork; new in 0.7: far cleaner output — less than half the anchors, with leaves, stems and capsules drawn as clean shapes. Also there: an experimental panel inside Illustrator where you chat with the agent about what you have selected.

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 | ie3 MCP | 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. On the 0.6 build (2026-11-27, one run each) the same jobs took 2.4 min / 0.84 M tokens (design) and 3.4 min / 1.10 M (calendar, the closest match to the reference so far): agents now measure the reference more before they build. Methods, every run and the caveats (one run per arm for the latest numbers): benchmarks.

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/chandelier

On 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.

Codex, Cursor and other agents: the server alone brings the Illustrator skill too — the agent reads it with status {guide: "main"} (the server instructions say so) or as the resources chandelier://skill/<name>. Codex example: codex mcp add chandelier -- npx -y chandelier-mcp. For an agent to pick the skill up by itself, copy it into its skills folder with npx chandelier-mcp install-skill (Codex found automatically; --dir <skills folder> for others; run it again after an upgrade — the server says when a copy is out of date).

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 npx start the server with the first node on your PATH. If that is older than 22.15 (an old nvm default, for example), the server says so through its status tool instead of starting. Install a current Node and make it the default (nvm install 22 && nvm alias default 22, or brew install node), or give the full path of a newer node as 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 a tools tool 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.

  • Short replies: every tool result is re-read on each later request, so replies are brief by default. A create step lists its first 20 items (2 178 → 271 tokens for 100), get_items and document_info return a short head, and fields asks for more (benchmarks). configure {reply: "full"} or CHANDELIER_REPLY=full brings back every key.

  • Several Illustrator versions installed: CHANDELIER_APP sends every call to one install — macOS: the app, CHANDELIER_APP="/Applications/Adobe Illustrator 2025/Adobe Illustrator.app"; Windows: its Illustrator.exe.

  • Debug log: CHANDELIER_LOG=debug writes one JSON line per tool call (tool, action, time, result, reply size) to stderr; CHANDELIER_LOG_FILE=/path/to/file appends 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. batch runs 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: [...]}) — about eight calls to Illustrator for a page.
  • Full power when tools aren't enough. run_script runs ExtendScript with a helper library (AIA.text, AIA.swatch, AIA.at(artboard, …) …), re-runnable .jsx builders with arguments, and ready recipes (calendar month, labels sheet, business card, style guide, colour chips).
  • It looks at its work. preview returns 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. It also looks at image and PDF files itself (size, zoom with a coordinate grid, colour samples), so agents don't stop to install Python imaging libraries first.
  • Images to vectors. scene reads an image (or a part of it), finds its inks and regions, fits each shared edge once and builds stacked, editable shapes with global swatches in one undo step; edits (merge, recolour, drop, text, gradients) and a refine pass that compares the build with the image. Edges sit on sub-pixel positions, and shapes that look like a leaf, stem, capsule, rounded box or handle are drawn as that shape with few anchors. On PerfectVector's public tracer benchmark (8 images, 2026-11-29): 8 324 anchors and 98.04 % pixel match, from 19 118 and 96.82 % in 0.6 (PerfectVector: 7 751, 99.13 %). Meant for organic artwork; layouts and type are still built from measurements.
  • 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. preflight checks 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_merge fills 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 .ase library. 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).
  • Side by side with you (experimental, 0.5). The Chandelier panel puts a chat inside Illustrator: select something, write "make this red", and the agent changes exactly that; it can also watch your selection and wait for you.
  • Agent-friendly. Compact responses, conventions sent once in the server instructions, errors that say what to do next, and two ready prompts: recreate_design and print_export.

What you can ask

Recreate the poster in poster.png as 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.csv and 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 .ai in ~/jobs/spring, snap all colours to the swatches in brand.ase, and save copies to ~/jobs/out.

Tools

36 tools (37 with the panel: events); every tool that changes a document can also be a step inside batch.

| Group | Tools | |-------|-------| | Session and documents | status · configure · documents · document_info · history | | Inspect | find_items · get_items · get_tree · selection · fonts | | Create | create_text · create_shape · create_path · place · scene (image → vector shapes) | | Edit | edit_text · modify_items · transform_items · duplicate_items · arrange_items · align_items · path_ops · delete_items | | Structure, colour and effects | layers · artboards · swatches · styles · effects | | Build | batch (also over many files) · run_script · data_merge · menu_command · symbols | | Look, check, output | preview · preflight · export | | Panel mode only | events — what you select and write in the panel; answers in the panel |

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.

Chandelier panel (experimental)

A panel inside Illustrator, so you and the agent work on the same document side by side. macOS; on Windows it needs x64 Illustrator (Illustrator on Windows ARM loads only Adobe's own panels).

  • Chat — write to the agent from Illustrator. With something selected, "make this red" means the selection: the agent gets the item ids with your message and changes exactly those. It answers in the panel; a line under the chat shows whether it has read your message, is thinking, or is working in Illustrator. Each document keeps its own chat.
  • Events — the agent can see what you select, which document is in front and when you save, and wait for you ("select the headline and I'll fix it").
  • Wake-up — with Claude Code channels (research preview), a message in the panel wakes an idle session; no need to ask the agent to listen first.

Set up (Claude Code):

  1. npx chandelier-mcp install-panel, restart Illustrator, then Window → Extensions → Chandelier.
  2. Add the server in panel mode — pick one:
    • Listening (any MCP client): claude mcp add chandelier-panel -e CHANDELIER_TRANSPORT=panel -- npx -y chandelier-mcp, then tell the agent: "I'll write to you from the Chandelier panel."
    • Wake-up (Claude Code channels): add -e CHANDELIER_CHANNEL=1 to that command and always start Claude Code with claude --dangerously-load-development-channels server:chandelier-panel. Started without that flag, the session doesn't receive panel messages (the panel then keeps showing "waiting for the agent").
  3. Write in the panel's Chat tab. The Status tab shows the connection and lets you pause sharing your selection.

The panel is unsigned, so the installer allows unsigned panels for your user (Adobe's PlayerDebugMode); npx chandelier-mcp install-panel --uninstall removes the panel. Without CHANDELIER_TRANSPORT=panel nothing changes. How it was tested and its limits: panel plan.

How it works

AI agent ──MCP (stdio)──▶ Chandelier server (Node.js)
                              │  one persistent bridge process:
                              │  macOS: osascript / JXA (Apple events) · Windows: PowerShell + COM (DoJavaScript)
                              │  or, in panel mode, the Chandelier panel (local socket ⇄ chat, selection events)
                              ▼
                          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. In panel mode the same commands go through the panel (~1.6 ms per call, benchmarks), and the panel pushes what you select and write back to the server. Architecture, decisions with their pros and cons, and the measurements behind them: plan.

Status

Current release: 0.7.3 (2026-12-01) on macOS and Windows — npm, MCP Registry, Claude Code plugin and Claude Desktop bundle.

| Release | Date | What it added | |---------|------|---------------| | 0.7.3 | 2026-12-01 | Protects unsaved work from Illustrator crashes (bug #33): run_script refuses a document with unsaved changes it did not make (unsaved_ok: true overrides); status shows how long Illustrator has been taking scripts, and after 4 h or 1 000 calls replies suggest saving and status {restart} | | 0.7.2 | 2026-12-01 | The Illustrator skill for Codex, Cursor and other MCP clients: status {guide} and the resources chandelier://skill/… serve it with no plugin, npx chandelier-mcp install-skill copies it into an agent's skills folder (Codex found automatically), and the server says when an installed copy is out of date | | 0.7.1 | 2026-11-30 | Fixes: run_script refuses code that reads a style's attributes (crashes Illustrator, bug #33) and styles list samples a paragraph style from a text using it instead; scene build works with long layer names and cleans up after a failed build (#32); scene analyze {overlay: false} sends no image (#31) | | 0.7.0 | 2026-11-29 | Cleaner scene vectors: edges on sub-pixel positions, one shape per ink, smoother curve joints, and shape models (leaf, quad, band, capsule, rounded box, knob, stroke; a piece cut at its necks drawn as one joined outline). On PerfectVector's 8-image benchmark: anchors 19 118 → 8 324, match 96.82 → 98.04 %. Soft-shaded artwork is cut along its creases with one gradient per piece; analysis runs on up to 8 cores (as fast as before the models); fix: scene build of large scenes | | 0.6.2 | 2026-11-27 | Documentation: a CHANGELOG.md, a shorter roadmap of what's open, the README and plan brought up to 0.6 (scene, 36 tools, the 0.6 benchmark runs); no code changes | | 0.6.1 | 2026-11-27 | scene analyze: small parts of their own colour keep it (lips, buttons), a crop is read with a margin so shapes crossing its edge stay whole, a size drop names the detail it took, ~10 % faster on flat art; calls go to the document you work in even if another window was brought to the front; large preview replies no longer drop the connection; bugs #28–#30 | | 0.6.0 | 2026-11-27 | scene tool: an image turned into an editable vector scene (inks, regions, smooth shared edges, one undo step); smaller replies by default; fewer turns (several zooms per preview, run_script {recipe: "help"}, units in replies, unknown arguments refused with a hint); curve fitting with matched joints, forced anchors and ends on other curves; preflight {artboard}; CHANDELIER_APP for one of several installed Illustrators; the recreate guide split per kind of job; bugs #16–#26 |

Every release and the dated log of changes: CHANGELOG. What's open and next: roadmap.

Documentation

| | | |---|---| | Agent guide | How an agent should build, check and export with Chandelier | | Plan | Goals, architecture, decisions with pros and cons, tool catalogue, risks | | Roadmap | What's open and next; finished phases and milestones | | Changelog | Every release and the dated log of changes | | Panel plan | The Chandelier panel: design, protocol, live trials, limits | | Benchmarks | Every measurement, method and run | | Illustrator quirks | Known Illustrator failures and how Chandelier handles them | | All docs | 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/
node scripts/cep/install.mjs --link --debug        # the panel from this checkout (DevTools on :8098)
CHANDELIER_TRANSPORT=panel npm run test:live       # the live suites through the panel
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.