mcp-indesign
直接从 Codex、Claude、OpenCode 及其他 MCP 客户端控制 Adobe InDesign。
InDesign MCP 是一个通过 COM 和 ExtendScript 在 Windows 上自动化 Adobe InDesign 的 Model Context Protocol 服务器。它使 AI 助手能够使用结构化工具检查文档、编辑内容并执行导出。
✨ 亮点
19 个工具,可用于编辑、检查和导出。
npm 安装,无需 InDesign 插件或启动脚本。
与 Codex、Claude Desktop、Claude Code 和 OpenCode 原生集成。
通过
stdio本地执行;您的文档不会通过 MCP 发送。默认安全,禁用任意 JSX 执行。
Related MCP server: indesign-mcp-server
📋 系统要求
Windows 10 或 11
Adobe InDesign 2024 或更高版本
Node.js 18 或更高版本
PowerShell 5.1 或更高版本
使用服务器时,InDesign 必须处于打开状态。无需启动脚本或防火墙配置。
📦 npm 安装
您无需克隆仓库或全局安装该包。将您的 MCP 客户端配置为运行:
npx -y mcp-indesignCodex
将以下内容添加到 ~/.codex/config.toml:
[mcp_servers.indesign]
command = "npx"
args = ["-y", "mcp-indesign"]
startup_timeout_sec = 30
[mcp_servers.indesign.env]
INDESIGN_MCP_LANGUAGE = "en"Claude Desktop 或 Claude Code
{
"mcpServers": {
"indesign": {
"command": "npx",
"args": ["-y", "mcp-indesign"],
"env": { "INDESIGN_MCP_LANGUAGE": "en" }
}
}
}OpenCode
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"indesign": {
"type": "local",
"command": ["npx", "-y", "mcp-indesign"],
"environment": { "INDESIGN_MCP_LANGUAGE": "en" },
"enabled": true
}
}
}重启客户端,打开 InDesign,然后运行 check_connection。
🧰 工具
工具 | 功能 |
| 检查与 InDesign 的通信 |
| 列出打开的文档 |
| 返回文档页面和属性 |
| 返回有关页面的信息 |
| 从选区、页面、文档或框架中读取文本 |
| 将文本插入框架 |
| 替换、追加或前置文本 |
| 查找并替换文本 |
| 列出文本框架 |
| 创建文本框架 |
| 列出文档样式 |
| 将样式应用于选区或框架 |
| 列出颜色色板 |
| 创建 RGB、CMYK、LAB 或 GRAY 色板 |
| 导出 PDF |
| 导出 JPG、PNG 或 TIFF 图像 |
| 快速导出为所选格式 |
| 导出多个文档和格式 |
| 在显式启用时运行 ExtendScript |
🔐 安全
运行时默认使用英语。如有需要,可在 MCP 环境中设置界面语言:
INDESIGN_MCP_LANGUAGE=en # English
INDESIGN_MCP_LANGUAGE=pt-BR # Portuguese (pt and pt-PT are also accepted)
INDESIGN_MCP_LANGUAGE=es # Spanishrun_jsx 允许任意 ExtendScript 执行,默认处于禁用状态。仅在受信任的环境中启用它:
INDESIGN_MCP_ENABLE_RUN_JSX=1要使用外部安装的 BatchExportProfessional.jsx:
INDESIGN_MCP_BATCH_SCRIPT=C:\path\BatchExportProfessional.jsx🛠️ 开发
git clone https://github.com/SanNw/Indesign-MCP.git
cd Indesign-MCP
npm install
npm test该测试会启动服务器,验证全部 19 个工具,并确认 run_jsx 默认仍处于阻止状态。
🩺 故障排除
在使用其他工具之前,先运行
check_connection。确认 InDesign 已在同一 Windows 会话中打开。
更改配置后,重启 MCP 客户端。
导出预设因 InDesign 版本和语言而异。
⚠️ 限制
0.1.x系列仅支持 Windows。操作可能会修改打开的文档,但不会自动保存。
兼容性已通过 InDesign 2025 直接验证;其他版本应由社区进行测试。
📄 许可证
致力于拉近人工智能与编辑设计的距离。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to programmatically control Adobe Photoshop on Windows to create documents, manipulate layers, and manage image adjustments. It provides a bridge between the Model Context Protocol and the Photoshop Python API for automated graphic design workflows.291MIT
- AlicenseCqualityCmaintenanceEnables AI assistants to automate Adobe InDesign publishing workflows, including document creation, text formatting, image placement, PDF export, and more via 35+ professional tools.3630MIT
- AlicenseCqualityAmaintenanceA Model Context Protocol (MCP) server that gives AI assistants direct, native control over Adobe InDesign via a UXP plugin bridge, with ~130 tools covering documents, pages, text, graphics, styles, master spreads, books, and export.10086MIT
- AlicenseCqualityCmaintenanceEnables AI assistants to control Adobe InDesign for automated publishing workflows, document creation, and layout tasks across macOS and Windows.361MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Generate PDFs from templates via AI chat. Works with Claude, ChatGPT, Cursor, and any MCP client.
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SanNw/Indesign-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server