Illustrator MCP Server

io.github.zachshallbetter由 GitHub 账号 zachshallbetter 发布v0.9.1更新于 Nov 4, 2026

Drive Adobe Illustrator from any MCP client: artwork, type, colour, effects, data and export.

已验证STDIO仅桌面效率与工作流媒体与设计

概览

AI 生成的概览

让 AI 助手通过 MCP 客户端驱动 Adobe Illustrator:文档、画板、图层、图形、文字、颜色、效果、数据集与导出。

可以做什么
  • 创建、打开、保存、关闭文档,并设置预设与文件信息
  • 管理画板、图层、选择、排列、编组与剪裁蒙版
  • 绘制和编辑形状、路径、实时形状、混合、图案、符号与 3D 效果
  • 设置文字、排版、字体、路径文字以及中日韩与从右到左文字选项
  • 处理色板、渐变、图形样式、实时上色、重新着色与颜色设置
  • 置入与描摹图像、管理链接、变量与数据集,运行动作与批处理
适用场景
适合在装有 Illustrator 的桌面上让助手以程序方式生成或修改插画文件,例如批量排版、套用样式与效果、导出画板或数据集。
运行要求
通过 npx 以 stdio 在本地运行,需要 Node.js 18 或更高版本,以及 macOS 或 Windows 上的 Adobe Illustrator 2023 或更高版本。macOS 首次调用需授予控制 Illustrator 的自动化权限。可选变量:ILLUSTRATOR_ALLOWED_DIRS、ILLUSTRATOR_APP_NAME、ILLUSTRATOR_SCRIPT_TIMEOUT_MS。
安装前请注意
工具会写入文档和文件:保存、覆盖、关闭、还原、删除对象与图层,并运行脚本、动作和批处理,建议在副本上操作。文件访问仅限主目录与 ILLUSTRATOR_ALLOWED_DIRS。execute_illustrator_code 与 run_script_file 会在 Illustrator 中执行代码。可选的 VectorCraft 转发使用 VECTORCRAFT_CONTROL_TOKEN 与本地回环端口。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Illustrator MCP Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Illustrator MCP Server

An MCP server that drives Adobe Illustrator: documents, artboards, layers, shapes and paths, text, colour, pathfinder operations and export. It runs on the machine where Illustrator is installed and talks to it through ExtendScript, the scripting interface Illustrator ships with.

Requires Illustrator 2023 or later on macOS or Windows, and Node.js 18 or later.

Install

Claude Code:

bash
claude mcp add illustrator -- npx -y adobe-mcp-illustrator

Any client that reads an mcpServers block (Claude Desktop, Cursor, Warp, …):

json
{  "mcpServers": {    "illustrator": {      "command": "npx",      "args": ["-y", "adobe-mcp-illustrator"]    }  }}

On macOS the first call asks for permission to control Illustrator (System Settings > Privacy & Security > Automation).

Conventions

  • Positions and sizes are points (72 pt = 1 in), measured from the top-left corner of an artboard (artboardIndex, default 0), with y increasing downward. Illustrator's own document coordinates run upward; the server converts both ways and accounts for large-canvas documents.
  • Items are chosen with target: { ids: [...] }, { names: [...] } or { selection: true }. Ids are Illustrator's own item ids (PageItem.uuid); they come from list_items and from every tool that creates artwork.
  • Colours are a swatch name, "#RRGGBB", "rgb(r,g,b)", "cmyk(c,m,y,k)", "gray(g)" or "none". A document's colour mode is fixed when it is created, so create_document asks for it.
  • Fonts are PostScript names; list_fonts finds them.
  • Files must be inside your home folder or a directory in ILLUSTRATOR_ALLOWED_DIRS.

Tools

AreaTools
Documentsget_document_info, list_documents, create_document, open_document (AI, PDF pages with crop box, EPS, SVG, AutoCAD with import options, images, CGM, CorelDRAW, EMF/WMF, Word, RTF, text), save_document (.ai or .eps, each artboard to its own file, transparency for legacy versions), close_document
Document commandsnew_from_template, save_document_copy, revert_document, close_all_documents, list_document_presets, create_document_from_preset (name, size, orientation, units, colour mode, raster effects, preview mode, transparency grid, bleed), get_document_setup, set_document_setup (colour mode, ruler origin, large canvas, Edit Artboards), open_document_with_options (legacy files, recent files, open as a library), get_file_info, set_file_info (File Info and XMP), use_clipboard (cut, copy, paste, paste in place, on all artboards, without formatting), switch_document
Artboardslist_artboards, add_artboard, set_artboard (orientation, scale artwork with it), delete_artboard, set_active_artboard, fit_artboard_to_artwork (selected art or artwork bounds), rearrange_artboards, copy_artboard (duplicate, cut, copy to another document), delete_empty_artboards, align_artboards, reorder_artboards, convert_to_artboards, set_artboard_display (centre mark, cross hairs, video safe areas and rulers, ruler origin, border, Show / Hide Artboards), view_artboard
Layerslist_layers, create_layer, set_layer_properties (Layer Options, knockout), set_active_layer, delete_layer, move_items_to_layer (or Send to Current Layer), organize_layers (merge, flatten, collect in new layer, release to layers, reverse order), set_other_layers (hide, lock or outline others), select_layer_artwork, paste_artwork (Paste in Front or Back)
Shapes and pathscreate_rectangle, create_ellipse, create_polygon, create_star, create_line (end point, or length and angle), create_path, create_arc, create_spiral, create_rectangular_grid, create_polar_grid (each with its tool's dialog options)
Live shapesconvert_live_shapes (Convert to Shape, Expand Shape), toggle_corner_widget
Textcreate_text, set_text_style, set_text_contents, convert_text_to_outlines, list_fonts
Typographyset_character_attributes (Character, OpenType and CJK options, on frames, character ranges or selected text), adjust_text (size, kerning and tracking steps, Clear Tracking, Uniform Type, Fit Headline), set_paragraph_attributes (indents, spacing, hyphenation, justification, composers, CJK options), set_tab_stops, get_text_attributes, list_text_styles, create_text_style, edit_text_style, delete_text_styles, apply_text_style (and Clear Overrides), load_text_styles, set_text_frame_options (point/area conversion, Area Type Options, optical margin, anti-aliasing), thread_text_frames
Typecreate_path_text (type on a path, area type in a shape), set_path_text (path effects, start and end, spacing, flip, legacy update), change_case, insert_special_character (symbols, dashes, quotes, spaces, forced line break), apply_smart_punctuation, fill_placeholder_text, run_type_command (convert bullets to text, show hidden characters, auto spell check), list_document_fonts (with missing fonts), replace_font, find_replace_text (match case, whole word), set_text_wrap, list_stories, update_legacy_text, set_text_orientation, import_text, export_text, set_asian_type (composer, kinsoku, mojikumi, tsume, aki, tate-chu-yoko, warichu), set_right_to_left_text (direction, Middle Eastern composer, digits, kashidas)
Appearanceset_fill, set_stroke (both with a tint for spot and global swatches, or a gradient swatch), set_opacity, get_appearance, create_gradient
Graphic styles and fill/stroke controlslist_graphic_styles, apply_graphic_style (replace or merge), rename_graphic_style, delete_graphic_styles, save_graphic_style_library, open_graphic_styles (panel or a built-in library), add_appearance_attribute (another fill or stroke), set_transparency_group (knockout, isolate blending), toggle_view_option (transparency grid, Live Paint gaps), get_default_fill_stroke, set_default_fill_stroke, swap_fill_stroke, reset_fill_stroke
Live Paintmake_live_paint (make or merge), release_live_paint, expand_live_paint
Colourlist_swatches, create_swatch (process, global, spot, spot from Lab values), create_swatch_group, delete_swatches, add_used_colors, edit_colors (convert to CMYK, RGB or grayscale, invert, blend)
Swatch managementedit_swatch (Swatch Options: name, colour, process/global/spot), duplicate_swatches, merge_swatches, find_unused_swatches, add_current_color, edit_swatch_group (colour groups), open_swatch_library, load_swatch_library (built-in libraries or .ai files, gradient presets), save_swatch_library (Save Swatch Library as AI, or add to one)
Recolouring and gradientsadjust_colors (by script: saturate, adjust colour balance, complement, web-safe, printable; on items or a colour group), overprint_black, apply_gradient (Gradient tool placement, one gradient across several objects, predefined gradients)
Colour managementget_color_settings (settings files, document profile), load_color_settings, set_color_view (Proof Setup, Proof Colors, gradient annotator)
Selecting and arranginglist_items, get_selection, select_items, select_same, select_all, deselect_all, delete_items, duplicate_items, move_items, scale_items, rotate_items, reflect_items, align_items (to selection, artboard or key object), arrange_items, group_items, ungroup_items (one level, or every level with Ungroup All)
Combiningmake_clipping_mask, make_compound_path, pathfinder (also hard mix, soft mix and trap)
Pathspath_operation (outline stroke, join, add anchor points, reverse direction, divide objects below, release compound path, make pixel perfect, expand appearance), average_points (and join), clean_up, split_into_grid, split_path, set_path_options (fill rule, guides, pixel alignment), get_path_info (area, length, anchors)
Effectsapply_effect (drop shadow, inner and outer glow, feather, scribble, round corners, convert to shape, free distort, pucker & bloat, roughen, transform, tweak, twist, zig zag, the fifteen warps, offset path, outline object and stroke, crop marks, rasterize, Gaussian blur, NTSC colors), apply_svg_filter, apply_last_effect, set_raster_effect_settings
Transformingtransform_each (random, copies), shear_items, apply_matrix, repeat_transform (Transform Again), resize_items (width and height, relative or absolute), get_bounds (geometric, visible, control), nudge_items, set_transform_options (reference point, scale corners, bounding box), reset_bounding_box, distribute_items (edges, centres, spacing, exact gap), distort_items (free and perspective distort)
Envelopes and objects on a pathmake_envelope (with top object), edit_envelope (release, expand, edit contents), expand_objects_on_path
Selectionselect_by_type (Select > Object: text, point and area type, clipping masks, stray points, brush strokes, not pixel-aligned, same layers, direction handles), change_selection (reselect, inverse, next object above or below), select_nested_items (inside groups, or the group above), select_similar_items (stroke weight and opacity within a tolerance, blending mode), toggle_global_edit, lock_items and hide_items (the targets, artwork above, or everything else), unlock_all, show_all, set_isolation_mode
Clipping masksrelease_clipping_mask, edit_clipping_mask (Edit Mask, Edit Contents), add_to_clipping_mask (into a clip group, or around a path as Draw Inside does), remove_from_clipping_mask
Graphs and mesheslist_graphs, apply_graph_data (load a variable library, display a data set), list_meshes
Path editingedit_anchor_points (remove, convert to corner or smooth, set anchor and handles), copy_items (to another document or the clipboard), simplify_path (curve precision, angle threshold, straight lines), compound_shape (make with a shape mode, release, expand), repeat_pathfinder, intertwine (make, release)
Blendsmake_blend (optionally outlining text for blended lettering), set_blend_options (steps, orientation), release_blend, expand_blend, reverse_blend, replace_blend_spine
Preferences and toolsget_preferences, set_preferences, select_tool (including the graph, mesh, blend and print tiling tools)
Placing and exportplace_image (images, PDF pages, EPS and DCS, SVG, AI, AutoCAD, CGM, CorelDRAW, EMF/WMF), export_png (scale or fit, matte, HTML), export_jpeg, export_svg (Save As SVG: profile, font subsetting, encoding, XMP, slices, text options), export_web_svg (Export As SVG: styling, IDs, minify, responsive), export_for_screens (artboards, assets and the full document; scale by factor, width, height or resolution; Advanced Settings per format), export_pdf (preset plus PDF/X, compression and downsampling, font subsetting, bleed, marks, colour conversion, output intent, flattening, passwords and permissions, Acrobat layers)
Variables and data setslist_variables, create_variable, bind_variable, delete_variables, create_data_sets (from records: text, image files, visibility), show_data_set, delete_data_sets, export_data_sets (each data set to PNG or JPEG), import_variables, export_variables, set_variables_locked
Prepress and printingset_overprint, make_trap_stroke, flatten_transparency, toggle_prepress_view (Overprint Preview, print tiling, Separations Preview, Flattener Preview, Attributes), create_trim_marks, list_print_settings, print_document (to a printer or a PostScript file; preset plus each Print dialog page, with document ink options)
3Dapply_3d_effect (extrude, revolve, inflate, rotate: the 3D and Materials effect or 3D Classic with rotation, perspective and surface)
Brusheslist_brushes, apply_brush (and expand to outlines), import_brushes (from a library file), save_brush_library, open_brush_library
Perspective gridset_perspective_grid (presets, show or hide, active plane, match plane to object, View menu toggles), attach_to_perspective, release_perspective, import_perspective_presets, export_perspective_presets
Patterns and repeatscreate_pattern (Object > Pattern > Make), apply_pattern (fill or stroke), rename_pattern, edit_pattern (enter or leave pattern editing mode), transform_pattern (move, scale, rotate, reflect or shear the pattern only), make_repeat (radial, grid or mirror, with options), set_repeat_options, release_repeat
Image Tracetrace_image (preset plus every Image Trace panel option, optionally expanded), set_trace_options (re-trace, save as a preset), get_trace_info (paths, anchors, colours), expand_trace, release_trace, list_tracing_presets
Symbolslist_symbols (instance counts, unused), create_symbol (registration point, replace the art), place_symbol, replace_symbol, select_symbol_instances, break_symbol_link, rename_symbol, duplicate_symbol, delete_symbols (or every unused one), open_symbol_library (built-in or a file), save_symbol_library
Other formatsexport_psd (layers, editable text, colour model, resolution), export_tiff (LZW, byte order, colour model, resolution), export_web_image (GIF and PNG-8 with colours, reduction, dither, matte, lossy GIF), export_autocad (DWG or DXF: version, scale, colours, raster format), export_selection_as_ai, place_text_file
Asset export and sliceslist_assets, collect_assets (as one asset or one per item), rename_asset, remove_assets, export_selection (PNG or .ai), list_slices, edit_slices (make, release, create from selection or guides, duplicate, combine, clip to artboard, delete all, show/hide, lock, slice a rectangle), set_item_url (image map and slice URLs)
Images and linkslist_images (links with status and file details, embedded images, embedded files, non-native and plug-in art), relink_images (one file, all instances, missing links from a folder), update_links (update or embed), go_to_link, place_images (several files in a grid, Photoshop import options), rasterize_items (every Rasterize option), crop_image, colorize_image, run_image_command (remove background, make or release a mockup)
Actions and automationlist_actions (sets in the Actions panel, or the steps in an .aia file), play_action, load_actions (Load or Replace Actions; rename actions, remove them or their steps, and switch steps or their dialogs on or off before loading), create_action_set (new actions from saved steps), unload_actions (an action, a set, or Clear Actions), run_batch (Batch by script: a folder of files or every data set, to a destination), run_script_file, import_csv_data (a CSV data source as data sets), get_item_data and set_item_data (tags and notes)
Utilityillustrator_status, execute_menu_command, find_menu_commands, execute_illustrator_code, help

help({ tool }) describes any tool's parameters.

How it stays out of your way

  • No dialogs. Every script switches Illustrator's alerts off while it runs and restores your setting afterwards, even when the script fails, so a warning cannot leave a call waiting.
  • Your settings come back. The coordinate system a script uses is set for that script and restored afterwards.
  • Timeouts say why. If Illustrator does not answer within ILLUSTRATOR_SCRIPT_TIMEOUT_MS (default 120 s), the error says a dialog is probably open in Illustrator.
  • Menu commands are checked. Illustrator ignores a menu command name it does not know and reports nothing for one it does. execute_menu_command accepts only the 859 known names (unless you pass allowUnknown) and returns the selection and document state after the command, so you can see what it did.
  • Live Effects and preferences come from published practice. Adobe does not document the LiveEffect XML that apply_effect and pathfinder pass to applyEffect, nor the preference keys behind set_preferences; the server uses only parameters and keys that published scripts rely on, recorded with their sources in the capability atlas. pathfinder can fall back to Illustrator's menu commands with method: "menu". The Photoshop effects (Effect Gallery, Artistic, Sketch, Texture and the rest) are not offered: each command opens a dialog, and their LiveEffect parameters are stored as encoded binary that no published script sets. NTSC Colors, which has no dialog, is the exception.
  • Commands through a temporary Action. The object model cannot set a blend's steps or orientation, run Simplify, make a Pathfinder compound shape or flatten transparency, so make_blend, set_blend_options, simplify_path, compound_shape and flatten_transparency write a one-step Action, play it with its dialog closed and unload it again. The Action parameters are the ones published scripts and recorded action sets use.
  • Dialogs done by script. Average, Clean Up, Split Into Grid, Transform Each, Batch and several Edit Colors commands open a dialog, so the server does what each dialog describes through the object model instead. Smooth and Offset Path have no such route and are not offered (apply_effect with offset_path and expand covers Offset Path).
  • Actions edited as files. Illustrator can play, load and unload an action but cannot list or change a loaded one. list_actions reads the sets from Illustrator's preferences, as AiCommandPalette does, and load_actions and create_action_set make their changes to the .aia file before loading it. run_batch does what the Batch dialog does, one call per file, so a long batch does not time out.
  • Data sets from records. Illustrator captures a data set from the artwork as it is, so create_data_sets sets each record's values on the bound objects and then captures it, the way published variable scripts do.
  • No raw input in scripts. Every value a caller passes is validated and written into the script as a literal.

Configuration

VariablePurpose
ILLUSTRATOR_APP_NAMEmacOS: address a specific copy, e.g. Adobe Illustrator 2025. By default the server addresses Illustrator by its bundle id.
ILLUSTRATOR_ALLOWED_DIRSExtra directories for opening, placing and exporting files (:-separated on macOS, ; on Windows).
ILLUSTRATOR_SCRIPT_TIMEOUT_MSHow long to wait for Illustrator. Default 120000.
ILLUSTRATOR_BACKEND / ILLUSTRATOR_TARGETSet to artcraft or vectorcraft to route tool calls to VectorCraft via loopback JSON-lines. Default auto (routes to VectorCraft if listening on port 7979 when Adobe Illustrator is not running).
VECTORCRAFT_CONTROL_PORTPort for VectorCraft control channel. Default 7979.
VECTORCRAFT_CONTROL_TOKENToken for VectorCraft authentication if required.

Development

bash
npm test         # definitions, argument parsing, protocol, and the static script auditnpm run audit    # the audit alone, with findings listednpm run check    # syntax check

The static audit runs every tool with sample arguments against a stubbed Illustrator and checks that each generated script parses as ES5 and uses only names in Illustrator's scripting object model (2022 to 2025). It does not run anything in Illustrator: a tool that passes it has not necessarily been run against the application.

Shared infrastructure (script escaping, the executor, the server shell, the audit) comes from adobe-mcp-core, the foundation shared with adobe-mcp-indesign.

Licence

MIT. See LICENSE and NOTICE for the menu command data.

来源:packages/illustrator/README.md,提交 44b5b50

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:服务器未能启动。

版本历史

3
  1. v0.9.1最新Nov 4, 2026
  2. v0.9.0Oct 15, 2026
  3. v0.3.0Oct 15, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分