adobe-com-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@adobe-com-mcpCreate a 1920x1080 Photoshop document with a centered blue circle"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Adobe COM MCP Server
用自然语言在 TRAE 里操控 Photoshop 和 Illustrator。
无需 UXP 插件,支持 PS 2020+ 和 AI CS6+。
平台 | 文件 | 自动化方式 |
Windows |
| COM 自动化(pywin32) |
macOS |
| AppleScript + ExtendScript |
功能总览
共 64 个工具,覆盖日常设计 + 批量体力活自动化:
Photoshop — 基础工具(19 个)
工具 | 说明 |
| 新建指定像素尺寸的文档 |
| 获取当前文档信息(尺寸/图层/模式等) |
| 列出所有打开的文档 |
| 关闭当前文档(不保存) |
| 新建空白图层 |
| 复制当前活动图层 |
| 删除当前活动图层 |
| 设置图层不透明度(0-100) |
| 添加文字图层(可指定字号/颜色/位置) |
| 用指定颜色填充当前图层 |
| 设置前景色 |
| 高斯模糊滤镜 |
| USM 锐化滤镜 |
| 调整文档像素尺寸(等比或指定) |
| 导出 PNG |
| 导出 JPG |
| 保存 PSD |
| 打开本地图片/PSD 文件 |
| 执行已安装的 Photoshop 动作(Action) |
Photoshop — 文字图层操作(4 个)
工具 | 说明 |
| 列出文档中所有文字图层 |
| 一键全选所有文字图层 |
| 批量替换所有文字图层中的指定文字 |
| 批量设置所有文字图层颜色 |
| 批量设置所有文字图层字号 |
Photoshop — 图层管理(3 个)
工具 | 说明 |
| 列出文档中所有图层(名称/类型/可见性) |
| 按名称选中图层 |
| 切换图层可见性 |
| 批量重命名图层(前缀+序号) |
Photoshop — 批量处理体力活(10 个)★重点
工具 | 说明 | 手动耗时 |
| 一键导出所有图层为单独 PNG | 30层=30轮隐藏/显示/导出 |
| 图层自动拼成精灵表(Sprite Sheet) | 手动拼图几十分钟 |
| 多图层均匀分布间距 | 手动计算偏移+逐个移动 |
| 自动裁剪透明/白色边缘 | 手动拖裁剪框 |
| 批量给所有图层应用动作 | 逐个选层+执行动作 |
| 批量替换智能对象内容(mockup) | 逐个打开/替换/保存/关闭 |
| 统一所有图层色调(匹配颜色) | 逐个图层Match Color |
| 自动将内容居中到画布 | 测边界+算偏移+移动 |
| 批量给图层加圆角(电商图) | 逐个画蒙版/裁切 |
| 多图层拼成横向/纵向长条 | 计算尺寸+逐一排列 |
| 一键导出所有图层组合 | 逐个切换+导出 |
| 文件夹批量缩放图片 | 逐张打开/缩放/保存 |
| 文件夹批量加水印 | 逐张加文字+调位置 |
| 一键生成多平台尺寸图 | 每平台单独缩放导出 |
| 生成联系表(缩略图网格) | 手动排版极费时 |
| 自动生成渐变背景 | 调渐变编辑器 |
| CSV批量生成文字版本 | 每条数据手动改字 |
| 自动网格排版多图层卡片 | 手动排版定位 |
| 图层→GIF动画 | 手动逐帧设置 |
| 提取图片主色调色盘 | 手动吸取+记录 |
Illustrator(11 + 4 个)
工具 | 说明 |
| 新建指定尺寸的文档(点) |
| 获取当前文档信息 |
| 列出所有打开的文档 |
| 关闭当前文档 |
| 画矩形(可指定填充色) |
| 画椭圆(可指定填充色) |
| 画正多边形(可指定填充色) |
| 添加文字(可指定字号/颜色/位置) |
| 保存为 .ai |
| 导出 SVG 矢量图 |
| 导出 PNG(透明背景) |
| 批量查找替换所有文字框内容 |
| 一键导出所有画板为单独文件 |
| 自动网格排列所有对象 |
| 多对象对齐(左/右/顶/底/居中) |
Related MCP server: Photoshop MCP Server
安装步骤
1. 环境要求
组件 | 支持版本 | 已验证版本 |
操作系统 | Windows(需支持 COM 自动化) | Windows 11 |
Photoshop | 2020 及以上(CS6+ 理论上可用) | PS 2020 (v21.0.1) |
Illustrator | CS6 及以上 | AI 2023 (v27.0.0) |
Python | 3.10 及以上 | — |
Python 包 |
| — |
⚠️ 版本说明:Photoshop 通过
DoJavaScript执行 ExtendScript 实现自动化,这是跨版本最稳定的方式,PS 2020+ 全部适用;Illustrator 通过 COM 对象直接调用 API,AI CS6+ 均可。若你的版本较新(如 PS 2024/2025、AI 2024),接口向下兼容,正常可用。
2. 安装依赖
pip install pywin32 "mcp<2"3. 在 TRAE 中添加 MCP 服务器
打开 TRAE
左下角点击 设置 → MCP
点击 添加 MCP 服务器
选择 命令行(stdio) 类型
填写配置:
名称:
adobe-com-mcp命令:
python参数:
C:\Users\你的用户名\Documents\adobe-com-mcp\server.py工作目录:
C:\Users\你的用户名\Documents\adobe-com-mcp
(把路径替换成你实际的 server.py 位置)
保存并启用
4. 验证
打开 Photoshop,然后在 TRAE 聊天框说:
新建一个 800x800 的 Photoshop 文档
如果 PS 自动创建了文档 → 配置成功!
使用示例
Photoshop 示例
新建画布并加文字:
"帮我建一个 1920x1080 的 PS 文档,加个标题文字叫'你好世界',字号 72,放在左上角"
做一张海报底图:
"新建 1080x1920 的竖版画布,背景色用 #FF6B35,加一个文字图层写'SUMMER SALE',白色 96 号字"
修图操作:
"给当前图层加 3 像素高斯模糊,然后把不透明度调到 70%"
导出成品:
"把这张图导出成 PNG,存到桌面"
Illustrator 示例
画个 Logo 雏形:
"在 AI 里新建 800x600 的画布,画一个蓝色正六边形,中间加文字'LOGO'"
导出矢量图:
"把当前 AI 文档导出成 SVG"
批量体力活示例 ★重点
导出所有图层为单独 PNG(30层只需1句话):
"把当前文档所有图层导出成单独的 PNG,存到桌面 layers_export 文件夹"
生成精灵表(游戏开发):
"把所有图层拼成一张精灵表,自动排列网格"
批量替换智能对象(Mockup 批量生成):
"把 D:\mockup_images 文件夹里的图片依次替换到文档中的智能对象图层"
统一色调:
"以当前活动图层为参考,统一所有图层的色调"
批量加圆角(电商商品图):
"给当前文档所有可见图层加 20px 圆角"
AI 批量查找替换:
"把 AI 文档里所有文字框中的'2024'替换成'2025'"
AI 一键导出所有画板:
"把 AI 文档所有画板导出成 PNG,存到桌面"
图层均匀分布:
"把我选中的这些图层水平均匀分布间距"
拼长图:
"把当前文档图层排成纵向长条,间距 10px"
Mac 版使用(macOS)
macOS 上无法使用 Windows 的 COM 接口,因此提供了独立的 server_mac.py,通过
系统自带的 AppleScript(osascript)+ Photoshop / Illustrator 的 do javascript
(ExtendScript)实现同样的自动化,工具名与 Windows 版完全一致(ps_* / ai_*)。
环境要求
组件 | 支持版本 |
操作系统 | macOS(需支持 AppleScript) |
Photoshop | 任意支持 AppleScript 的版本(CS3+) |
Illustrator | 任意支持 AppleScript 的版本(CS3+) |
Python | 3.10+, |
⚠️ macOS 无需安装任何 COM / pywin32 相关依赖,系统自带
osascript。
配置(TRAE 中添加 MCP 服务器)
名称:
adobe-mac-mcp命令:
python参数:
/你的路径/adobe-com-mcp/server_mac.py工作目录:
/你的路径/adobe-com-mcp
已实现的工具(Mac 版)
Photoshop:ps_create_document / ps_get_active_info / ps_list_documents /
ps_close_document / ps_add_layer / ps_add_text_layer / ps_fill_layer /
ps_set_layer_opacity / ps_set_foreground_color / ps_resize_document /
ps_save_as_png / ps_save_as_jpg / ps_list_all_layers / ps_export_all_layers_to_png
Illustrator:ai_create_document / ai_get_active_info / ai_list_documents /
ai_close_document / ai_add_rectangle / ai_add_ellipse / ai_add_polygon /
ai_add_text / ai_export_svg / ai_export_png / ai_batch_replace_text
⚠️ Mac 版为独立后端,需在 macOS 实机调试(不同 PS/AI 版本的 AppleScript 接口略有差异)。 首次运行会要求「自动化」权限:系统设置 → 隐私与安全性 → 自动化,允许 python 控制 Photoshop / Illustrator。
工作原理
MCP 服务器(Python 进程)通过 COM 接口连接 Photoshop / Illustrator
Photoshop 操作通过
DoJavaScript执行 ExtendScript(最稳定的 PS 自动化方式)Illustrator 操作通过 COM 对象直接调用 API
遇到 "应用程序忙" 时自动重试(最多 40 次,间隔 250ms)
每个线程独立持有 COM 对象,避免跨线程 marshalling 问题
常见问题
Q: PS 一直报"应用程序正在使用中"怎么办? A: 检查 PS 是否有模态对话框(欢迎屏幕、字体缺失提示等),关掉即可。也可以重启 PS 后再试。
Q: 可以同时操控 PS 和 AI 吗?
A: 可以,一个 MCP 服务器同时支持两个软件,工具名分别以 ps_ 和 ai_ 开头。
Q: 支持哪些 PS 版本? A: 测试通过 PS 2020 (v21.0.1)。理论上 CS6 及以上都可用。
Q: 支持哪些 AI 版本? A: 测试通过 AI 2023 (v27.0.0)。理论上 CS6 及以上都可用。
Q: 需要打开 PS/AI 才能用吗? A: 如果软件没开,MCP 会自动启动它。但建议提前打开,响应更快。
This server cannot be installed
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.299MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to control Adobe Photoshop programmatically, supporting recipe workflows, state awareness, and generative AI features through natural language commands.4,778367MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to control Adobe Photoshop programmatically through natural language, with state awareness, recipe tools, and a standalone UI.4,778MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that lets AI assistants drive Adobe Photoshop on Windows through ExtendScript and COM automation, offering ~122 tools for documents, layers, text, filters, color, selections, masks, layout QA, and design systems.MIT
Related MCP Connectors
Build and run visual creative-production workflows from your AI agent.
Generate logos, social posts, app screenshots, comic panels & visual-novel assets from prompts.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
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/freakyglorian-create/adobe-com-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server