Photoshop MCP Server

An MCP server for Windows that drives an installed Photoshop: documents, layers and arbitrary JSX scripts

  • 345 ★ on the repository
  • Last commit
  • MIT
MCP server

Broad access

Why this level

  • The photoshop_execute_jsx tool runs any code inside your Photoshop
  • An agent creates and saves documents, so it can overwrite working files
All reasons and checks

loonghao/photoshop-python-api-mcp-server

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add mcp/photoshop-mcp-server

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • The photoshop_execute_jsx tool runs any code inside your Photoshop
  • An agent creates and saves documents, so it can overwrite working files

This is third-party code. Review the repository files before installing.

What it does

Photoshop MCP Server connects an MCP client to Adobe Photoshop installed on your computer through the photoshop-python-api library. An agent creates, opens and saves documents, adds text and solid-color layers, and reads details of the session, the active document and the selection. For other tasks there is the photoshop_execute_jsx tool. It runs any Photoshop JavaScript and returns the result with a success flag or the error text. That reaches channels, paths, history states and filters. The ExtendScript engine has no JSON object, so the server injects its own polyfill. The server exposes three resources: photoshop://info, photoshop://document/info and photoshop://document/layers.

Who it is for. For designers and developers on Windows who want an agent to handle Photoshop routine: building layouts, layers and batch operations.

Good fit when

  • You need to create a document and place several text layers on it from a description
  • An agent has to list the layers of the active document and their names
  • A batch operation in Photoshop that has no ready tool is needed, via JSX
  • You want the size and resolution of an open document without checking by hand

Not a fit when

  • You are on macOS or Linux: the server uses Windows COM interfaces and will not run there
  • Photoshop is not installed locally: the server drives only an installed copy
  • An agent must not be allowed to run arbitrary code in your Photoshop
  • You need image generation by a model: the server only edits Photoshop documents

Example request

Create a 1080 by 1080 document in Photoshop and add a text layer with the heading Sale 20%

MCP

Transport
stdio
Authentication
not required

Environment variables

PS_VERSION
Photoshop version to connect to, for example 2024

Limitations

The server works on Windows only: it talks to Photoshop through COM interfaces. It needs an installed Adobe Photoshop and Python 3.10 or newer. The author tested Photoshop versions from CC2017 to 2024. The ExtendScript engine is based on ECMAScript 3, so arrow functions, let and const are unavailable in scripts. If Photoshop does not report document dimensions, width and height arrive as zeros marked dimensions_unavailable.

How to disable. Remove the photoshop entry from mcpServers in the client configuration and restart the client. Uninstall the package with pip uninstall photoshop-mcp-server.

FAQ

How do I install Photoshop MCP Server in Claude Desktop?

Install the package with pip install photoshop-mcp-server or use uvx. Add a photoshop entry to mcpServers with the command uvx, arguments --python 3.10 and photoshop-mcp-server, and the PS_VERSION variable.

Why does a JSX script with an arrow function fail?

The ExtendScript engine in Photoshop understands only ECMAScript 3 syntax. Write functions with function and declare variables with var.

What does photoshop_execute_jsx do?

It runs any Photoshop JavaScript you pass. On success it returns the result, and on an error inside Photoshop or an unreachable Photoshop it returns a failure flag with the error text.

Which Photoshop versions are supported?

You set the version in the PS_VERSION variable, for example 2024 or 2023. The author tested versions from CC2017 to 2024.

Which resources does the server expose?

Three: photoshop://info with application details, photoshop://document/info for the active document and photoshop://document/layers for its layers.

Discussion

No questions or reviews yet.

An MCP server for Adobe Photoshop: background removal, retouch, social export and batch jobs by chat

MCP serverExtended access766Repository stars

An MCP server for Adobe After Effects: build compositions, layers, keyframes and expressions through an agent

MCP serverExtended access815Repository stars

A local MCP server for editing and analyzing images: the agent crops frames, finds objects and reads text from photos

MCP serverExtended access334Repository stars

An MCP server giving an agent 123 Aseprite tools for pixel art and animation, plus previews to check its own drawing

MCP serverBroad access845Repository stars

MCP server that drives local Adobe Premiere Pro projects from Claude, Codex and other MCP clients

MCP serverExtended access780Repository stars

README in short

The package is on PyPI and installs with pip or uv. The same configuration works for Claude Desktop, Windsurf and Cline, and the JSX tool comes with example scripts.

README badge

Report a problem

Foxx AIPhotoshop MCP Server
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.