PsMCP - MCP Server for Photoshop

MIT License
2

Integrations

  • Uses .env configuration for storing API keys and directory settings needed to connect the MCP server with Photoshop.

  • Offers a Gradio client interface for testing the Photoshop automation tools, though with limited tool call functionality compared to other clients.

  • Leverages Python for the implementation of the MCP server that connects to Photoshop, enabling programmatic control of PSD editing and creative workflows.

PsMCP-MCP-Photoshop 服务器

观看下面的演示

用法

安装要求

激活您的 Python 环境并安装依赖项:

pip install -r requirements.txt

使用提供的 Gradio 客户端运行


注意:我提供的 Gemini Gradio 客户端由于某种原因,每个请求最多只调用一个工具,请仅使用此工具进行测试。实际使用时请使用 Claude 或 Cursor。


在 .env 中设置 Gemini Key

GEMINI_API_KEY = PASTE_YOUR_KEY_HERE

设置 PSD、资产和导出的目录

PSD_DIRECTORY = "D:\\Photoshop Files" EXPORT_DIRECTORY = "D:\\PsMCP-Exports" ASSETS_DIR = "D:\\PsMCP-Assets"

运行应用程序并连接到服务器

python app.py

使用任何 MCP 客户端(Claude、Cursor 等)配置服务器

按如下方式将服务器添加到配置文件以访问工具

{ "mcpServers": { "PhotoshopAdv": { "command": "uv", "args": [ "--directory", "Path/To/Directory", "run", "psMCP.py" ], "timeout": 60000 } } }

用例

  • 自动执行重复的 Photoshop 任务(例如,插入文本、调整大小、导出)。
  • 构建自定义设计管道以进行批量 PSD 编辑。
  • 从模板快速生成营销创意。
  • 通过 Python 脚本切换图层或动态应用效果。
  • 简化创意资产版本控制和导出流程。
-
security - not tested
A
license - permissive license
-
quality - not tested

该服务器允许 Claude 和 Cursor 等 AI 工具通过自然语言命令自动化和控制 Photoshop,从而实现编辑 PSD、切换图层和生成营销创意等任务。

  1. 用法
    1. 用例

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        A server that enables natural language interaction with AutoCAD through large language models like Claude, allowing users to create and modify drawings using conversational commands.
        Last updated -
        19
        Python
        • Apple
      • -
        security
        A
        license
        -
        quality
        A server that enables AI assistants to understand and interact with Unity projects in real-time, providing access to scene hierarchy, project settings, and the ability to execute code directly in the Unity Editor.
        Last updated -
        40
        MIT License
        • Linux
        • Apple
      • A
        security
        A
        license
        A
        quality
        A server that enables AI assistants to create and edit PowerPoint presentations with features for adding various slide types, tables, charts, and AI-generated images through Stable Diffusion.
        Last updated -
        11
        1
        Python
        MIT License
        • Apple
        • Linux
      • -
        security
        F
        license
        -
        quality
        A lightweight server that enables AI assistants like Cursor & Claude to read from and write to Obsidian vaults, allowing actions like creating notes, checking existing content, and managing todos through natural language.
        Last updated -
        192
        8
        TypeScript

      View all related MCP servers

      ID: lyx1o1urrl