photoshop-mcp
Photoshop MCP 服务器
一个模型上下文协议(MCP)服务器,让AI助手(Claude、opencode、Cursor等)能够通过ExtendScript + COM自动化在Windows上驱动Adobe Photoshop。
专为**Photoshop 2020(v21.x)**构建,但也兼容更新版本。提供约122个工具,涵盖文档、图层、文本、滤镜、颜色调整、选区与蒙版、图层样式、导出、布局分析、设计QA以及Photoshop状态检查。
非官方社区项目。与Adobe无关联,也未获其认可。
工作原理
MCP client (opencode/Claude)
→ Node MCP server (server.js, stdio)
→ bridge.ps1 (PowerShell)
→ Photoshop COM (Application.DoJavaScriptFile)
→ ExtendScript DOMExtendScript,而非UXP — 通过COM进行外部自动化只能使用ExtendScript,它适用于所有Photoshop版本(2012–2025+)。UXP用于进程内插件,无法从外部调用。
Unicode安全 — 非ASCII文本(例如
£、—)在生成的JSX中被转义为\uXXXX,并预先添加UTF-8 BOM,因此价格/重音符号能正确往返。忙碌时重试 — 瞬态COM
RPC_E_SERVERCALL_RETRYLATER(“应用程序正忙”)错误会以退避方式重试。
Related MCP server: ImageMcp
要求
Windows
已安装Adobe Photoshop(在PS 2020 / v21.2上测试)
Node.js 18+
安装
npm install配置为MCP服务器
添加到您的MCP客户端配置中(例如~/.config/opencode/opencode.jsonc、Claude Desktop、Cursor):
{
"mcpServers": {
"photoshop": {
"command": "node",
"args": ["C:\\path\\to\\photoshop-mcp\\server.js"]
}
}
}更改后重启您的MCP客户端,以便加载更新的工具列表。
工具亮点
领域 | 工具 |
文档 |
|
图层 |
|
图层操作 |
|
文本 |
|
滤镜 |
|
颜色 |
|
选区与蒙版 |
|
图层样式 |
|
历史 |
|
布局/QA |
|
设计系统 |
|
状态检查 |
|
数据驱动 |
|
自动化 |
|
在您的MCP客户端中运行tools/list以查看全部约122个工具。
配置参考
| 临时JSX文件(自动创建) |
| 用于视觉回归的命名PNG快照( |
| 用于回滚的PSD备份( |
| 保存的设计系统( |
已知限制
生成式AI(Firefly) 和 Neural Filters 需要PS 24+ / UXP桥接插件,无法通过ExtendScript驱动。
select_subject需要PS 23+。export_asWebP/AVIF需要PS 23.2+。在PS 2020上,如果打开模态对话框,某些命令会提示“Photoshop正忙”——请关闭对话框并重试。
致谢
能力设计灵感来自:
两者均为MIT许可。本项目是独立实现,并增加了额外工具(布局分析、设计QA、设计系统、视觉回归)。
许可证
MIT
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 gradedqualityDmaintenanceAn MCP server for controlling Adobe Photoshop from AI assistants, with Windows-first workflow, structured state, smoke-tested action playback, and a bundled Codex skill for image editing.2MIT
- FlicenseNot gradedqualityCmaintenanceA full-featured image processing MCP server for AI assistants, exposing ~55 tools across 11 categories for editing, layers, conversion, AI segmentation/cleanup/generation, design analysis, and screenshot-to-code.
- AlicenseAqualityCmaintenanceA professional MCP server that lets AI assistants directly control Adobe Photoshop for document creation, layer management, filters, adjustments, shapes, text, and design intelligence like palette generation and font pairing.322MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that lets AI assistants like Claude control Adobe Illustrator through natural language by executing ExtendScript code and providing document state inspection.6MIT
Related MCP Connectors
The Figma MCP server brings Figma design context directly into your AI workflow.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
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/francisanderson/photoshop-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server