# lucdesign/indesign-mcp-server architecture

> Architecture diagram of the GitHub repository lucdesign/indesign-mcp-server, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lucdesign/indesign-mcp-server
- Repository: https://github.com/lucdesign/indesign-mcp-server

## Overview

This is an MCP server that lets an MCP-compatible assistant automate Adobe InDesign through tools implemented in a single large source file. The principal workflow is client tool request → server tool handling → InDesign document operation → formatted response. README capabilities define the domain branches shown here; sampled source confirms the MCP server, AppleScript execution, and document handlers. The excerpts do not expose all tool registrations or dispatch paths, so category links are documented capability links rather than claims about individual calls.

Main entry points: [`index.js`](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js) (InDesign MCP Server)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["MCP Entry"]
  node_server["InDesign MCP Server<br/>[index.js]"]
end

subgraph group_documents["Document Work"]
  node_docs["Document Management<br/>[index.js]"]
  node_pages["Page Management<br/>[index.js]"]
end

subgraph group_content["Content &amp; Design"]
  node_text["Text &amp; Typography<br/>[index.js]"]
  node_styles["Styles<br/>[index.js]"]
  node_graphics["Graphics &amp; Layout<br/>[index.js]"]
  node_colors["Color Management<br/>[index.js]"]
  node_layers["Layer Management<br/>[index.js]"]
  node_tables["Tables &amp; Data<br/>[index.js]"]
end

subgraph group_production["Publishing Output"]
  node_export["Export &amp; Production<br/>[index.js]"]
  node_preflight["Preflight &amp; Packaging<br/>[index.js]"]
end

subgraph group_automation["Automation"]
  node_merge["Data Merge<br/>[index.js]"]
  node_scripting["ExtendScript<br/>[index.js]"]
  node_batch["Batch Workflows<br/>[index.js]"]
end

node_assistant(("MCP Client"))
node_indesign["Adobe InDesign"]

node_assistant -->|"requests tools"| node_server
node_server -->|"offers tools"| node_docs
node_server -->|"offers tools"| node_pages
node_server -->|"offers tools"| node_text
node_server -->|"offers tools"| node_styles
node_server -->|"offers tools"| node_graphics
node_server -->|"offers tools"| node_colors
node_server -->|"offers tools"| node_layers
node_server -->|"offers tools"| node_tables
node_server -->|"offers tools"| node_export
node_server -->|"offers tools"| node_preflight
node_server -->|"offers tools"| node_merge
node_server -->|"offers tools"| node_scripting
node_server -->|"supports workflow"| node_batch
node_server -->|"executes scripts"| node_indesign

click node_server "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"
click node_docs "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"
click node_pages "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"
click node_text "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"
click node_styles "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"
click node_graphics "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"
click node_colors "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"
click node_layers "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"
click node_tables "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"
click node_export "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"
click node_preflight "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"
click node_merge "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"
click node_scripting "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"
click node_batch "https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_server,node_assistant toneBlue
class node_docs,node_pages toneAmber
class node_text,node_styles,node_graphics,node_colors,node_layers,node_tables toneMint
class node_export,node_preflight toneRose
class node_merge,node_scripting,node_batch,node_indesign toneIndigo
```

## Components

### MCP Entry

- [InDesign MCP Server](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`

### Document Work

- [Document Management](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`
- [Page Management](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`

### Content & Design

- [Text & Typography](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`
- [Styles](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`
- [Graphics & Layout](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`
- [Color Management](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`
- [Layer Management](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`
- [Tables & Data](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`

### Publishing Output

- [Export & Production](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`
- [Preflight & Packaging](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`

### Automation

- [Data Merge](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`
- [ExtendScript](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`
- [Batch Workflows](https://github.com/lucdesign/indesign-mcp-server/blob/main/index.js): `index.js`

### Other components

- **MCP Client**
- **Adobe InDesign**

## Connections

- MCP Client → InDesign MCP Server: requests tools (evidence: `README.md`)
- InDesign MCP Server → Document Management: offers tools (evidence: `README.md`)
- InDesign MCP Server → Page Management: offers tools (evidence: `README.md`)
- InDesign MCP Server → Text & Typography: offers tools (evidence: `README.md`)
- InDesign MCP Server → Styles: offers tools (evidence: `README.md`)
- InDesign MCP Server → Graphics & Layout: offers tools (evidence: `README.md`)
- InDesign MCP Server → Color Management: offers tools (evidence: `README.md`)
- InDesign MCP Server → Layer Management: offers tools (evidence: `README.md`)
- InDesign MCP Server → Tables & Data: offers tools (evidence: `README.md`)
- InDesign MCP Server → Export & Production: offers tools (evidence: `README.md`)
- InDesign MCP Server → Preflight & Packaging: offers tools (evidence: `README.md`)
- InDesign MCP Server → Data Merge: offers tools (evidence: `README.md`)
- InDesign MCP Server → ExtendScript: offers tools (evidence: `README.md`)
- InDesign MCP Server → Batch Workflows: supports workflow (evidence: `README.md`)
- InDesign MCP Server → Adobe InDesign: executes scripts (evidence: `index.js`)
