Cover image
Photoshop-Python-Api-MCP-Server
Public

Photoshop-Python-Api-MCP-Server

Try Now
2025-04-12

与Adobe Photoshop的Python API接口的模型上下文协议(MCP)服务器。允许LLMS执行图像编辑操作,自动化工作流以及通过结构化命令和上下文感知的交互管理Photoshop任务。

3 years

Works with Finder

1

Github Watches

3

Github Forks

20

Github Stars

Photoshop MCP Server

PyPI Version PyPI Downloads Build Status License Python Version Platform GitHub stars GitHub issues GitHub last commit

A Model Context Protocol (MCP) server for Photoshop integration using photoshop-python-api.

English | 简体中文

Overview

This project provides a bridge between the Model Context Protocol (MCP) and Adobe Photoshop, allowing AI assistants and other MCP clients to control Photoshop programmatically.

Requirements

  • Windows OS only: This server uses COM interface which is only available on Windows
  • Adobe Photoshop: Must be installed locally (tested with versions CC2017 through 2024)
  • Python: Version 3.10 or higher

Installation

# Install using pip
pip install photoshop-mcp-server

# Or using uv
uv install photoshop-mcp-server

MCP Host Configuration

This server is designed to work with various MCP hosts. The PS_VERSION environment variable is used to specify which Photoshop version to connect to (e.g., "2024", "2023", "2022", etc.).

The recommended way to configure the server is using uvx as the command, which is the official standard format.

Standard Configuration (Recommended)

Add the following to your MCP host configuration (works with Claude Desktop, Windsurf, Cline, and other MCP hosts):

{
  "mcpServers": {
    "photoshop": {
      "command": "uvx",
      "args": ["photoshop-mcp-server"],
      "env": {
        "PS_VERSION": "2024"
      }
    }
  }
}

Configuration Options

  • PS_VERSION: Specify the Photoshop version to connect to (e.g., "2024", "2023", "2022", etc.)
  • command: Use uvx for the standard approach
  • args: Use ["photoshop-mcp-server"] to run the Photoshop MCP server

Key Features

Available Resources

  • photoshop://info - Get Photoshop application information
  • photoshop://document/info - Get active document information
  • photoshop://document/layers - Get layers in the active document

Available Tools

The server provides various tools for controlling Photoshop:

  • Document Tools: Create, open, and save documents
  • Layer Tools: Create text layers, solid color layers, etc.
  • Session Tools: Get information about Photoshop session, active document, selection

Basic Usage Example

Once configured in your MCP host, you can use the Photoshop MCP server in your AI assistant conversations.

Photoshop MCP Server Demo

Example conversation:

User: Can you create a new Photoshop document and add a text layer with "Hello World"?

AI Assistant: I'll create a new document and add the text layer for you.

[The AI uses the Photoshop MCP server to:
1. Create a new document using the `create_document` tool
2. Add a text layer using the `create_text_layer` tool with the text "Hello World"]

I've created a new Photoshop document and added a text layer with "Hello World".

License

MIT

Acknowledgements

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • XLwebDev.com
  • PR Professional: Guiding You to Get Media Placements and Publicity Quickly and Effectively

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    5 (1)
    Avatar
    user_jtvjrJEp
    2025-04-16

    I've been using the MCP Auto Register by JoshuaSiraj and it's phenomenal! It streamlines the registration process effortlessly. The intuitive design and seamless integration have saved me so much time. Highly recommend it for anyone looking to automate their registration tasks! Check it out here: https://mcp.so/server/mcp_auto_register/JoshuaSiraj