loonghao/photoshop-python-api-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.
What it solves
This project enables AI assistants to interact directly with Adobe Photoshop on Windows. It bridges the gap between AI models and professional image editing software, allowing users to automate tasks like document creation, layer manipulation, and complex image adjustments through natural language prompts.
How it works
It functions as a Model Context Protocol (MCP) server. By connecting to Photoshop via Windows COM interfaces, it exposes a set of tools and resources that an AI assistant can call. It includes specific tools for common tasks (like adding text layers or opening files) and a powerful "escape hatch" that allows the AI to execute custom JavaScript (ExtendScript) directly within Photoshop for advanced automation.
Who it’s for
This is for developers and power users who want to integrate AI agents into their creative workflows. It is specifically designed for Windows users who have Adobe Photoshop installed and want to use AI to handle repetitive or complex editing tasks.
Highlights
- Native Integration: Uses Windows COM interfaces to communicate directly with local Photoshop instances.
- Broad Capability: Supports document creation, layer management, and session information retrieval.
- Extensible Automation: Includes a
photoshop_execute_jsxtool that allows running arbitrary JavaScript to perform any action the Photoshop API supports. - Standardized Protocol: Implements the Model Context Protocol (MCP), making it compatible with various AI hosts like Claude Desktop, Windsurf, and Cline.
Related
- Project
- Project
- Project
- Project
- Project