Home / AI & MCP

AI Console and MCP server

Draw with a chat inside the app, or let Claude Code, Claude Desktop, VS Code or Codex drive SVG Editor through its built-in MCP server. Everything below is set up in a few minutes.

In-app chat

The AI Console

The AI Console is a chat panel inside SVG Editor. Open it from the ✨ AI button next to the 💬 Feedback button (bottom-left), or from the Window menu. Type what you want in plain language; the answer is applied to the document in front of you and every change is undoable.

Ask for a single shape ("a red hexagon with a soft shadow") or restyle a whole document ("make everything pastel and rounded"). The result is real, layer-aware vectors — not a bitmap — so you keep editing with the Pen, Pathfinder and palettes as usual.

Choose the engine

Settings â–¸ AI:

  • Built-in — the default. Uses Rainbow Factory's server, no key or account needed.
  • Claude (own key) — paste an Anthropic API key (sk-ant-…).
  • OpenAI (own key) — paste an OpenAI API key (sk-…).
  • Gemini (own key) — paste a Google AI key (AIza…).

With your own key you can also edit the Base prompt, the standing instructions sent with every request — house style, default colours, language, anything you always want applied.

MCP server

Turn the MCP server on

  1. Install SVG Editor from the Mac App Store and open it once.
  2. Open Settings â–¸ MCP Server and turn on Allow external control (MCP / AppleScript).
  3. In the Client tab pick your client (Claude Code, Claude Desktop, VS Code, Codex, Antigravity); the Configuration tab shows the ready-to-paste config with the correct path to the app.
  4. The first time a client drives the app, macOS may ask to allow Automation — accept it (if you refuse, re-enable it in System Settings ▸ Privacy & Security ▸ Automation).

The MCP server is the app itself, launched with --mcp-stdio. The executable path shown below assumes the app is in /Applications.

Client

Claude Code

Run once in a terminal (add --scope user to make it available in every project), or paste the JSON below into .mcp.json in the project folder.

claude mcp add svgeditor -- "/Applications/SVG Editor.app/Contents/MacOS/SVG Editor" --mcp-stdio
{
  "mcpServers": {
    "svgeditor": {
      "command": "/Applications/SVG Editor.app/Contents/MacOS/SVG Editor",
      "args": ["--mcp-stdio"]
    }
  }
}

Then, in a Claude Code session, ask for something and watch SVG Editor: "open the front document and list what's in it", "add a title in the top-left corner". Claude Code launches SVG Editor if it is not running.

Client

Claude Desktop

Add the same mcpServers block to ~/Library/Application Support/Claude/claude_desktop_config.json and restart Claude Desktop. The SVG Editor tools appear in the tools menu of every chat.

{
  "mcpServers": {
    "svgeditor": {
      "command": "/Applications/SVG Editor.app/Contents/MacOS/SVG Editor",
      "args": ["--mcp-stdio"]
    }
  }
}
Client

VS Code and Antigravity

VS Code: add to .vscode/mcp.json in the workspace, or to the user-level file opened by the MCP: Open User Configuration command. Antigravity: paste the mcpServers block above into its MCP configuration file (Settings â–¸ MCP Servers â–¸ edit the configuration).

{
  "servers": {
    "svgeditor": {
      "type": "stdio",
      "command": "/Applications/SVG Editor.app/Contents/MacOS/SVG Editor",
      "args": ["--mcp-stdio"]
    }
  }
}
Client

Codex CLI

Add to ~/.codex/config.toml:

[mcp_servers.svgeditor]
command = "/Applications/SVG Editor.app/Contents/MacOS/SVG Editor"
args = ["--mcp-stdio"]
Reference

The 47 tools

Call svg_guide first when drawing anything non-trivial: it returns a usage guide for the LLM (topics: quickstart, bezier, brushes, booleans, gradients, text, engine). Calls are serialised one at a time with a 45 s timeout; if no document is open one is created; every result reports selection_count and the active engine.

Document

svg_get_documentsvg_set_documentsvg_importsvg_set_canvas_sizesvg_undosvg_list_elementssvg_export_pngsvg_place_image

Create

svg_create_shapesvg_create_shape_exsvg_create_pathsvg_create_text

Select & arrange

svg_selectsvg_select_similarsvg_select_advancedsvg_edit_selectedsvg_transform_selectedsvg_align_selectedsvg_distributesvg_lock_hide

Style

svg_set_stylesvg_set_gradientsvg_set_mesh_gradientsvg_get_fill_infosvg_set_patternsvg_swatches

Effects

svg_drop_shadowsvg_adjust_colorssvg_quick_filtersvg_image_filter

Paths

svg_pathfindersvg_modify_pathsvg_clipsvg_masksvg_compoundsvg_path_nodessvg_set_marker

Text

svg_text_stylesvg_text_on_path

Brushes

svg_list_brushessvg_define_brushsvg_brush_stroke

Organise

svg_layerssvg_symbolssvg_guidessvg_grid

Advanced

svg_run_jssvg_guide
Also

AppleScript and Illustrator scripts

The same switch enables AppleScript control (tell application "SVG Editor" to do script …) and the AI Script Console runs Illustrator-compatible .jsx ExtendScript unchanged. svg_run_js exposes the same bridge to MCP clients.

Get SVG Editor

Available on the App Store. Beta builds: Join us on Discord to get TestFlight beta builds of the next versions before they reach the App Store.

Download on the Mac App Store Download on the App Store