LI

lucdesign/indesign-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

67 stars 15 forks 质量 80 趋势 9MIT

一个全面的 Adobe InDesign 自动化 MCP 服务器,配备 35+ 专业工具

概览

一个全面的 。该服务器使像 Claude 这样的 AI 助手能够直接控制 Adobe InDesign,自动化复杂的出版流程、文档创建和专业版面任务。 - 创建、打开、保存和关闭文档,支持高级选项 - 支持所有标准格式(A4、A5、信件、法律、自定义) - 对页、出血、字条和边距配置 - 多页文档处理 - 高级文本框创建与编辑 - 字符和段落样式管理 - 支持GREP查找/替换 - 专业排版控制(前置、跟踪、光学边距对齐) - 多重贴合选项的图像布局 - 形状创建(矩形、椭圆带样式)- 图层管理与组织 - 色片创建和管理(CMYK、RGB、专色) - 表格创建与数据填充- 支持页眉和页脚 - CSV数据集成功能 - 带预设的专业PDF导出- 多格式图片导出(PNG,...

概述(AI 翻译)

一个全面的模型上下文协议(MCP)服务器,用于Adobe InDesign自动化,配备51+专业工具。该服务器使像Claude这样的AI助手能够直接控制Adobe InDesign,自动化复杂的出版工作流程、文档创建和专业版面任务。

🚀 特色

📄 文档管理

  • 创建、打开、保存和关闭带有高级选项的文档
  • 支持所有标准格式(A4、A5、信件、法律、定制)
  • 对页、出血、字块和边距配置
  • 多页文档处理

✍️ 文本与排版

  • 高级文本框创建与编辑
  • 字符与段落风格管理
  • 查找/替换支持GREP
  • 专业排版控制(前置、追踪、光学边距对齐)

🎨 图形与布局

  • 具备多种贴合选项的图像放置
  • 形状创建(矩形、带有样式的椭圆)
  • 层管理与组织
  • 色片创建与管理(CMYK、RGB、专色)

📊 表格与数据

  • 表创建与数据填充
  • 支持页眉和页脚
  • CSV 数据集成能力

📤 出口与生产

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

InDesign MCP Server

A comprehensive Model Context Protocol (MCP) server for Adobe InDesign automation with 51+ professional tools. This server enables AI assistants like Claude to directly control Adobe InDesign, automating complex publishing workflows, document creation, and professional layout tasks.

🚀 Features

📄 Document Management

  • Create, open, save, and close documents with advanced options
  • Support for all standard formats (A4, A5, Letter, Legal, Custom)
  • Facing pages, bleeds, slugs, and margin configuration
  • Multi-page document handling

✍️ Text & Typography

  • Advanced text frame creation and editing
  • Character and paragraph style management
  • Find/replace with GREP support
  • Professional typography controls (leading, tracking, optical margin alignment)

🎨 Graphics & Layout

  • Image placement with multiple fit options
  • Shape creation (rectangles, ellipses with styling)
  • Layer management and organization
  • Color swatch creation and management (CMYK, RGB, Spot colors)

📊 Tables & Data

  • Table creation and data population
  • Support for headers and footers
  • CSV data integration capabilities

📤 Export & Production

  • Professional PDF export with presets
  • Multi-format image export (PNG, JPEG, TIFF)
  • EPUB export for digital publishing
  • Package for print production
  • Preflight checking

🔧 Automation & Scripting

  • Data merge operations
  • Custom ExtendScript execution
  • Batch processing capabilities
  • Professional publishing workflows

📋 Prerequisites

  • Adobe InDesign 2025 (or compatible version)
  • macOS (required for AppleScript integration)
  • Node.js 18+
  • MCP-compatible client (like Claude Desktop)

🛠️ Installation

1. Clone the Repository

git clone https://github.com/lucdesign/indesign-mcp-server.git
cd indesign-mcp-server

2. Install Dependencies

npm install

3. Configure MCP Client

Add the server to your MCP client configuration (e.g., Claude Desktop):

claude_desktop_config.json:

{
  "mcpServers": {
    "indesign": {
      "command": "node",
      "args": ["/path/to/indesign-mcp-server/index.js"],
      "env": {}
    }
  }
}

4. Start Adobe InDesign

Ensure Adobe InDesign is running before using the MCP server.

🎯 Quick Start

Create a Professional Document

// Create an A4 document with facing pages
create_document({
  preset: "A4",
  orientation: "Portrait", 
  pages: 4,
  facingPages: true,
  marginTop: 20,
  marginBottom: 20,
  marginLeft: 20,
  marginRight: 20
})

Add Formatted Text

// Create a text frame with professional typography
create_text_frame({
  content: "Professional Publishing with InDesign MCP",
  x: 20,
  y: 20,
  width: 170,
  height: 50,
  fontSize: 18,
  fontFamily: "Helvetica Neue",
  fontStyle: "Bold",
  alignment: "LEFT_ALIGN"
})

Create and Apply Styles

// Create a character style
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "indesign": { "command": "node", "args": ["/path/to/indesign-mcp-server/index.js"], "env": {} } } }