home / mcp / photoshop mcp server
Provides programmatic control of Photoshop through MCP for design automation and AI-assisted workflows.
Configuration
View docs{
"mcpServers": {
"alisaitteke-photoshop-mcp": {
"command": "npx",
"args": [
"-y",
"@alisaitteke/photoshop-mcp"
],
"env": {
"LOG_LEVEL": "1",
"PHOTOSHOP_PATH": "C:\\\\Custom\\\\Path\\\\Adobe Photoshop 2025\\\\Photoshop.exe"
}
}
}
}You can control Adobe Photoshop programmatically using a Model Context Protocol (MCP) server. This server exposes a rich set of tools to create, edit, and automate Photoshop workflows from your code or AI assistants, enabling natural-language or scripted interactions to design, compose, and manipulate images across Windows and macOS.
You will connect an MCP client to the Photoshop MCP server to send commands and receive context about the current document and layers. Start by running the server with a simple, supported method, then configure your client to point at the server endpoint. Use tools to create documents, modify layers, apply filters, adjust colors, manage selections, run actions, and automate complex workflows. Each operation returns context information about the active document and layer to help your AI or automation layer stay in sync with Photoshop.
Prerequisites: ensure you have Node.js and npm installed on your system.
Install or run the MCP server using NPX (no local installation required). This is the recommended method.
npx @alisaitteke/photoshop-mcpIf you prefer to run from source, clone the repository, install dependencies, and build the project.
git clone https://github.com/yourusername/photoshop-mcp.git
cd photoshop-mcp
npm install
npm run buildConfigure your MCP client to connect to the server. The project provides example configurations for popular clients. The configuration enables you to specify the command to run the server, arguments, and any environment variables.
{
"mcpServers": {
"photoshop": {
"command": "npx",
"args": ["-y", "@alisaitteke/photoshop-mcp"],
"env": {
"LOG_LEVEL": "1"
}
}
}
}Two environment variables are commonly used with the server. You can set these to tailor logging and Photoshop path behavior.
{
"env": {
"PHOTOSHOP_PATH": "C:\\Custom\\Path\\Adobe Photoshop 2025\\Photoshop.exe",
"LOG_LEVEL": "1"
}
}Test the connection to Photoshop to ensure the MCP server can reach an active Photoshop session.
Retrieve version information for the installed Photoshop application.
Create a new Photoshop document with specified width, height, and optional parameters like resolution and color mode.
Return details about the active document, such as size, color mode, and layer count.
Save the active document to a file path with a chosen format and quality.
Close the active document, with an option to save changes.
Create a new layer, with an optional name.
Delete the currently active layer.
Create a new text layer with content, position, and font size.
Fill the active layer with a solid color defined by RGB values.
List all layers in the active document.
Set the opacity of the active layer.
Change the blend mode of the active layer.
Show or hide the active layer.
Lock or unlock the active layer.
Rename the active layer.
Duplicate the active layer, with an optional new name.
Merge all visible layers into a single layer.
Flatten all layers into a single background layer.
Rasterize the active layer to convert vector or text to a raster layer.
Move the active layer relative to another layer with a specified position.
Move the active layer to the top of the layer stack.
Move the active layer to the bottom of the layer stack.
Move the active layer up one position.
Move the active layer down one position.
Scale the active layer to fit the document canvas, with an option to fill.
Scale the active layer by a given percentage and anchor point.
Move the active layer by a specified delta in X and Y.
Rotate the active layer by a number of degrees.
Apply Gaussian Blur to the active layer with a specified radius.
Apply sharpening to the active layer using amount, radius, and threshold.
Add noise to the active layer with configurable amount and distribution.
Apply motion blur with angle and radius.
Adjust brightness and contrast of the active layer.
Adjust hue, saturation, and lightness of the active layer.
Apply auto levels to the active layer.
Apply auto contrast to the active layer.
Desaturate the active layer to grayscale.
Invert colors on the active layer.
Set font family and size for the active text layer.
Set color for the active text layer.
Set alignment for the active text layer.
Update the text content of the active text layer.
Create a rectangular selection with specified bounds.
Select the entire document.
Clear all selections.
Invert the current selection.
Create a layer mask from the current selection.
Delete the layer mask from the active layer.
Apply the layer mask to the layer.
Undo previous operations with an optional step count.
Redo previously undone operations with an optional step count.
Retrieve the history states of the active document.
Play a recorded action from an Actions set.
Execute extended script code in Photoshop.
Resize the active image with new width and height.
Crop the document to specified bounds.
Place an external image file as a layer in the active document.
Open an image file as a new document.