photoshop-mcp
Photoshop MCP サーバー
AIアシスタント(Claude、opencode、Cursor など)が ExtendScript + COM オートメーションを通じて Windows 上の Adobe Photoshop を操作できるようにする Model Context Protocol (MCP) サーバーです。
Photoshop 2020(v21.x) 向けに構築されていますが、新しいバージョンでも動作します。ドキュメント、レイヤー、テキスト、フィルター、色調補正、選択範囲とマスク、レイヤースタイル、書き出し、レイアウト解析、デザインQA、Photoshop の状態調査など、約122のツールを備えています。
非公式のコミュニティプロジェクトです。Adobe とは提携しておらず、Adobe による推奨も受けていません。
仕組み
MCP client (opencode/Claude)
→ Node MCP server (server.js, stdio)
→ bridge.ps1 (PowerShell)
→ Photoshop COM (Application.DoJavaScriptFile)
→ ExtendScript DOMUXP ではなく ExtendScript — COM による外部オートメーションは ExtendScript のみ使用できます。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 installMCP サーバーとして構成
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) と ニューラルフィルター は PS 24 以降 / UXP ブリッジプラグインが必要なため、ExtendScript からは操作できません。
select_subjectは PS 23 以降が必要です。export_asの WebP/AVIF は PS 23.2 以降が必要です。PS 2020 では、モーダルダイアログが開いていると「Photoshop がビジーです」と表示される場合があります。その場合はダイアログを閉じて再試行してください。
クレジット
機能設計は以下に触発されています:
どちらも MIT ライセンスです。このプロジェクトは、追加ツール(レイアウト解析、デザインQA、デザインシステム、ビジュアルリグレッション)を備えた独立した実装です。
ライセンス
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for AI photo editing: nothing to install, no desktop photo editor needed.
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Remote desktop MCP: let AI see, click, type and run terminal commands on your own Windows or Mac.
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.5MIT
- FlicenseNot gradedqualityDmaintenanceA 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.-
- AlicenseAqualityDmaintenanceA 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
- FlicenseNot gradedqualityDmaintenanceAn MCP server that lets AI assistants control Adobe Illustrator locally—running ExtendScript, capturing canvas screenshots, exporting artwork, and optionally remembering techniques—all without network activity.-