Skip to main content
Glama

dcc-mcp-photoshop

Photoshop MCP server maintained in grandakun-dcc/dcc-mcp-photoshop. This replaces the former Python/adobepy adapter with the implementation from Photoshop-MCP-IMT.

Requirements

  • Windows or macOS with Photoshop 2024 or newer running locally.

  • Node.js 22 or newer for development and tests. The server itself supports Node.js 18+.

  • An optional UXP panel for operations that need UXP and for reads while Photoshop is modal.

Related MCP server: Photoshop MCP Server

Install from source

git clone https://github.com/grandakun-dcc/dcc-mcp-photoshop.git
cd dcc-mcp-photoshop
npm ci
npm run build

Connect a stdio MCP client to the compiled server:

{
  "mcpServers": {
    "photoshop": {
      "command": "node",
      "args": ["/absolute/path/to/dcc-mcp-photoshop/dist/index.js"],
      "env": { "PS_MCP_FACADE": "1", "PS_MCP_UXP": "1" }
    }
  }
}

Use absolute executable and script paths for desktop clients. The photoshop client entry remains the integration name. The package, command and MCP server name are dcc-mcp-photoshop. Installing this source does not publish an npm package; use the local compiled entry rather than npx dcc-mcp-photoshop until a package has been published.

Shared DCC gateway

Use this route to distribute Photoshop through a shared multi-DCC gateway. The Photoshop backend stays unchanged. The local adapter provides gateway REST discovery, full tool schemas, serialized calls and a FileRegistry heartbeat. Plain translate --stdio lacks /v1/search on the tested DCC runtime.

Requirements: the built Node server, Python 3.8+ (standard library only), and dcc-mcp-server with the standalone gateway command. 0.20.53 is the tested baseline. Reuse a compatible installed runtime. If missing:

uv venv --python 3.11 "$env:USERPROFILE\.dcc-mcp\venv"
uv pip install --python "$env:USERPROFILE\.dcc-mcp\venv\Scripts\python.exe" "dcc-mcp-server==0.20.53"

Do not create a new venv over an existing runtime. Start Photoshop, then keep the adapter running:

npm run gateway

It reuses a healthy gateway on 127.0.0.1:9765, or starts a loopback-only one. Clients connect once to that shared endpoint:

{
  "mcpServers": {
    "dcc": { "url": "http://127.0.0.1:9765/mcp" }
  }
}

For Codex: codex mcp add dcc --url http://127.0.0.1:9765/mcp. Reuse an existing entry for that URL. Disable the standalone Photoshop entry when switching routes; preserve other MCP entries and avoid running two PS backends for the same work.

Pass --dcc-server <path> and --python <path> for custom runtimes, or set DCC_MCP_SERVER and DCC_MCP_PYTHON. Other options: --gateway-port, --port (backend; default OS-assigned) and --registry-dir. Registry selection is the explicit option, then DCC_MCP_REGISTRY_DIR, then ~/.dcc-mcp/registry-live; it must match the gateway registry. On macOS use the corresponding venv bin paths. The Windows gateway path is live-tested; macOS still requires acceptance.

Agent flow: search for ps_do / ps_get_state, describe the returned slug, then call that exact slug. Read workflow guidance through ps_skill. Old photoshop_document__* names and Python/adobepy APIs are not restored. Only calls through this adapter are serialized; manual PS edits and other backends remain independent. Failed edits are never auto-retried.

Read-only acceptance through the shared gateway:

npm run test:gateway
node tools/gateway-selftest.mjs http://127.0.0.1:19765/mcp

The second command is for a custom port. Acceptance requires discovery, schema retrieval, a real PS ping/version/state and skill delivery. An open document also enables preview-byte validation; otherwise preview is explicitly skipped. Backend health alone does not prove Photoshop readiness. Forward native MCP image blocks to vision; the JSON mirror may deliberately omit base64 data.

Ctrl+C removes this adapter's registry entry and closes its PS backend, preserving other DCCs and the shared gateway. A gateway started here exits after its idle grace when no backends remain. LAN access is not configured by this route. See the acceptance record for tested scope.

Tools and workflow

The compact facade exposes ps_catalog, ps_do, ps_batch, ps_get_state, ps_get_layers, ps_save_document, ps_export_frame, ps_execute_script, ps_recipe and ps_skill; ps_uxp appears when the UXP bridge is enabled. Set PS_MCP_FACADE=0 to expose the individual Photoshop tools instead.

The server supports documents, layers, text, selections, masks, adjustments, filters, Smart Objects, artboards, exports and multi-step recipes. Adobe AI features depend on the installed Photoshop version, account entitlements and credits. See the tool reference and call ps_skill for task-specific guidance.

Run ps_do with operation: "ping", then ps_get_state before editing. Inspect values and a preview after changes. A responding server or open port alone does not prove Photoshop connectivity.

Optional UXP bridge

npm run build creates dist/uxp/dcc-mcp-photoshop-bridge.ccx. Install it through Creative Cloud, or load uxp-plugin/manifest.json using Adobe UXP Developer Tools. Open Plugins > dcc-mcp-photoshop Bridge in Photoshop.

Set PS_MCP_UXP=1 in the client environment. The plugin polls the authenticated loopback bridge at 127.0.0.1:38452; both sides use ~/.dcc-mcp-photoshop/uxp-bridge.token. Never commit or print that token. The COM/AppleScript transport works without installing the optional panel.

Migration from the Python adapter

  • The Git repository, package and command retain the dcc-mcp-photoshop name.

  • The Photoshop execution backend no longer uses Python or adobepy; the optional shared-gateway route uses a standard-library Python registry helper.

  • Choose either standalone stdio or the shared-gateway adapter for a workflow.

  • Existing Python imports, CLI lifecycle commands and photoshop-* lazy-loaded skill APIs are not compatible. Use the new facade or individual tools.

  • Other DCC adapters and their gateway configuration are independent of this replacement.

Development and verification

npm run check
node tools/selftest.mjs
npm run build:mcpb

check runs lint, type checking, unit tests and the server/UXP builds. The self-test performs a read-only MCP handshake against a running Photoshop; it reports UXP separately. The full upstream live test sweep edits a scratch document and must not be used as a connection probe with production documents open.

Provenance and license

Imported from Photoshop-MCP-IMT v1.1.4, commit fb6f5ba40e0f0acb6419fd922918f7b550ace2e8. The prior Python implementation is maintained separately at grandakun/dcc-mcp-photoshop-legacy. This repository starts with a fresh history. See migration provenance.

This distribution is based on Photoshop-MCP-IMT by Immersive Media Technologies, which includes code from alisaitteke/photoshop-mcp. The original Apache-2.0 LICENSE, NOTICE and MIT third-party notices are preserved. This project is not affiliated with Adobe.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Lets AI agents drive a running Adobe Photoshop: 135 tools behind a 10-tool facade, a UXP bridge that keeps working while Photoshop shows a dialog. Works with every UI language Adobe ships and checks its work by sight. A large skills library, built for Adobe's generative features: Generative Fill, Expand, Upscale, Firefly and partner models.
      135
      683 npm
      19
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables an MCP client to drive a live Adobe Photoshop session over a local UXP bridge, creating and editing documents, layers, text, selections, colours, filters and adjustments, then previewing or exporting the result. It also supports batching Photoshop action descriptors and reading Adobe's UXP reference docs.
      MIT