Photoshop MCP Server
A Model Context Protocol (MCP) server that interfaces with Adobe Photoshop's Python API. Enables LLMs to execute image editing operations, automate workflows, and manage Photoshop tasks through structured commands and context-aware interactions.
Overview
The Photoshop Python API MCP Server is a Model Context Protocol (MCP) server that allows users to interface with Adobe Photoshop's Python API, enabling large language models (LLMs) to perform image editing operations and automate workflows.
To use the server, set it up in your development environment, connect it to Adobe Photoshop, and send structured commands to execute various image editing tasks.
- Interfaces with Adobe Photoshop's Python API for seamless integration. - Enables automation of image editing workflows. - Supports context-aware interactions for more intuitive command execution.
- Automating repetitive image editing tasks in Photoshop.
- Integrating AI-driven image editing capabilities into applications.
- Streamlining workflows for graphic designers and artists.
Add to your AI client
Use these steps to connect Photoshop MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"photoshop-python-api-mcp-server-loonghao": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-photoshop-python-api-mcp-server-loonghao"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"photoshop-python-api-mcp-server-loonghao": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-photoshop-python-api-mcp-server-loonghao"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"photoshop-python-api-mcp-server-loonghao": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-photoshop-python-api-mcp-server-loonghao"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"photoshop-python-api-mcp-server-loonghao": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-photoshop-python-api-mcp-server-loonghao"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"photoshop-python-api-mcp-server-loonghao": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-photoshop-python-api-mcp-server-loonghao"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"photoshop-python-api-mcp-server-loonghao": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-photoshop-python-api-mcp-server-loonghao"
]
}
}
}FAQ
Can I use this server with any version of Photoshop?
The server is designed to work with compatible versions of Adobe Photoshop that support the Python API.
Is there any documentation available?
Yes! Detailed documentation is provided in the repository to help you get started.
What programming languages can I use with this server?
The server primarily uses Python, but you can integrate it with other languages through API calls.