illustrator-mcp

illustrator-mcp

Enables AI agents to generate vector graphics in Adobe Illustrator using natural language prompts, by sending ExtendScript commands via a local MCP server.

Category
访问服务器

README

Illustrator MCP Server (Windows & macOS)

Welcome to the Illustrator MCP Server! 🎨🚀

This project allows AI agents to directly create vector graphics inside Adobe Illustrator using natural language prompts.
It works by sending ExtendScript commands to Illustrator via a local MCP (Model Context Protocol) server.

Imagine simply describing what you want — like "draw a small coffee shop during rain" — and Illustrator brings it to life!

Works on Windows (COM automation) and macOS (AppleScript/osascript).


✨ Features

  • Control Adobe Illustrator programmatically using AI prompts
  • Send ExtendScript (.jsx) scripts directly to Illustrator
  • Capture screenshots of the Illustrator window
  • Open-source and lightweight
  • Cross-platform: Windows & macOS
  • Multi-client: Works with Claude Desktop, Claude Code, Cursor, VS Code Copilot, and JetBrains Copilot

💻 Installation

Prerequisites

  • Python 3.12+Download Python
  • Adobe Illustrator installed and running
  • macOS only: Grant Automation permissions when prompted (System Settings → Privacy & Security → Automation)

1. Clone the repository

git clone https://github.com/krVatsal/illustrator-mcp.git
cd illustrator-mcp

2. Create a virtual environment

macOS / Linux:

python3 -m venv .venv
source .venv/bin/activate

Windows:

python -m venv .venv
.\.venv\Scripts\activate

3. Install dependencies

pip install -r requirements.txt

On macOS, pywin32 is automatically skipped. No extra macOS packages required.

4. Start the MCP Server (manual / debug mode)

python -m illustrator

Run with one script (cross-platform)

bash run_server.sh

This script auto-detects your platform, creates a .venv, installs dependencies, and starts the server.


🔌 Client Configuration

The server uses stdio transport — compatible with all major MCP clients.

Important: Do NOT start the server manually when using it through a client. The client starts and manages the server process automatically.

Claude Desktop

macOS — edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "illustrator": {
      "command": "/path/to/illustrator-mcp/.venv/bin/python3",
      "args": ["-m", "illustrator"]
    }
  }
}

Windows — edit %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "illustrator": {
      "command": "C:\\Users\\<YourUser>\\illustrator-mcp\\.venv\\Scripts\\python.exe",
      "args": ["-m", "illustrator"]
    }
  }
}

Claude Code (CLI)

A .claude/mcp.json is included in the repo. Claude Code will auto-detect it. Or add manually:

claude mcp add illustrator python3 -- -m illustrator

GitHub Copilot (VS Code)

A .vscode/mcp.json is included in the repo. VS Code (1.99+) will auto-detect it. Or add to your settings.json:

{
  "mcp": {
    "servers": {
      "illustrator": {
        "type": "stdio",
        "command": "python3",
        "args": ["-m", "illustrator"]
      }
    }
  }
}

🎯 Enhanced Prompt System

This MCP server now includes an advanced prompt system to help you create better content! Use these new tools:

  • get_prompt_suggestions - Get categorized prompt examples for different types of content
  • get_system_prompt - Get the optimal system prompt for AI guidance
  • get_prompting_tips - Get tips for creating more effective prompts
  • get_advanced_template - Get structured templates for complex design tasks
  • help - Display comprehensive help and guidance

📚 Prompt Categories Available:

  • 🎨 Basic Shapes & Geometry
  • 📝 Typography & Text
  • 🏢 Logos & Branding
  • 🌆 Illustrations & Scenes
  • 🎭 Icons & UI Elements
  • 🎨 Artistic & Creative
  • 📊 Charts & Infographics
  • 🏷️ Print & Layout

💡 Quick Start with Prompts

Try asking: "Get me prompt suggestions for logos" or "Show me prompting tips"

For detailed examples and templates, see PROMPT_EXAMPLES.md


📋 Sample Prompts I Tried

Here are some prompts I used along with the results it generated:

  • Prompt 1:
    Design a clean, minimal vector art of a small coffee shop during rain, featuring a simple storefront, puddles on the street, and gentle grey clouds in the sky.

  • Prompt 2:
    Create a watercolor-style illustration of the Mumbai skyline at sunset.

  • Prompt 3:
    Create a modern, minimalistic logo for a tech startup called 'NeuraTech'.

(See attached images for the results!)


🍎 macOS Notes

  • Adobe Illustrator must be installed and running
  • On first use, macOS will ask for Automation permission — allow your terminal/IDE to control Illustrator
  • If you see "Application not running" errors, open Illustrator first
  • Screenshots capture the full screen (Illustrator should be in foreground)

🪟 Windows Notes

  • Adobe Illustrator must be installed
  • The pywin32 package is required (installed automatically)
  • Illustrator scripting must be enabled

📢 Contributing

Pull requests are welcome!
Feel free to open issues for feature requests, bugs, or suggestions. Stars Forks License


Happy creating! 🌈💛

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选