mcpField
A
Adobe MCP Suite

Adobe MCP Suite

本地服务
github.com/zachshallbetter媒体与设计281 周前更新

关于 Adobe MCP Suite

一个本地 MCP 服务,将 Adobe InDesign、Illustrator、Photoshop、After Effects 和 Premiere Pro 汇集到同一协调器中,适用于跨多个 Adobe 应用的工作流,并提供应用间素材与色板操作工具。

主要功能

  1. 01支持五款 Adobe 应用的工具
  2. 02可选择加载的应用
  3. 03工具名称带应用前缀
  4. 04将 Illustrator 图稿置入 InDesign
  5. 05从 Illustrator 复制色板到 InDesign

适用场景

  1. 01协调跨 Adobe 应用的任务
  2. 02将 Illustrator 图稿置入 InDesign 版面
  3. 03在 Illustrator 与 InDesign 间复制色板

MCP 相关

该服务通过 stdio 使用 MCP,并以带应用前缀的名称提供所选 Adobe 应用的工具。加载相关应用后,还可使用跨应用工具。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

mcp.json · 通用配置
{
"mcpServers": {
"zachshallbetter-adobe-mcp-suite": {
"command": "npx",
"args": [
"-y",
"adobe-mcp-suite"
],
"env": {
"ADOBE_MCP_APPS": "<ADOBE_MCP_APPS>",
"ADOBE_TARGET": "<ADOBE_TARGET>",
"ADOBE_BACKEND": "<ADOBE_BACKEND>",
"TARGET": "<TARGET>",
"BACKEND": "<BACKEND>",
"ARTCRAFT_ENABLED": "<ARTCRAFT_ENABLED>",
"ARTCRAFT_CONTROL_PORT": "<ARTCRAFT_CONTROL_PORT>",
"ARTCRAFT_CONTROL_TOKEN": "<ARTCRAFT_CONTROL_TOKEN>",
"ARTCRAFT_CONTROL_TOKEN_FILE": "<ARTCRAFT_CONTROL_TOKEN_FILE>",
"INDESIGN_ALLOWED_DIRS": "<INDESIGN_ALLOWED_DIRS>",
"ILLUSTRATOR_ALLOWED_DIRS": "<ILLUSTRATOR_ALLOWED_DIRS>",
"PHOTOSHOP_ALLOWED_DIRS": "<PHOTOSHOP_ALLOWED_DIRS>",
"AFTEREFFECTS_ALLOWED_DIRS": "<AFTEREFFECTS_ALLOWED_DIRS>",
"PREMIERE_ALLOWED_DIRS": "<PREMIERE_ALLOWED_DIRS>",
"PREMIERE_WS_PORT": "<PREMIERE_WS_PORT>",
"UXP_BRIDGE_URL": "<UXP_BRIDGE_URL>",
"BRIDGE_TOKEN": "<BRIDGE_TOKEN>"
}
}
}
}
启动命令npx -y adobe-mcp-suite
需要配置的环境变量
ADOBE_MCP_APPSApplications to load, comma-separated: indesign, illustrator, photoshop, aftereffects, premiere. Defaults to InDesign and Illustrator
ADOBE_TARGETOptional shared execution target, including adobe, craft, artcraft, or auto
ADOBE_BACKENDOptional shared execution backend, including extendscript, uxp, craft, or auto
TARGETAlias for ADOBE_TARGET when choosing the shared execution target
BACKENDAlias for ADOBE_BACKEND when choosing the shared execution backend
ARTCRAFT_ENABLEDProbe a compatible local ArtCraft app when the selected backend is auto
ARTCRAFT_CONTROL_PORTFallback loopback port for local ArtCraft control connections
ARTCRAFT_CONTROL_TOKEN密钥Fallback authentication token for local ArtCraft control connections
ARTCRAFT_CONTROL_TOKEN_FILE密钥File containing the fallback ArtCraft control token
INDESIGN_ALLOWED_DIRSExtra directories InDesign tools may read and write (':' on macOS, ';' on Windows)
ILLUSTRATOR_ALLOWED_DIRSExtra directories Illustrator tools may read and write (':' on macOS, ';' on Windows)
PHOTOSHOP_ALLOWED_DIRSExtra directories Photoshop tools may read and write (':' on macOS, ';' on Windows)
AFTEREFFECTS_ALLOWED_DIRSExtra directories After Effects tools may read and write (':' on macOS, ';' on Windows)
PREMIERE_ALLOWED_DIRSExtra directories Premiere Pro tools may read and write (':' on macOS, ';' on Windows)
PREMIERE_WS_PORTLoopback port used to connect the Premiere Pro UXP plugin; defaults to 3011
UXP_BRIDGE_URLInDesign UXP bridge URL; defaults to http://127.0.0.1:3000
BRIDGE_TOKEN密钥Optional shared secret for the local InDesign or Premiere Pro UXP bridge

本地服务需要在你的电脑上安装运行环境(如 Node.js 18+)。各客户端的配置文件位置不同,请参考客户端文档。

安装包
npmadobe-mcp-suite0.3.0

工具

447

收录的工具列表 · 更新于 6 天前

参数类型必填说明
positionenum否添加页面的位置:AT_END、AT_BEGINNING 或 BEFORE/AFTER referencePageAT_END | AT_BEGINNING | BEFORE | AFTER
referencePageinteger否0 起始的参考页面索引(BEFORE/AFTER 时必需)

详细介绍

Adobe MCP Suite

一个 MCP 服务即可同时连接 Adobe InDesign、Illustrator、Photoshop、After Effects 和 Premiere Pro,并提供可跨应用使用的工具。如果你同时使用多个应用,请使用此服务;如果只想操作一个应用, 请改为安装该应用的服务 (adobe-mcp-indesign、adobe-mcp-illustrator、 adobe-mcp-photoshop、adobe-mcp-aftereffects、 adobe-mcp-premiere)。

需要 Node.js 18 或更高版本,以及 macOS 或 Windows 上的 InDesign、Illustrator、Photoshop 和/或 After Effects 2023 或更高版本,或已加载插件的 Premiere Pro 25.6 或更高版本(参见 adobe-mcp-premiere)。

安装

使用 npm 安装已发布的套件:

npm install --global adobe-mcp-suite

或使用固定版本的 Homebrew formula(macOS 和 Linux):

brew install --formula https://raw.githubusercontent.com/zachshallbetter/adobe-mcp/main/Formula/adobe-mcp-suite.rb

curl 安装程序会全局安装当前的 npm 发行版:

curl -fsSL https://raw.githubusercontent.com/zachshallbetter/adobe-mcp/main/scripts/install.sh | sh

这三种方式都会安装相同的套件包。该套件在本地运行,仍需要 Node.js 18 或更高版本,以及你计划使用的 Adobe 应用。

Claude Code:

claude mcp add adobe -- npx -y adobe-mcp-suite

适用于任何读取 mcpServers 块的客户端:

{
  "mcpServers": {
    "adobe": { "command": "npx", "args": ["-y", "adobe-mcp-suite"] }
  }
}

使用 --apps(或 ADOBE_MCP_APPS)仅加载部分应用:

{ "command": "npx", "args": ["-y", "adobe-mcp-suite", "--apps", "illustrator"] }

工具

每个应用的所有工具都会原样包含在内,并在名称前加上应用名称:indesign_create_text_frame、illustrator_create_rectangle、 indesign_export_pdf。工具名称中已包含应用名称的,只保留一次:indesign_status、illustrator_execute_code。每个应用都保留自己的 单位和约定(InDesign:以页面左上角为原点的毫米;Illustrator:以画板左上角为原点的点;Photoshop:以文档左上角为原点的像素;After Effects:以合成左上角为原点的像素和 秒;Premiere Pro:秒,按轨道和片段索引选择片段),服务的说明中会介绍这些内容。首次调用 Premiere Pro 时,会打开 Premiere Pro 的插件端口。

在加载了两个应用时提供的跨应用工具:

工具功能
place_illustrator_artwork_in_indesign将当前 Illustrator 文档的一个画板置入 InDesign 页面,并链接到 .ai 文件;更新链接后,之后在 Illustrator 中所做的编辑便会反映到版面中。除非你指定不保存,否则会先保存 Illustrator 文档。
copy_swatches_illustrator_to_indesign按原值复制颜色色板:CMYK 和 RGB 印刷色、作为专色墨的专色,以及作为 CMYK 黑色的灰色。渐变和图案会列出,但不会复制;InDesign 内置色板不会被更改。

配置

每个应用的变量与其独立服务中的用法相同。允许路径变量为 INDESIGN_ALLOWED_DIRS、 ILLUSTRATOR_ALLOWED_DIRS、PHOTOSHOP_ALLOWED_DIRS、AFTEREFFECTS_ALLOWED_DIRS 和 PREMIERE_ALLOWED_DIRS。也支持应用名称、超时和后端变量;具体行为请参阅各应用的 README。此外,Premiere Pro 需要加载其 UXP 插件,并使用 PREMIERE_WS_PORT 和可选的 BRIDGE_TOKEN。ADOBE_MCP_APPS 用于选择应用。

开发

npm test -w packages/suite

测试会检查工具命名、各应用的参数别名是否仍与各自的工具对应、各应用的 help 是否接受套件名称,以及跨应用工具是否会为 两个应用的对象模型生成有效脚本;两个应用均使用存根。此处的任何内容都未在 InDesign 或 Illustrator 中实际运行过。

许可证

MIT。参见 LICENSE。

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。