illustrator-mcp-server 1.3.2 → 1.4.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.ja.md +117 -8
- package/README.md +115 -7
- package/dist/bundle.cjs +300 -232
- package/dist/executor/file-transport.d.ts.map +1 -1
- package/dist/executor/file-transport.js +11 -1
- package/dist/executor/file-transport.js.map +1 -1
- package/dist/jsx/helpers/common.jsx +63 -6
- package/dist/tools/export/export-pdf.d.ts.map +1 -1
- package/dist/tools/export/export-pdf.js +2 -1
- package/dist/tools/export/export-pdf.js.map +1 -1
- package/dist/tools/export/export.d.ts.map +1 -1
- package/dist/tools/export/export.js +54 -3
- package/dist/tools/export/export.js.map +1 -1
- package/dist/tools/modify/align-objects.d.ts.map +1 -1
- package/dist/tools/modify/align-objects.js +4 -5
- package/dist/tools/modify/align-objects.js.map +1 -1
- package/dist/tools/modify/apply-color-profile.d.ts.map +1 -1
- package/dist/tools/modify/apply-color-profile.js +2 -1
- package/dist/tools/modify/apply-color-profile.js.map +1 -1
- package/dist/tools/modify/apply-graphic-style.d.ts.map +1 -1
- package/dist/tools/modify/apply-graphic-style.js +3 -2
- package/dist/tools/modify/apply-graphic-style.js.map +1 -1
- package/dist/tools/modify/apply-text-style.d.ts.map +1 -1
- package/dist/tools/modify/apply-text-style.js +3 -2
- package/dist/tools/modify/apply-text-style.js.map +1 -1
- package/dist/tools/modify/close-document.d.ts.map +1 -1
- package/dist/tools/modify/close-document.js +2 -1
- package/dist/tools/modify/close-document.js.map +1 -1
- package/dist/tools/modify/convert-to-outlines.d.ts.map +1 -1
- package/dist/tools/modify/convert-to-outlines.js +2 -1
- package/dist/tools/modify/convert-to-outlines.js.map +1 -1
- package/dist/tools/modify/create-crop-marks.d.ts.map +1 -1
- package/dist/tools/modify/create-crop-marks.js +34 -3
- package/dist/tools/modify/create-crop-marks.js.map +1 -1
- package/dist/tools/modify/create-document.d.ts.map +1 -1
- package/dist/tools/modify/create-document.js +2 -1
- package/dist/tools/modify/create-document.js.map +1 -1
- package/dist/tools/modify/create-ellipse.js +1 -1
- package/dist/tools/modify/create-gradient.d.ts.map +1 -1
- package/dist/tools/modify/create-gradient.js +2 -1
- package/dist/tools/modify/create-gradient.js.map +1 -1
- package/dist/tools/modify/create-line.js +1 -1
- package/dist/tools/modify/create-path-text.d.ts.map +1 -1
- package/dist/tools/modify/create-path-text.js +2 -1
- package/dist/tools/modify/create-path-text.js.map +1 -1
- package/dist/tools/modify/create-path.js +1 -1
- package/dist/tools/modify/create-rectangle.js +1 -1
- package/dist/tools/modify/create-text-frame.d.ts.map +1 -1
- package/dist/tools/modify/create-text-frame.js +4 -6
- package/dist/tools/modify/create-text-frame.js.map +1 -1
- package/dist/tools/modify/duplicate-objects.d.ts.map +1 -1
- package/dist/tools/modify/duplicate-objects.js +17 -3
- package/dist/tools/modify/duplicate-objects.js.map +1 -1
- package/dist/tools/modify/group-objects.d.ts.map +1 -1
- package/dist/tools/modify/group-objects.js +2 -1
- package/dist/tools/modify/group-objects.js.map +1 -1
- package/dist/tools/modify/manage-artboards.d.ts.map +1 -1
- package/dist/tools/modify/manage-artboards.js +9 -2
- package/dist/tools/modify/manage-artboards.js.map +1 -1
- package/dist/tools/modify/manage-datasets.d.ts.map +1 -1
- package/dist/tools/modify/manage-datasets.js +2 -1
- package/dist/tools/modify/manage-datasets.js.map +1 -1
- package/dist/tools/modify/manage-layers.d.ts.map +1 -1
- package/dist/tools/modify/manage-layers.js +2 -1
- package/dist/tools/modify/manage-layers.js.map +1 -1
- package/dist/tools/modify/manage-linked-images.d.ts.map +1 -1
- package/dist/tools/modify/manage-linked-images.js +2 -1
- package/dist/tools/modify/manage-linked-images.js.map +1 -1
- package/dist/tools/modify/manage-swatches.d.ts.map +1 -1
- package/dist/tools/modify/manage-swatches.js +2 -1
- package/dist/tools/modify/manage-swatches.js.map +1 -1
- package/dist/tools/modify/modify-object.d.ts.map +1 -1
- package/dist/tools/modify/modify-object.js +22 -17
- package/dist/tools/modify/modify-object.js.map +1 -1
- package/dist/tools/modify/move-to-layer.d.ts.map +1 -1
- package/dist/tools/modify/move-to-layer.js +2 -1
- package/dist/tools/modify/move-to-layer.js.map +1 -1
- package/dist/tools/modify/open-document.d.ts.map +1 -1
- package/dist/tools/modify/open-document.js +2 -1
- package/dist/tools/modify/open-document.js.map +1 -1
- package/dist/tools/modify/place-color-chips.d.ts.map +1 -1
- package/dist/tools/modify/place-color-chips.js +4 -5
- package/dist/tools/modify/place-color-chips.js.map +1 -1
- package/dist/tools/modify/place-image.d.ts.map +1 -1
- package/dist/tools/modify/place-image.js +5 -6
- package/dist/tools/modify/place-image.js.map +1 -1
- package/dist/tools/modify/place-style-guide.d.ts.map +1 -1
- package/dist/tools/modify/place-style-guide.js +4 -5
- package/dist/tools/modify/place-style-guide.js.map +1 -1
- package/dist/tools/modify/place-symbol.d.ts.map +1 -1
- package/dist/tools/modify/place-symbol.js +2 -1
- package/dist/tools/modify/place-symbol.js.map +1 -1
- package/dist/tools/modify/replace-color.d.ts.map +1 -1
- package/dist/tools/modify/replace-color.js +2 -1
- package/dist/tools/modify/replace-color.js.map +1 -1
- package/dist/tools/modify/resize-for-variation.d.ts.map +1 -1
- package/dist/tools/modify/resize-for-variation.js +4 -5
- package/dist/tools/modify/resize-for-variation.js.map +1 -1
- package/dist/tools/modify/save-document.d.ts.map +1 -1
- package/dist/tools/modify/save-document.js +2 -1
- package/dist/tools/modify/save-document.js.map +1 -1
- package/dist/tools/modify/select-objects.d.ts.map +1 -1
- package/dist/tools/modify/select-objects.js +2 -1
- package/dist/tools/modify/select-objects.js.map +1 -1
- package/dist/tools/modify/set-z-order.d.ts.map +1 -1
- package/dist/tools/modify/set-z-order.js +2 -1
- package/dist/tools/modify/set-z-order.js.map +1 -1
- package/dist/tools/modify/undo.d.ts.map +1 -1
- package/dist/tools/modify/undo.js +2 -1
- package/dist/tools/modify/undo.js.map +1 -1
- package/dist/tools/modify/ungroup-objects.d.ts.map +1 -1
- package/dist/tools/modify/ungroup-objects.js +2 -1
- package/dist/tools/modify/ungroup-objects.js.map +1 -1
- package/dist/tools/read/check-contrast.d.ts.map +1 -1
- package/dist/tools/read/check-contrast.js +14 -27
- package/dist/tools/read/check-contrast.js.map +1 -1
- package/dist/tools/read/convert-coordinate.d.ts.map +1 -1
- package/dist/tools/read/convert-coordinate.js +2 -1
- package/dist/tools/read/convert-coordinate.js.map +1 -1
- package/dist/tools/read/extract-design-tokens.d.ts.map +1 -1
- package/dist/tools/read/extract-design-tokens.js +2 -1
- package/dist/tools/read/extract-design-tokens.js.map +1 -1
- package/dist/tools/read/find-objects.d.ts.map +1 -1
- package/dist/tools/read/find-objects.js +3 -7
- package/dist/tools/read/find-objects.js.map +1 -1
- package/dist/tools/read/get-artboards.js +1 -1
- package/dist/tools/read/get-colors.d.ts.map +1 -1
- package/dist/tools/read/get-colors.js +2 -1
- package/dist/tools/read/get-colors.js.map +1 -1
- package/dist/tools/read/get-document-info.d.ts.map +1 -1
- package/dist/tools/read/get-document-info.js +2 -3
- package/dist/tools/read/get-document-info.js.map +1 -1
- package/dist/tools/read/get-document-structure.d.ts.map +1 -1
- package/dist/tools/read/get-document-structure.js +3 -7
- package/dist/tools/read/get-document-structure.js.map +1 -1
- package/dist/tools/read/get-effects.d.ts.map +1 -1
- package/dist/tools/read/get-effects.js +3 -7
- package/dist/tools/read/get-effects.js.map +1 -1
- package/dist/tools/read/get-groups.d.ts.map +1 -1
- package/dist/tools/read/get-groups.js +3 -7
- package/dist/tools/read/get-groups.js.map +1 -1
- package/dist/tools/read/get-guidelines.d.ts.map +1 -1
- package/dist/tools/read/get-guidelines.js +3 -7
- package/dist/tools/read/get-guidelines.js.map +1 -1
- package/dist/tools/read/get-images.d.ts.map +1 -1
- package/dist/tools/read/get-images.js +40 -13
- package/dist/tools/read/get-images.js.map +1 -1
- package/dist/tools/read/get-layers.js +1 -1
- package/dist/tools/read/get-overprint-info.d.ts.map +1 -1
- package/dist/tools/read/get-overprint-info.js +2 -3
- package/dist/tools/read/get-overprint-info.js.map +1 -1
- package/dist/tools/read/get-path-items.d.ts.map +1 -1
- package/dist/tools/read/get-path-items.js +11 -9
- package/dist/tools/read/get-path-items.js.map +1 -1
- package/dist/tools/read/get-separation-info.d.ts.map +1 -1
- package/dist/tools/read/get-separation-info.js +2 -3
- package/dist/tools/read/get-separation-info.js.map +1 -1
- package/dist/tools/read/get-symbols.d.ts.map +1 -1
- package/dist/tools/read/get-symbols.js +3 -7
- package/dist/tools/read/get-symbols.js.map +1 -1
- package/dist/tools/read/get-text-frame-detail.d.ts.map +1 -1
- package/dist/tools/read/get-text-frame-detail.js +2 -1
- package/dist/tools/read/get-text-frame-detail.js.map +1 -1
- package/dist/tools/read/list-fonts.d.ts.map +1 -1
- package/dist/tools/read/list-fonts.js +2 -1
- package/dist/tools/read/list-fonts.js.map +1 -1
- package/dist/tools/read/list-text-frames.d.ts.map +1 -1
- package/dist/tools/read/list-text-frames.js +3 -5
- package/dist/tools/read/list-text-frames.js.map +1 -1
- package/dist/tools/session.d.ts.map +1 -1
- package/dist/tools/session.js +5 -1
- package/dist/tools/session.js.map +1 -1
- package/dist/tools/utility/check-text-consistency.d.ts.map +1 -1
- package/dist/tools/utility/check-text-consistency.js +14 -20
- package/dist/tools/utility/check-text-consistency.js.map +1 -1
- package/dist/tools/utility/preflight-check.d.ts.map +1 -1
- package/dist/tools/utility/preflight-check.js +48 -20
- package/dist/tools/utility/preflight-check.js.map +1 -1
- package/dist/tools/utility/set-workflow.js +1 -1
- package/dist/tools/utility/set-workflow.js.map +1 -1
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
# Illustrator MCP Server
|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.com/package/illustrator-mcp-server)
|
|
6
|
-
[](https://www.npmjs.com/package/illustrator-mcp-server)
|
|
6
|
+
[](LICENSE)
|
|
7
|
+
[]()
|
|
8
|
+
[](https://www.adobe.com/products/illustrator.html)
|
|
9
|
+
[](https://modelcontextprotocol.io/)
|
|
10
10
|
[](https://ko-fi.com/cyocun)
|
|
11
11
|
|
|
12
12
|
Adobe Illustrator のデザインデータを読み取り・操作・書き出しする [MCP (Model Context Protocol)](https://modelcontextprotocol.io/) サーバー — 63 のツールを内蔵。
|
|
@@ -15,6 +15,25 @@ Claude などの AI アシスタントから Illustrator を直接操作し、We
|
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
+
## 🎨 ギャラリー
|
|
19
|
+
|
|
20
|
+
以下の作品はすべて、Claude との自然言語の会話だけで制作されています。Illustrator の手動操作は一切行っていません。
|
|
21
|
+
|
|
22
|
+
<table>
|
|
23
|
+
<tr>
|
|
24
|
+
<td align="center"><img src="docs/images/example-event-poster.png" width="300" alt="イベントポスター — SYNC TOKYO 2026" /><br><b>イベントポスター</b></td>
|
|
25
|
+
<td align="center"><img src="docs/images/example-logo-concepts.png" width="300" alt="ロゴコンセプト — Slow Drip Coffee Co." /><br><b>ロゴコンセプト</b></td>
|
|
26
|
+
</tr>
|
|
27
|
+
<tr>
|
|
28
|
+
<td align="center"><img src="docs/images/example-business-card.png" width="300" alt="名刺 — KUMO Studio" /><br><b>名刺</b></td>
|
|
29
|
+
<td align="center"><img src="docs/images/example-twilight-geometry.png" width="300" alt="Twilight Geometry — 幾何学的抽象風景画" /><br><b>Twilight Geometry</b></td>
|
|
30
|
+
</tr>
|
|
31
|
+
</table>
|
|
32
|
+
|
|
33
|
+
> 詳しいプロンプトや使用ツールは[作例の詳細](#作例-smpte-テストパターン)をご覧ください。
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
18
37
|
> [!TIP]
|
|
19
38
|
> このツールの開発・維持には費用がかかっています。
|
|
20
39
|
> 役に立ったらぜひ応援お願いします — [☕ コーヒー奢ってください!](https://ko-fi.com/cyocun)
|
|
@@ -271,7 +290,7 @@ Claude Desktop のプロンプト一覧から選択できるワークフロー
|
|
|
271
290
|
|
|
272
291
|
</details>
|
|
273
292
|
|
|
274
|
-
### 操作系 (
|
|
293
|
+
### 操作系 (38)
|
|
275
294
|
|
|
276
295
|
<details>
|
|
277
296
|
<summary>クリックして展開</summary>
|
|
@@ -313,6 +332,7 @@ Claude Desktop のプロンプト一覧から選択できるワークフロー
|
|
|
313
332
|
| `create_path_text` | パスに沿ったテキストの作成 |
|
|
314
333
|
| `place_symbol` | シンボルインスタンスの配置・差し替え |
|
|
315
334
|
| `select_objects` | UUID指定でオブジェクトを選択(複数選択対応) |
|
|
335
|
+
| `create_crop_marks` | トンボ(トリムマーク)の作成。ロケールに応じた自動スタイル選択(日本式ダブルライン / 西洋式シングルライン) |
|
|
316
336
|
| `place_style_guide` | アートボード外にビジュアルスタイルガイドを配置(カラー・フォント・スペーシング・マージン・ガイド間隔) |
|
|
317
337
|
| `undo` | 操作の取り消し/やり直し(複数ステップ対応) |
|
|
318
338
|
|
|
@@ -339,10 +359,99 @@ Claude Desktop のプロンプト一覧から選択できるワークフロー
|
|
|
339
359
|
|---|---|
|
|
340
360
|
| `preflight_check` | 入稿前チェック(RGB 混在、リンク切れ、低解像度、白オーバープリント、透明+オーバープリント相互作用、PDF/X 適合等) |
|
|
341
361
|
| `check_text_consistency` | テキスト整合性チェック(ダミーテキスト検出、表記揺れパターン検出、全テキスト一覧) |
|
|
342
|
-
| `set_workflow` | ワークフロー設定(Web/Print
|
|
362
|
+
| `set_workflow` | ワークフロー設定(Web/Print モード切り替え、自動検出された座標系のオーバーライド) |
|
|
363
|
+
|
|
364
|
+
</details>
|
|
365
|
+
|
|
366
|
+
---
|
|
367
|
+
|
|
368
|
+
## 座標系
|
|
369
|
+
|
|
370
|
+
サーバーはドキュメントの設定から座標系を自動検出します:
|
|
371
|
+
|
|
372
|
+
| ドキュメント種別 | 座標系 | 原点 | Y軸 |
|
|
373
|
+
|---|---|---|---|
|
|
374
|
+
| CMYK / 印刷 | `document` | 左下 | 上向き |
|
|
375
|
+
| RGB / Web | `artboard-web` | アートボード左上 | 下向き |
|
|
376
|
+
|
|
377
|
+
- **CMYK ドキュメント**では Illustrator ネイティブの座標系を使用。印刷デザイナーの感覚と一致します
|
|
378
|
+
- **RGB ドキュメント**では Web スタイルの座標系を使用。AI が扱いやすい形式です
|
|
379
|
+
- `set_workflow` で自動検出された座標系を手動でオーバーライドできます
|
|
380
|
+
- すべてのツールレスポンスに `coordinateSystem` フィールドが含まれ、使用中の座標系を確認できます
|
|
381
|
+
|
|
382
|
+
---
|
|
383
|
+
|
|
384
|
+
## 作例: SMPTE テストパターン
|
|
385
|
+
|
|
386
|
+
1920×1080 の SMPTE カラーバーテストパターンを、Claude への自然言語の指示だけで作成した例です。
|
|
387
|
+
|
|
388
|
+
**プロンプト:**
|
|
389
|
+
|
|
390
|
+
> 映像用の1920x1080のテストパターンつくって
|
|
391
|
+
|
|
392
|
+
**出力結果:**
|
|
393
|
+
|
|
394
|
+
<img src="docs/images/example-smpte-test-pattern.png" width="720" alt="Claude と illustrator-mcp-server で生成した SMPTE カラーバーテストパターン" />
|
|
395
|
+
|
|
396
|
+
**アートボード構造** (`get_document_structure` の出力):
|
|
397
|
+
|
|
398
|
+
<details>
|
|
399
|
+
<summary>クリックで展開</summary>
|
|
400
|
+
|
|
401
|
+
```
|
|
402
|
+
Labels
|
|
403
|
+
├── title-safe-label (text) — "TITLE SAFE (10%)"
|
|
404
|
+
├── action-safe-label (text) — "ACTION SAFE (5%)"
|
|
405
|
+
├── credit-label (text) — "Generated by illustrator-mcp-server"
|
|
406
|
+
├── test-label (text) — "SMPTE COLOR BARS — TEST PATTERN"
|
|
407
|
+
├── format-label (text) — "Full HD — 16:9"
|
|
408
|
+
└── resolution-label (text) — "1920 x 1080"
|
|
409
|
+
|
|
410
|
+
Center Cross
|
|
411
|
+
├── title-safe (path) — 1536×864 タイトルセーフ枠
|
|
412
|
+
├── action-safe (path) — 1728×972 アクションセーフ枠
|
|
413
|
+
├── cross-circle (path) — 150×150 センターサークル
|
|
414
|
+
├── cross-v (path) — 垂直クロスヘア
|
|
415
|
+
└── cross-h (path) — 水平クロスヘア
|
|
416
|
+
|
|
417
|
+
Color Bars
|
|
418
|
+
├── pluge-black … pluge-navy (path ×9) — PLUGE / グレースケール下段
|
|
419
|
+
├── rev-white … rev-blue (path ×7) — 補色バー中段
|
|
420
|
+
└── bar-white … bar-blue (path ×7) — 75% SMPTE カラーバー
|
|
421
|
+
```
|
|
343
422
|
|
|
344
423
|
</details>
|
|
345
424
|
|
|
425
|
+
> 使用ツール: `create_document`, `manage_layers`, `create_rectangle` ×23, `create_line` ×2, `create_ellipse`, `create_text_frame` ×6, `modify_object` ×4, `save_document`, `export`
|
|
426
|
+
|
|
427
|
+
---
|
|
428
|
+
|
|
429
|
+
## 作例: Twilight Geometry
|
|
430
|
+
|
|
431
|
+
幾何学的な抽象風景画 — 「好きなアートを自由に作って」という指示だけで、Claude が構想から完成まですべて自律的に制作した作品です。
|
|
432
|
+
|
|
433
|
+
**プロンプト:**
|
|
434
|
+
|
|
435
|
+
> あなたが考えるアート作品を思いつくままにイラストレーターで作ってみて。時間はたっぷりある。好きなように作っていこう。
|
|
436
|
+
|
|
437
|
+
**制作中の Claude の言葉:**
|
|
438
|
+
|
|
439
|
+
> 「Twilight Geometry(幾何学の黄昏)」というタイトルで、幾何学的な抽象風景画を作ろうと思う。深い夜空のグラデーション背景に、幾何学的な山並み、月、星を配置する構成で。
|
|
440
|
+
|
|
441
|
+
> ダイヤモンド型の星を5つ配置。微妙な色味の違い — 暖かい白、冷たい青、ラベンダーの紫 — で星の種類を表現。星座のような繊細な線で結び、ワイヤーフレームの三角形と六角形を空に浮かべて幻想的な雰囲気を強化。
|
|
442
|
+
|
|
443
|
+
> 水面に月の光が揺らめく反射線を入れて、徐々に短くなる水平のきらめき線で遠近感を出す。
|
|
444
|
+
|
|
445
|
+
**完成後の Claude の感想:**
|
|
446
|
+
|
|
447
|
+
> 想像以上にいい雰囲気になった。幾何学と自然のハイブリッドな世界観が出せたと思う。
|
|
448
|
+
|
|
449
|
+
**出力結果:**
|
|
450
|
+
|
|
451
|
+
<img src="docs/images/example-twilight-geometry.png" width="720" alt="Twilight Geometry — Claude と illustrator-mcp-server で生成した幾何学的抽象風景画" />
|
|
452
|
+
|
|
453
|
+
> 使用ツール: `create_document`, `manage_layers` ×4, `create_rectangle` ×2, `create_gradient` ×2, `create_path` ×11, `create_ellipse` ×14, `create_line` ×4, `create_text_frame` ×2, `modify_object`, `set_z_order`, `export`
|
|
454
|
+
|
|
346
455
|
---
|
|
347
456
|
|
|
348
457
|
## 既知の制約
|
|
@@ -414,7 +523,7 @@ npm test
|
|
|
414
523
|
npx tsx test/e2e/smoke-test.ts
|
|
415
524
|
```
|
|
416
525
|
|
|
417
|
-
E2E
|
|
526
|
+
E2E テストは新規ドキュメント(RGB + CMYK)を作成し、テストオブジェクトを配置して全 182 ケース(座標系の自動検出を含む登録済み全ツールカバー)を 10 フェーズで自動実行します。
|
|
418
527
|
|
|
419
528
|
---
|
|
420
529
|
|
package/README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
# Illustrator MCP Server
|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.com/package/illustrator-mcp-server)
|
|
6
|
-
[](https://www.npmjs.com/package/illustrator-mcp-server)
|
|
6
|
+
[](LICENSE)
|
|
7
|
+
[]()
|
|
8
|
+
[](https://www.adobe.com/products/illustrator.html)
|
|
9
|
+
[](https://modelcontextprotocol.io/)
|
|
10
10
|
[](https://ko-fi.com/cyocun)
|
|
11
11
|
|
|
12
12
|
An [MCP (Model Context Protocol)](https://modelcontextprotocol.io/) server for reading, manipulating, and exporting Adobe Illustrator design data — with 63 built-in tools.
|
|
@@ -17,6 +17,25 @@ Control Illustrator directly from AI assistants like Claude — extract design i
|
|
|
17
17
|
|
|
18
18
|
---
|
|
19
19
|
|
|
20
|
+
## 🎨 Gallery
|
|
21
|
+
|
|
22
|
+
All artwork below was created entirely by Claude through natural language conversation — no manual Illustrator operation involved.
|
|
23
|
+
|
|
24
|
+
<table>
|
|
25
|
+
<tr>
|
|
26
|
+
<td align="center"><img src="docs/images/example-event-poster.png" width="300" alt="Event poster — SYNC TOKYO 2026" /><br><b>Event Poster</b></td>
|
|
27
|
+
<td align="center"><img src="docs/images/example-logo-concepts.png" width="300" alt="Logo concepts — Slow Drip Coffee Co." /><br><b>Logo Concepts</b></td>
|
|
28
|
+
</tr>
|
|
29
|
+
<tr>
|
|
30
|
+
<td align="center"><img src="docs/images/example-business-card.png" width="300" alt="Business card — KUMO Studio" /><br><b>Business Card</b></td>
|
|
31
|
+
<td align="center"><img src="docs/images/example-twilight-geometry.png" width="300" alt="Twilight Geometry — abstract geometric landscape" /><br><b>Twilight Geometry</b></td>
|
|
32
|
+
</tr>
|
|
33
|
+
</table>
|
|
34
|
+
|
|
35
|
+
> See [detailed breakdowns](#example-smpte-test-pattern) below for prompts, tool usage, and artboard structure.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
20
39
|
> [!TIP]
|
|
21
40
|
> Developing and maintaining this tool takes time and resources.
|
|
22
41
|
> If it helps your workflow, your support means a lot — [☕ buy me a coffee!](https://ko-fi.com/cyocun)
|
|
@@ -341,12 +360,101 @@ Pre-built workflow templates available in the Claude Desktop prompt picker.
|
|
|
341
360
|
|---|---|
|
|
342
361
|
| `preflight_check` | Pre-press check (RGB mixing, broken links, low resolution, white overprint, transparency+overprint interaction, PDF/X compliance, etc.) |
|
|
343
362
|
| `check_text_consistency` | Text consistency check (placeholder detection, notation variation patterns, full text listing for LLM analysis) |
|
|
344
|
-
| `set_workflow` | Set workflow mode (web/print) to
|
|
363
|
+
| `set_workflow` | Set workflow mode (web/print) to override auto-detected coordinate system |
|
|
345
364
|
|
|
346
365
|
</details>
|
|
347
366
|
|
|
348
367
|
---
|
|
349
368
|
|
|
369
|
+
## Coordinate System
|
|
370
|
+
|
|
371
|
+
The server automatically detects the coordinate system from the document:
|
|
372
|
+
|
|
373
|
+
| Document type | Coordinate system | Origin | Y axis |
|
|
374
|
+
|---|---|---|---|
|
|
375
|
+
| CMYK / Print | `document` | Bottom-left | Up |
|
|
376
|
+
| RGB / Web | `artboard-web` | Top-left of artboard | Down |
|
|
377
|
+
|
|
378
|
+
- **CMYK documents** use Illustrator's native coordinate system, matching what print designers expect
|
|
379
|
+
- **RGB documents** use a web-style coordinate system that is easier for AI to work with
|
|
380
|
+
- Use `set_workflow` to override the auto-detected coordinate system if needed
|
|
381
|
+
- All tool responses include a `coordinateSystem` field indicating which system is active
|
|
382
|
+
|
|
383
|
+
---
|
|
384
|
+
|
|
385
|
+
## Example: SMPTE Test Pattern
|
|
386
|
+
|
|
387
|
+
A 1920×1080 SMPTE color bar test pattern, created entirely through natural language instructions to Claude.
|
|
388
|
+
|
|
389
|
+
**Prompt:**
|
|
390
|
+
|
|
391
|
+
> Make a 1920x1080 video test pattern
|
|
392
|
+
|
|
393
|
+
**Result:**
|
|
394
|
+
|
|
395
|
+
<img src="docs/images/example-smpte-test-pattern.png" width="720" alt="SMPTE color bar test pattern generated by Claude via illustrator-mcp-server" />
|
|
396
|
+
|
|
397
|
+
**Artboard structure** (via `get_document_structure`):
|
|
398
|
+
|
|
399
|
+
<details>
|
|
400
|
+
<summary>Click to expand</summary>
|
|
401
|
+
|
|
402
|
+
```
|
|
403
|
+
Labels
|
|
404
|
+
├── title-safe-label (text) — "TITLE SAFE (10%)"
|
|
405
|
+
├── action-safe-label (text) — "ACTION SAFE (5%)"
|
|
406
|
+
├── credit-label (text) — "Generated by illustrator-mcp-server"
|
|
407
|
+
├── test-label (text) — "SMPTE COLOR BARS — TEST PATTERN"
|
|
408
|
+
├── format-label (text) — "Full HD — 16:9"
|
|
409
|
+
└── resolution-label (text) — "1920 x 1080"
|
|
410
|
+
|
|
411
|
+
Center Cross
|
|
412
|
+
├── title-safe (path) — 1536×864 stroke rectangle
|
|
413
|
+
├── action-safe (path) — 1728×972 stroke rectangle
|
|
414
|
+
├── cross-circle (path) — 150×150 center circle
|
|
415
|
+
├── cross-v (path) — vertical crosshair
|
|
416
|
+
└── cross-h (path) — horizontal crosshair
|
|
417
|
+
|
|
418
|
+
Color Bars
|
|
419
|
+
├── pluge-black … pluge-navy (path ×9) — PLUGE / grayscale bottom strip
|
|
420
|
+
├── rev-white … rev-blue (path ×7) — reverse color middle strip
|
|
421
|
+
└── bar-white … bar-blue (path ×7) — 75% SMPTE color bars
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
</details>
|
|
425
|
+
|
|
426
|
+
> Tools used: `create_document`, `manage_layers`, `create_rectangle` ×23, `create_line` ×2, `create_ellipse`, `create_text_frame` ×6, `modify_object` ×4, `save_document`, `export`
|
|
427
|
+
|
|
428
|
+
---
|
|
429
|
+
|
|
430
|
+
## Example: Twilight Geometry
|
|
431
|
+
|
|
432
|
+
An abstract geometric landscape artwork — created entirely by Claude, with no human design direction beyond "make whatever art you want."
|
|
433
|
+
|
|
434
|
+
**Prompt:**
|
|
435
|
+
|
|
436
|
+
> Make an art piece of your own imagination in Illustrator. Take your time. Create whatever you like.
|
|
437
|
+
|
|
438
|
+
**Claude's process:**
|
|
439
|
+
|
|
440
|
+
> I'll create "Twilight Geometry" — an abstract landscape with geometric celestial elements. A deep gradient twilight sky, layered mountain silhouettes, a crescent moon with decorative rings, and stars scattered across the canvas.
|
|
441
|
+
|
|
442
|
+
> Diamond-shaped stars in different colors — warm whites, cool blues, lavender purples — each one subtly different to suggest different types of stars. Constellation lines connecting them. Wireframe triangles and a hexagon floating in the sky for a mystical atmosphere.
|
|
443
|
+
|
|
444
|
+
> A water surface at the bottom with the moon's light reflected as shimmering wavy lines, fading as they descend.
|
|
445
|
+
|
|
446
|
+
**Claude's reflection:**
|
|
447
|
+
|
|
448
|
+
> It turned out better than I expected. I think the hybrid world of geometry and nature came through well.
|
|
449
|
+
|
|
450
|
+
**Result:**
|
|
451
|
+
|
|
452
|
+
<img src="docs/images/example-twilight-geometry.png" width="720" alt="Twilight Geometry — abstract geometric landscape art generated by Claude via illustrator-mcp-server" />
|
|
453
|
+
|
|
454
|
+
> Tools used: `create_document`, `manage_layers` ×4, `create_rectangle` ×2, `create_gradient` ×2, `create_path` ×11, `create_ellipse` ×14, `create_line` ×4, `create_text_frame` ×2, `modify_object`, `set_z_order`, `export`
|
|
455
|
+
|
|
456
|
+
---
|
|
457
|
+
|
|
350
458
|
## Known Limitations
|
|
351
459
|
|
|
352
460
|
| Limitation | Details |
|
|
@@ -416,7 +524,7 @@ npm test
|
|
|
416
524
|
npx tsx test/e2e/smoke-test.ts
|
|
417
525
|
```
|
|
418
526
|
|
|
419
|
-
The E2E test creates
|
|
527
|
+
The E2E test creates fresh documents (RGB + CMYK), places test objects, runs 182 test cases across 10 phases covering all registered tools and coordinate system auto-detection, and cleans up automatically.
|
|
420
528
|
|
|
421
529
|
---
|
|
422
530
|
|