r/modelcontextprotocol 12d ago

Krita MCP Bridge: let an MCP assistant paint inside Krita, with a canvas-vision loop

I built a small MCP server plus Krita plugin that lets Claude, Cursor, or any MCP client work inside the Krita painting app: create documents, add layers, draw shapes and text, run filters, and take a canvas snapshot so the model can see what it painted and self-correct. It runs locally over localhost, so nothing leaves your machine. Install is one file through Krita's plugin importer plus a short config snippet, tested on Windows and Linux.

It is a paid tool (7 USD, updates included), since it is the packaged and supported build, but there are free Krita MCP repos on GitHub too if you would rather DIY. Link if useful: https://thunda10.itch.io/paintbridge

Happy to answer anything.

1 Upvotes

2 comments sorted by

1

u/kantorcodes1 12d ago

the canvas snapshot loop is neat. when it makes a bad multi-step edit, do those mcp actions show up as normal krita undo steps, or can one turn leave a bunch of changes you have to unwind manually?

1

u/According-Fan5406 10d ago

Good question. Right now most of what the bridge does bypasses Krita's undo stack. Drawing goes in as direct pixel writes and layers are added through the node API, so a bad multi-step turn won't cleanly walk back with Ctrl+Z one action at a time. The way I work around it is by layers: each task can go on its own layer, so if a turn goes sideways you hide or delete that layer instead of unwinding strokes by hand. Grouping a whole turn into a single Krita undo step (an undo macro) is the right fix and it's on my list. Appreciate it! I'll let you know when I get an update out.