Extended to Tuesday, 1 December 2026, 23:59 Malta time. Last chance: imagic from €9.50. Time left
Microsoft and GitHub · imagic Max

Connect imagic to VS Code and GitHub Copilot

Add imagic to VS Code so Copilot's agent mode can cull, edit and export your photos. One command, or a JSON block with the servers key.

1Install imagic and start the trial

The MCP server ships with imagic Max, and the free 500-export trial unlocks everything with no card. Download it from the desktop page first, because VS Code and GitHub Copilot needs something to talk to. The trial does not include imagic studio, a separate app.

2Add imagic to VS Code and GitHub Copilot

This writes the config for you, which avoids the key mistake below.

Installed the packaged app from this site? Then there is no imagic-mcp command on your machine: the app itself is the server (Windows shown; on macOS it is /Applications/imagic.app/Contents/MacOS/imagic):

code --add-mcp "{\"name\":\"imagic\",\"command\":\"C:\\Program Files\\imagic\\imagic.exe\",\"args\":[\"--mcp\"]}"

On Linux, point the command at the imagic binary inside the folder you extracted the portable build to, and keep the --mcp argument.

Do not install an npm package called imagic-mcp to get this working: the npm package with that name is an unrelated project by another author, not ours. imagic's MCP server is built into the desktop app.

Running imagic from a source checkout instead (developers only, not the packaged app)? The checkout's own entry point looks like this:

code --add-mcp "{\"name\":\"imagic\",\"command\":\"imagic-mcp\"}"

Configuration

VS Code and GitHub Copilot reads .vscode/mcp.json. The top-level key is servers, which is not the mcpServers key most other clients use.

Installed the packaged app from this site? Then there is no imagic-mcp command on your machine: the app itself is the server. Point command at it and pass --mcp (Windows shown; on macOS the command is /Applications/imagic.app/Contents/MacOS/imagic):

{
  "servers": {
    "imagic": {
      "type": "stdio",
      "command": "C:\\Program Files\\imagic\\imagic.exe",
      "args": ["--mcp"]
    }
  }
}

Running imagic from a source checkout instead (developers only, not the packaged app)? The checkout's own entry point looks like this:

{
  "servers": {
    "imagic": {
      "type": "stdio",
      "command": "imagic-mcp"
    }
  }
}

Where that file lives

All platforms.vscode/mcp.json (workspace)

Where to find it in the interface

Command Palette, then MCP: Add Server, or MCP: Open User Configuration for a machine-wide install.

3Ask for a cull

Restart VS Code and GitHub Copilot if it was already running, then point it at a shoot:

Cull the shoot in D:/Shoots/eva_tom, apply my style, and export the keepers.

VS Code and GitHub Copilot will call scan_directory, analyze_photos, apply_my_style and export_photos in turn. Every one of those runs on your machine: the agent sends instructions, never your photos.

Things that catch people out

What imagic can do once it is connected

scan_directory analyze_photos apply_my_style export_photos

That is 30 tools in total, covering the library, culling, editing and your learned style. See the full tool reference, or the workflows for what to actually ask for.

Setting up a different client?

Codex CLI Gemini CLI Windsurf (Devin Desktop) Zed Continue Goose

Try it on a real shoot

The 500-export trial includes imagic Max, the MCP server and every tool on this page. No card required.

Configuration verified against Microsoft and GitHub's documentation. If VS Code and GitHub Copilot changes its setup and this page falls behind, tell us and we will fix it.