
Photoshop MCP Server
io.github.zachshallbetter由 GitHub 账号 zachshallbetter 发布v0.1.0更新于 Oct 28, 2026
Drive Adobe Photoshop from any MCP client: layers, selections, adjustments, type and export.
概览
在本机驱动 Adobe Photoshop 的本地 MCP 服务器,让助手管理文档、图层、选区、调整、文字、导出与自动化。
- 可以做什么
- 列出、新建、打开、保存、复制和关闭文档;管理最近文件、元数据、注释与置入文件
- 调整图像与画布尺寸、裁剪、修边、旋转、拼合,并更改颜色模式与配置文件
- 创建、排列、编组、变换、合并和删除图层;管理选区、填充、描边与剪贴板
- 应用调整与滤镜、调整图层和填充图层;绘画、修饰并设置画笔与工具选项
- 创建和排版文字图层、列出字体,并处理视频时间轴与帧动画
- 导出图像、图层与画板,打印,运行动作与批处理,查看和撤销历史记录
- 适用场景
- 适合在装有 Photoshop 的桌面上让助手完成重复或脚本化的修图工作:批量编辑、图层与导出杂务、调整与滤镜处理,或自动化动作和画板。
- 运行要求
- 通过 npx 以 stdio 在本机运行;需要 macOS 或 Windows 上的 Adobe Photoshop 2023 或更高版本,以及 Node.js 18 或更高版本。macOS 首次调用需授予自动化权限。可选变量:PHOTOSHOP_ALLOWED_DIRS、PHOTOSHOP_APP_NAME、PHOTOSHOP_SCRIPT_TIMEOUT_MS。
安装
在 SourceWeft 中
- 打开 控制台中的 Photoshop MCP Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Photoshop MCP Server
An MCP server that drives Adobe Photoshop: documents, image and canvas size, layers and groups, selections, adjustments and filters, type, export and history. It runs on the machine where Photoshop is installed and talks to it through ExtendScript, the scripting interface Photoshop ships with.
Requires Photoshop 2023 or later on macOS or Windows, and Node.js 18 or later.
Install
Claude Code:
Any client that reads an mcpServers block (Claude Desktop, Cursor, Warp, …):
On macOS the first call asks for permission to control Photoshop (System Settings > Privacy & Security > Automation).
Conventions
- Positions and sizes are pixels, measured from the document's top-left corner with y increasing downward, whatever ruler units you use.
- Layers are chosen with
target:{ ids: [...] },{ names: [...] }or{ active: true }. Ids are Photoshop's own layer ids; they come fromlist_layersand from every tool that creates a layer. - Colours are
"#RRGGBB","rgb(r,g,b)","cmyk(c,m,y,k)","gray(g)","hsb(h,s,b)"or"lab(L,a,b)". - Adjustments, filters, fills and strokes change pixel layers, inside the selection when there is one.
- Timeline times are
{ seconds, frames }at the timeline's frame rate. - Fonts are PostScript names;
list_fontsfinds them. - Files must be inside your home folder or a directory in
PHOTOSHOP_ALLOWED_DIRS.
Tools
help({ tool }) describes any tool's parameters.
How it stays out of your way
- No dialogs. Every script runs with
displayDialogsoff, so a command uses its settings instead of waiting for a click, and restores your setting afterwards, even when the script fails. - Your units come back. Scripts work in pixels and restore your ruler and type units afterwards.
- Exports don't touch the document.
export_imageandexport_layerswork on a temporary copy and close it. - Timeouts say why. If Photoshop does not answer within
PHOTOSHOP_SCRIPT_TIMEOUT_MS(default 120 s), the error says a dialog is probably open in Photoshop. - No raw input in scripts. Every value a caller passes is validated and written into the script as a literal.
Configuration
Development
The audit runs every tool with sample arguments against a stubbed executor and checks each generated script against Photoshop's scripting object model (types-for-adobe, Photoshop 2015.5). Nothing is validated against Photoshop itself yet.
来源:packages/photoshop/README.md,提交 44b5b50
工具
0版本历史
1- v0.1.0最新Oct 20, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分