caishi490-pixel

Adobe AI MCP — AI skill for Claude Code

AI community

让 AI 助手(Codex / Claude 等)直连 Adobe Illustrator 画矢量图的 MCP 服务器:20 个工具(图形 / 文字 / SVG 路径 / 样式 / 变换 / 导出 / ExtendScript),零第三方依赖(Python 标准库 + 系统 PowerShell COM 桥,不需要 pywin32).

How to install Adobe AI MCP

This entry records only its repository, not the path inside it, so there is no exact command to give. Open caishi490-pixel/adobe-ai-mcp and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Adobe AI MCP does

让 AI 助手(Codex / Claude 等)直连 Adobe Illustrator 画矢量图的 MCP 服务器:20 个工具(图形 / 文字 / SVG 路径 / 样式 / 变换 / 导出 / ExtendScript),零第三方依赖(Python 标准库 + 系统 PowerShell COM 桥,不需要 pywin32)。MCP server that lets AI agents draw vector art in Adobe Illustrator via ExtendScript — 20 tools, zero dependencies.

Alternatives in AI

  • Hexstrike AI — HexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomousl 8.2k ★
  • Claude Init — Claude Code 中文开发套件 - 为中国开发者定制的零门槛 AI 编程环境 1.4k ★
  • Codex Skill — by klaudworks - Enables users to prompt codex from claude code 914 ★

README

adobe-ai-mcp · Adobe Illustrator MCP

让 Claude / Codex / 任何支持 MCP 的 AI 助手,直接用 ExtendScript 在 Adobe Illustrator 里画矢量图。

  • 画矩形、椭圆、多边形、星形、直线、任意 SVG 路径、文字
  • 改样式(填充/描边/线宽/不透明度)、移动、缩放、旋转、删除
  • 打开 / 保存 / 关闭文档,导出 PNG / JPG / SVG / PDF / AI
  • 导出 PNG 时会把图片直接内嵌返回,AI 画完能"看见"自己的作品
  • 兜底工具 ai_run_script:直接跑任意 ExtendScript

**零第三方依赖**:Python 标准库 + 系统自带的 Windows PowerShell。 不需要 pywin32,不需要 npm,不需要装 Illustrator 插件。

工作原理

AI 助手(Codex/Claude)
   │  MCP stdio(换行分隔 JSON-RPC)
   ▼
server.py(Python,20 个工具)
   │  写临时 .jsx → 起 PowerShell
   ▼
scripts/com_bridge.ps1
   │  COM 连接 Illustrator(GetActiveObject / CreateInstance)
   ▼
Adobe Illustrator → app.DoJavaScript(jsx) → 结果写回 → 解析 JSON

环境要求

  • Windows 10 / 11(本工程在 Windows 11 + Illustrator 2026 + Python 3.14 实测通过)
  • Adobe Illustrator 2020 或更新版本,已激活
  • Python 3.8+(只用到标准库)

安装与配置

克隆或拷贝本目录到任意位置,然后按你的客户端挑一种配置(把路径换成你的实际路径)。

**Codex**(`~/.codex/config.toml`):

[mcp_servers.adobe_ai]
command = "python"
args = ["C:/Users/you/adobe-ai-mcp/server.py"]

**Claude Code**:

claude mcp add adobe-ai -- python C:/Users/you/adobe-ai-mcp/server.py

**Claude Desktop**(`claude_desktop_config.json`):

{
  "mcpServers": {
    "adobe-ai": {
      "command": "python",
      "args": ["C:/Users/you/adobe-ai-mcp/server.py"]
    }
  }
}

重启客户端后,对 AI 说"画一张 800x600 的矩形海报"就能开工。

工具清单

工具 作用
ai_status 看 Illustrator 是否安装/运行、版本、打开的文档(不会启动它)
ai_launch 启动 Illustrator(首次约 1 分钟)
ai_new_document 新建文档/画板,可选单位 pt/px/mm/cm/in 和 RGB/CMYK
ai_add_rect 矩形(支持圆角),(x, y)=左上角
ai_add_ellipse 椭圆/圆,(cx, cy)=圆心,rx/ry=半径
ai_add_polygon 正多边形,(cx, cy)=中心,radius=外接半径
ai_add_star 多角星,外半径/内半径/角数
ai_add_line 直线段
ai_add_path SVG path 数据画任意形状(M/L/H/V/C/S/Q/T/Z,相对绝对都行)
ai_add_text 文字(字体名可在 ai_list_fonts 里查)
ai_set_style 改填充/描边/线宽/不透明度(按名字或当前选中)
ai_transform 平移/缩放/旋转
ai_delete 删除对象
ai_list_items 列出文档对象和图层
`ai_lis