
InDesign MCP Server
io.github.zachshallbetter由 GitHub 帳號 zachshallbetter 發布v2.5.0更新於 Oct 24, 2026
Drive Adobe InDesign from any MCP client: 135+ tools for layout, styles, books and PDF export.
概覽
本機 MCP 伺服器,在 macOS 或 Windows 上驅動 Adobe InDesign,讓助理建立文件、排版頁面、套用樣式並匯出 PDF、EPUB 或圖片。
- 可以做什麼
- 建立、開啟、儲存、關閉與預檢文件,並管理多文件書籍
- 新增、調整、複製與瀏覽頁面及跨頁,並處理參考線、主版、圖層與群組
- 建立文字框、表格、圖形與影像,並執行尋找取代
- 建立並套用段落、字元、物件與表格樣式,以及色票與漸層
- 匯出 PDF、JPEG/PNG、EPUB 或 HTML,封裝印刷檔案,並執行資料合併或 XML 工作流程
- 透過內建說明工具查詢各工具的參數與分類
- 適用情境
- 適合設計與出版團隊讓助理自動處理重複的 InDesign 排版、品牌樣式一致性、報表產生,以及多頁出版物與書籍製作,不必離開聊天用戶端。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js 18+。需在 macOS 或 Windows 上安裝 Adobe InDesign 2023 或更新版本;macOS 使用 AppleScript,可能提示授予自動化權限,Windows 使用 PowerShell COM。選用環境變數:INDESIGN_APP_NAME、INDESIGN_ALLOWED_DIRS 與 INDESIGN_BACKEND。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 InDesign MCP Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
InDesign MCP Server
[npm] [License: MIT] [Node.js] [Platform] [MCP] [GitHub stars]
Turn Adobe InDesign into an AI design automation platform — 420+ MCP tools for documents, layout, typography, styles, tables, images, long documents, interactive documents, prepress, and PDF and EPUB export. Drive InDesign from Claude, Cursor, Warp, or any MCP client using natural language.
Why this exists
Design ops still means repeating the same layout chores by hand. This server exposes InDesign as structured tools an agent can call: create pages, place assets, apply brand styles, export PDF — without leaving the chat.
Perfect for
- Design teams automating layout tasks and brand consistency
- Content creators generating documents at scale
- AI assistants that need real InDesign control
- Developers building design automation workflows
- Publishers streamlining production
Key features
Core
- Document management — create, open, save, close, preferences, preflight, XML
- Page management — add, delete, duplicate, move, guides, navigation
- Content — text frames, tables, find/replace, shapes, images
- Styles — paragraph, character, object styles and color swatches
- Layout — spreads, master spreads, layers, groups, page items, guides and grids
- Export — PDF, JPEG/PNG images, EPUB (reflowable or fixed layout), package for print
- Books — multi-document books, sync, repaginate, cross-references
Module areas
Each area covers the panels and dialogs of one part of InDesign, mapped feature by feature to the capability atlas:
- Typography — character and paragraph formatting, OpenType, bullets and numbering, GREP styles, tabs, CJK composition
- Styles — paragraph, character, object, table, cell and TOC styles, style groups, Quick Apply, nested styles
- Text frames, tables and long documents — text frame options, wrap, notes and track changes, threading; table and cell options; tables of contents, footnotes, index, conditional text, hyperlinks, cross-references, text variables and books
- Frames, paths and layout — shapes, strokes, anchored objects, libraries, transformations, pathfinder, alternate and liquid layouts, flex layouts, linked content, guides and grids
- Colour, effects and images — swatches, gradients, mixed inks, colour settings and proofing, effects and transparency, links and import options
- Output — PDF, EPUB and HTML export with every option, Word and Excel import, printing, preflight, separations, booklets and packaging
- Interactive documents, XML, data merge — buttons and forms, object states, animation, media; XML structure, tags and import/export; data merge, find and change, dictionaries and languages
- Documents, pages and preferences — document presets, pages and spreads, parent pages, layers, selection, undo history, and every Preferences pane
Platform
- macOS — AppleScript (
osascript) bridge; InDesign version is auto-detected (or set viaINDESIGN_APP_NAME) - Windows — COM automation via PowerShell (
New-Object -ComObject); tries current and recent InDesign ProgIDs - UXP (optional) —
INDESIGN_BACKEND=uxp|autovia local bridge + plugin underuxp/ - Session manager — tracks page dimensions and fills in positions and sizes you leave out
- Help tool — parameters for every tool and category, generated from the same definitions as
tools/list - Safe JSX helpers —
src/utils/jsxSafe.jsfor validated string/number/path interpolation into ExtendScript
Quick start
Prerequisites
- Adobe InDesign (2023 or later recommended)
- Node.js 18+
- macOS or Windows
macOS
Uses AppleScript. Grant Automation permissions for your terminal/Node if prompted (System Settings → Privacy & Security → Automation).
InDesign version is resolved in order:
INDESIGN_APP_NAMEenvironment variable (e.g.Adobe InDesign 2026)- A running InDesign process
- Newest
Adobe InDesign *.appunder/Applicationsor~/Applications - Fallback:
Adobe InDesign 2025
Windows
Uses COM automation through PowerShell. No extra install steps. InDesign should be installed; the server will attach to a running instance or launch via COM.
Installation
Nothing to clone. MCP clients start the server with npx, which downloads it from npm on first run. It is listed in the official MCP Registry as io.github.zachshallbetter/adobe-mcp-indesign.
Claude Code:
MCP client config
Any other client (Claude Desktop claude_desktop_config.json, Cursor, Warp, …):
Optional environment overrides:
INDESIGN_APP_NAME— macOS only; force a specific app name for AppleScriptINDESIGN_ALLOWED_DIRS— extra directories allowed for file operations (delimiter is:on macOS,;on Windows)
Restart the client, open InDesign, then try: Create an A4 doc and add a centered title.
To run from a clone instead (for development), use "command": "node" with "args": ["/ABSOLUTE/PATH/TO/adobe-mcp-indesign/src/index.js"] after npm install.
Help system
Example calls
Tools
137 tools in seven areas. The full reference, with every parameter, is docs/TOOLS.md (generated from the same definitions the server advertises).
For AI agents
- Instructions at connect. The server sends usage instructions in its
initializeresponse (units, indexes, colors, fonts, paths, errors), which MCP clients pass to the model. - Annotations on every tool.
readOnlyHint,destructiveHint,idempotentHintandopenWorldHintlet clients ask before destructive calls such asdelete_page,cleanup_documentorclose_document(which discards unsaved changes). - Real errors. A failed call returns
isError: truewith a message such as "No document open" or "Error: color swatch 'Brand' not found". - Self-describing.
help({ tool })returns any tool's parameters;help({ category })lists tools by area. - Conventions. Millimeters from the target page's top-left corner, 0-based indexes, swatch names or
"#RRGGBB", fonts as"Family\tStyle". See docs/LLM_PROMPT.md for workflows.
Session management
The server tracks page dimensions and active document metadata so tools can place content with sensible defaults when coordinates are omitted.
Architecture
Script execution
ExtendScript safety
Tool arguments that flow into JSX should go through src/utils/jsxSafe.js:
str(),num(),bool(),index(),enumOf(),measure(),json(),numList()validateFilePath()/jsxPath()for filesystem paths (INDESIGN_ALLOWED_DIRS)
Every handler uses these helpers; raw argument strings never reach a script.
Errors
Scripts report failures as text ("No document open", "Error …", "… not found"). The server recognizes these (looksLikeFailure in src/utils/stringUtils.js) and returns them with success: false and MCP isError: true, so clients can tell a failed call from a successful one.
Real-world applications
- Automated report generation with consistent styles
- Brand asset and template systems
- Multi-page publications and books
- Design-system driven layout
Testing
npm test covers:
- Tool definitions: every tool has a description, title, annotations and a typed, described parameter list
- Path confinement: every file or folder parameter rejects paths outside your home folder and
INDESIGN_ALLOWED_DIRS - MCP protocol: the server starts over stdio, sends instructions, lists all tools and answers
helpfor each - Error detection: failure messages become
isErrorresults - Tool reference:
docs/TOOLS.mdmatches the definitions - Script audit: see below
The script audit (tests/audit/scripts.audit.js) calls every tool with arguments built from its schema, captures the ExtendScript it would send, and fails if any advertised tool is not dispatched, if a script is not valid ES5 (ExtendScript has no let, arrow functions or JSON), or if a script uses a property, method, enum or global that does not exist in the InDesign 2023 scripting DOM (types-for-adobe).
CI runs check and npm test on every push and pull request. The audit checks scripts against Adobe's published DOM; it does not run them, so the integration suite against a live InDesign remains the final check.
Related projects
Execution backends
ArtCraft (DesignCraft) Support
This server features transparent adapter support for Storytold's DesignCraft desktop publishing application. When InDesign is not installed or running, or when INDESIGN_TARGET=craft (or ADOBE_TARGET=craft) is set, compatible tools route directly to DesignCraft's loopback control protocol (127.0.0.1:7979 by default or DESIGNCRAFT_CONTROL_PORT).
Details: docs/architecture-execution.md and uxp/README.md.
Optional packaging reference: theloniuser/indesign-uxp-server (bridge/plugin adapted into uxp/ with attribution).
Examples
See examples/basic-flyer.md and examples/mcp-config.json for a first-run workflow and client config.
Contributing
See CONTRIBUTING.md. Report security issues privately as described in SECURITY.md.
Credits
This server began as lucdesign/indesign-mcp-server by Lukas Drechsel-Burkhard, released under the MIT License. This project builds on that work; the original copyright notice is kept in LICENSE.
License
MIT. See LICENSE.
Documentation
- docs/MCP_INSTRUCTIONS.md: setup for each client, environment variables, troubleshooting
- docs/TOOLS.md: every tool and parameter
- docs/LLM_PROMPT.md: conventions and workflows for agents
- docs/architecture-execution.md: how scripts reach InDesign
- docs/CHANGELOG.md
來源:packages/indesign/README.md,提交 44b5b50
工具
0版本歷史
2- v2.5.0最新Oct 15, 2026
- v2.4.0Oct 15, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分