
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 分