# Inkscape MCP: Choose a Server and Set It Up
> Choose an Inkscape MCP server for Claude, Cursor or Codex. Compare live and headless editing, copy configs, and reproduce our SVG test and install fixes.
Canonical: https://www.mcpfolio.com/articles/inkscape-mcp-server
Last updated: 2026-11-22
## Short answer: choose by file editing or live control

An Inkscape MCP server lets an AI assistant call tools that inspect, edit or export vector artwork. Several unrelated community projects use this name. For file-based SVG automation, start by evaluating [sandraschi/inkscape-mcp](https://www.mcpfolio.com/servers/inkscape-mcp-sandraschi). For control of an already-open document on Linux, evaluate [Shriinivas/inkmcp](https://www.mcpfolio.com/servers/inkmcp-shriinivas). Their installation instructions are not interchangeable.

We installed sandraschi's source on Apple Silicon macOS with Python 3.12, connected over MCP, listed 19 tools and changed a sample SVG's color and text. Both remained editable. Inkscape itself was unavailable in that test: PNG conversion failed. The client configs below follow official documentation; we tested the server through a Python MCP client, not inside Claude, Cursor or Codex.

[Claude Code](https://www.mcpfolio.com/articles/inkscape-mcp-server#inkscape-claude-code) · [Claude Desktop](https://www.mcpfolio.com/articles/inkscape-mcp-server#inkscape-desktop) · [Cursor](https://www.mcpfolio.com/articles/inkscape-mcp-server#inkscape-cursor) · [Codex](https://www.mcpfolio.com/articles/inkscape-mcp-server#inkscape-codex) · [Our test files](https://www.mcpfolio.com/articles/inkscape-mcp-server#svg-test)



- You need repeatable changes to SVG files: use the file-based setup below and give the agent explicit input and output paths.

- You need an agent to manipulate a visible Linux document: inkmcp uses an Inkscape extension and D-Bus. We did not run that implementation.

- You only need an occasional PNG or PDF export: Inkscape's command line may be enough, without an MCP server.

## Which Inkscape MCP server should you install?

Choose the repository before copying a command. A matching package name is not enough to identify the implementation. The comparison below describes the source checked on November 22, 2026, not a claim of equal platform testing.

| Project | How it works | Platform and verification |
| --- | --- | --- |
| [sandraschi/inkscape-mcp](https://github.com/sandraschi/inkscape-mcp) | Standalone server; many operations edit SVG files, while export and other operations call Inkscape's CLI. Optional GUI actions and dashboard. | README lists Windows, macOS and Linux. We tested MCP discovery and two file edits on macOS; no successful Inkscape export. |
| [Shriinivas/inkmcp](https://github.com/Shriinivas/inkmcp) | Extension communicates with a running Inkscape instance over D-Bus; includes inkex/Python execution and viewport feedback. | README explicitly says Linux only. Not tested by us. |
| [grumpydevorg/inkscape-mcps](https://github.com/grumpydevorg/inkscape-mcps) | Separate CLI-action and SVG DOM servers; documents workspace limits and action allowlists. | README still labels PyPI installation 'when published' and contains a placeholder clone URL. Treat as a source project to investigate, not our recommended copy-and-run install. |

## How the connection works

Your local AI client starts a Python process and exchanges MCP messages with it over stdio. The server receives tool calls such as recolor this object or change this text. Some operations directly parse and rewrite SVG XML; others launch the Inkscape executable. A connected server therefore does not prove that Inkscape was found or that every operation can run.

That distinction showed up in our test. Object recoloring and text replacement worked with no Inkscape binary, but export returned a conversion error. Check the Inkscape availability field in the status response before attempting rendering, tracing or CLI actions.

Use explicit stdio mode for this setup. At the checked revision the command defaults to dual transport, and its host flag defaults to 0.0.0.0. The examples below avoid that default network listener. The Windows dashboard is a separate workflow; its documented port is 11029, while the backend defaults to 11028.

## Install the source version we checked

You need Git, uv and an MCP client that can launch a local process. Inkscape is also required for export and CLI-backed operations. The project's README lists Inkscape 1.0 or newer and recommends 1.2 or newer for its Actions API. Download Inkscape from its official site and confirm the executable works independently before troubleshooting MCP.

The source declares package version 2.7.1, but the installer guide still names 2.6.0 and the runtime status response also reports 2.6.0. We pin the checked commit below so these instructions refer to one concrete code revision. Review changes before upgrading; a runtime version string alone did not identify our checkout reliably.



1. Install uv using Astral's official instructions and install Inkscape for your operating system. Open a fresh terminal and check uv --version and inkscape --version. On macOS, the Inkscape app's executable may need its full path.

2. Clone the named repository and check out the revision below. Keep it in a permanent directory: your client configuration will point to that directory.

3. Create the environment with uv sync --no-dev --python 3.12. This was the Python version used for our successful dependency installation.

4. Run the help command below, then add the stdio configuration for your client. A stdio server waits for MCP messages; it does not need a browser URL.

5. Reconnect the client and ask for inkscape_system with operation=status. Confirm both server connection and Inkscape availability, then test a copy of an SVG.

**Clone, pin and install**

```
git clone https://github.com/sandraschi/inkscape-mcp.git
cd inkscape-mcp
git checkout f74d73c317ec9b12e9b5e2dd890ce8771655f4c3
uv sync --no-dev --python 3.12
uv run --no-sync inkscape-mcp --help
```

**macOS Inkscape executable check**

```
"/Applications/Inkscape.app/Contents/MacOS/inkscape" --version
```

## The macOS dependency error we reproduced

Our first uv sync failed while building pycairo: it could not find pkg-config or Cairo. The dependency chain was inkscape-mcp → inkex → PyGObject → pycairo. Installing the native build dependencies below, then syncing with Python 3.12, completed successfully. Cairo was already installed on our machine; pkgconf and gobject-introspection were added.

This fixes the observed Python dependency failure. It does not install Inkscape, verify its executable, or guarantee that every macOS version has the same build requirements. If your error names a different missing library, read that build error before adding packages.

**macOS with Homebrew: dependency fix used in our test**

```
brew install pkgconf cairo gobject-introspection
uv sync --no-dev --python 3.12
```

## Connect Claude Code, Claude Desktop, Cursor or Codex

Replace both absolute paths before using these examples. Find uv with command -v uv on macOS/Linux or where uv on Windows. An absolute executable path avoids GUI applications inheriting a different PATH from your terminal. On Windows, use Windows paths and escape backslashes in JSON.

Claude Desktop uses claude_desktop_config.json in its application configuration folder. Cursor accepts ~/.cursor/mcp.json globally or .cursor/mcp.json in a project. Codex uses ~/.codex/config.toml. Merge the entry into existing configuration rather than replacing other servers. The server process is the same in each case; these client-specific registrations were documentation-checked, not tested in those applications.

**Claude Code: local stdio registration**

```
claude mcp add --transport stdio inkscape -- /absolute/path/to/uv --directory /absolute/path/to/inkscape-mcp run --no-sync inkscape-mcp --mode stdio
```

**Claude Desktop: merge into claude_desktop_config.json**

```
{
  "mcpServers": {
    "inkscape": {
      "command": "/absolute/path/to/uv",
      "args": [
        "--directory",
        "/absolute/path/to/inkscape-mcp",
        "run",
        "--no-sync",
        "inkscape-mcp",
        "--mode",
        "stdio"
      ]
    }
  }
}
```

**Cursor: merge into mcp.json**

```
{
  "mcpServers": {
    "inkscape": {
      "command": "/absolute/path/to/uv",
      "args": [
        "--directory",
        "/absolute/path/to/inkscape-mcp",
        "run",
        "--no-sync",
        "inkscape-mcp",
        "--mode",
        "stdio"
      ]
    }
  }
}
```

**Codex: config.toml**

```
[mcp_servers.inkscape]
command = "/absolute/path/to/uv"
args = ["--directory","/absolute/path/to/inkscape-mcp","run","--no-sync","inkscape-mcp","--mode","stdio"]
startup_timeout_sec = 60
```

## A reproducible SVG test with before and after files

Our fixture is a 640 × 360 SVG with a purple circle named badge and a text object named title containing Draft. We sent two real MCP tool calls: change the circle fill to green, then change Draft to Ready. We parsed the resulting SVG and confirmed the circle and text were still native SVG elements. The original file was unchanged.

Download the [before SVG](https://www.mcpfolio.com/articles/inkscape-mcp-server/before.svg), [after SVG](https://www.mcpfolio.com/articles/inkscape-mcp-server/after.svg), [test results](https://www.mcpfolio.com/articles/inkscape-mcp-server/test-results.json) and [reproduction script](https://www.mcpfolio.com/articles/inkscape-mcp-server/verify.py). Open the SVGs in Inkscape to compare them. The cover is an illustration, not a screenshot of this test.

To reproduce, run verify.py with the checked server environment's Python, passing --server-dir and --fixture as shown below. It starts the server, uses a temporary directory, verifies editable elements and writes results to inkscape-test-output in your current directory. Inspect export.success separately: the script preserves that result even if conversion fails.

PNG conversion did fail in our run because no Inkscape executable was available. The server returned a NoneType error involving _execute_actions. We have not verified PNG/PDF output or live GUI editing, and did not run the Linux-only inkmcp extension. A successful SVG edit must not be read as a successful rendering test.

**Recolor with inkscape_vector (replace paths)**

```
{
  "operation": "bulk_restyle",
  "input_path": "/work/before.svg",
  "output_path": "/work/recolored.svg",
  "selector": "#badge",
  "params": {
    "fill": "#16a34a"
  }
}
```

**Change editable text with inkscape_vector**

```
{
  "operation": "text_set_content",
  "input_path": "/work/recolored.svg",
  "output_path": "/work/after.svg",
  "object_id": "title",
  "text": "Ready"
}
```

**Run the downloaded reproduction script (macOS/Linux paths)**

```
/absolute/path/to/inkscape-mcp/.venv/bin/python verify.py \
  --server-dir /absolute/path/to/inkscape-mcp \
  --fixture before.svg
```

## Tools to check before your first design task

Our tools/list response contained 19 tools at the pinned revision. The documentation's headline says 17, so use your connected server's tool discovery as the inventory for your installation. Operations are grouped inside tools: bulk_restyle is an operation of inkscape_vector, not a separate tool name.

| Tool | Useful operations | Verification |
| --- | --- | --- |
| inkscape_system | status, diagnostics, execution_mode | Called status; it correctly reported Inkscape unavailable. |
| inkscape_vector | bulk_restyle, text_set_content, object/path operations | Recolor and text replacement passed on our fixture; other operations not tested. |
| inkscape_file | info, validate, convert, list_formats | convert was called and failed without Inkscape. |
| inkscape_analysis | statistics, dimensions, objects, structure | Discovered; not exercised. |
| inkscape_render | export_preview, export_multi_dpi | Discovered; no successful rendering test. |
| inkscape_layers | list, create, rename, hide, show | Discovered; not exercised. |
| inkscape_validation | validate_svg, check_viewbox, audit_web_svg | Discovered; not exercised. |



- Use an exact object ID and explicit output filename for your first task. This makes the change easy to inspect and avoids accidental overwrites.

- Try: 'Using before.svg, make badge green and change title to Ready. Save new files, keep the source untouched, and report the exact operations used.'

- Do not assume every discovered operation is implemented. The tool reference explicitly marks execute_extension as disabled at this revision.

## File access and local execution

Treat this as a local program with your operating-system permissions. The configuration contains allowed_directories, but our source inspection found that the tested bulk_restyle handler directly parses the supplied input path and writes the output path without consulting that setting. Do not treat that option as a proven sandbox for all tools.

Start with generated samples or copies in a disposable folder. Keep write approval enabled in your AI client and inspect requests that overwrite files, install extensions or launch external programs. These are practical precautions for the operations this server exposes, not a security audit of every handler.

Use --mode stdio for the examples here. If you later choose HTTP or the dashboard, review authentication and binding settings before making it reachable outside your own machine. Optional Ollama or provider integrations are separate from the basic file-editing test; we supplied no model API key to the server.

## Troubleshooting: connected does not mean ready to export

Start with the failing layer: process launch, MCP discovery, SVG operation or Inkscape export. Reinstalling the AI client will not fix a missing native library or an undetected drawing executable.

| Symptom | What to check |
| --- | --- |
| pycairo build cannot find pkg-config or Cairo | On macOS, the native dependency command above fixed our failure. Retry the environment sync before registering the client. |
| Client cannot find uv | Use uv's absolute executable path and the checkout's absolute directory path. |
| Server starts another listener or reports a port conflict | Pass --mode stdio explicitly. The pinned command's default is dual, not stdio. |
| Tools appear but PNG conversion fails | Call inkscape_system status. If available is false, install/check Inkscape independently; then restart the server. INKSCAPE_PATH can point its detector to the executable. |
| Text object is not found | Inspect the SVG's text element ID. The fixture uses title. Do not substitute the visible text for the object ID. |
| Documentation and discovered tool counts differ | Record the source commit and inspect tools/list. We measured 19; the tool-reference headline says 17. |
| Linux live-control instructions fail on macOS or Windows | Those instructions may belong to Shriinivas/inkmcp, whose README says Linux only. Choose a different implementation rather than mixing configs. |

## When the Inkscape CLI is enough

For a fixed SVG-to-PNG job, a direct Inkscape command is easier to inspect than an agent conversation. The example below is a standard CLI alternative, not an export we verified in this environment. MCP becomes useful when an agent must inspect a document, select objects, apply several edits and check the result through tool calls.

For 3D scene work, see our [Blender, Unity and Unreal MCP guide](https://www.mcpfolio.com/articles/blender-unity-unreal-mcp). For parametric CAD rather than SVG graphics, read the [FreeCAD MCP comparison](https://www.mcpfolio.com/articles/freecad-mcp-server). Browse the [MCP directory](https://www.mcpfolio.com/) for other tool integrations.

**Direct Inkscape export alternative (not run in our test)**

```
inkscape before.svg --export-type=png --export-filename=before.png
```

## Frequently asked questions

### Is Inkscape MCP an official Inkscape feature?

The implementations compared here are community repositories. Check the named repository and maintainer; sharing the Inkscape name does not make them one project.

### Which Inkscape MCP server works with Claude?

sandraschi/inkscape-mcp documents Claude Desktop and supports a local stdio process that Claude Code can launch. Shriinivas/inkmcp is another option for live Linux documents. The guide's configs are documentation-checked; our runtime test used a Python MCP client.

### Can I use Inkscape MCP with Cursor or Codex?

Both clients support local stdio MCP servers. Point the client at uv and the installed checkout, using --mode stdio. We verified the server's MCP handshake and tools through a Python client, not inside Cursor or Codex.

### Does Inkscape need to stay open?

Not for the direct SVG XML edits we tested in sandraschi's server. CLI-backed operations need the Inkscape executable but can work headlessly. Shriinivas/inkmcp controls a running editor and requires it to stay open.

### Why does Inkscape MCP connect but fail to export?

MCP connection and Inkscape detection are separate checks. In our test, SVG color and text edits passed while export failed because the Inkscape executable was unavailable. Check inkscape_system status, verify the executable path and restart the server.

### Do MCP edits preserve editable SVG objects?

Our two-operation fixture retained a circle element and a text element after recoloring and text replacement. This does not prove every operation preserves editability: text-to-path intentionally replaces text with outlines, for example.

### Is an API key required?

Our basic MCP discovery and SVG editing test used no model API key in the server. Optional provider integrations may require one. Your AI client's own account or model billing is separate from the server.

## Primary sources

- [Checked source revision: README and requirements](https://github.com/sandraschi/inkscape-mcp/tree/f74d73c317ec9b12e9b5e2dd890ce8771655f4c3)
- [Installation guide and manual client configuration](https://github.com/sandraschi/inkscape-mcp/blob/f74d73c317ec9b12e9b5e2dd890ce8771655f4c3/INSTALL.md)
- [CLI defaults and MCP tool registration](https://github.com/sandraschi/inkscape-mcp/blob/f74d73c317ec9b12e9b5e2dd890ce8771655f4c3/src/inkscape_mcp/main.py)
- [SVG mutation handlers](https://github.com/sandraschi/inkscape-mcp/blob/f74d73c317ec9b12e9b5e2dd890ce8771655f4c3/src/inkscape_mcp/tools/vector_operations.py)
- [Tool reference and operation limitations](https://github.com/sandraschi/inkscape-mcp/blob/f74d73c317ec9b12e9b5e2dd890ce8771655f4c3/docs/TOOLS.md)
- [Shriinivas/inkmcp: live Linux implementation](https://github.com/Shriinivas/inkmcp)
- [Claude Code: local MCP servers](https://code.claude.com/docs/en/mcp)
- [Cursor: MCP configuration](https://cursor.com/docs/mcp)
- [Codex: MCP configuration](https://developers.openai.com/codex/mcp/)
- [uv installation](https://docs.astral.sh/uv/getting-started/installation/)


## Related

- [inkscape-mcp-sandraschi](https://www.mcpfolio.com/servers/inkscape-mcp-sandraschi)
- [inkmcp-shriinivas](https://www.mcpfolio.com/servers/inkmcp-shriinivas)
- [inkscape-mcps-grumpydevorg](https://www.mcpfolio.com/servers/inkscape-mcps-grumpydevorg)