Skip to main content
Glama

Every painting on this page was made by an AI agent through Agent Paint's tools, stroke by stroke and shape by shape. No image model was involved.

What it is

Agent Paint is a painting program made for agents rather than for a mouse. It keeps a real layered document in memory (raster, vector and text layers, masks, blend modes, undo history) and lets an agent work on it through a domain API: create a canvas, set up a brush, lay down strokes with pressure, fill selections, hatch tones, set type, then take a snapshot and look at the actual pixels before deciding what to fix.

It runs as a background process. Nothing is drawn on your screen, nothing takes over the mouse or keyboard, and nothing depends on window focus, screen resolution or timing. It needs only a CPU and Python on Windows or Linux (WSL included), and one server can hold many documents painted by several agents at once.

The same engine is available three ways: as an MCP server (stdio or local HTTP) for Claude Code, Codex and other MCP clients, as a Python API, and as a JSONL plan runner for scripted work.

Built for agents

  • A domain API instead of GUI automation. Coordinates are document pixels, layers have stable ids and names, pressure and opacity are numbers from 0 to 1. There is no UI to click through and nothing to calibrate.

  • The agent sees its work. paint_snapshot returns the real composite, or one layer, mask, selection or zoomed region, as an image. paint_compare puts a reference next to the painting, paint_sample reads colours.

  • Safe to experiment. A call that changes the picture either completes or rolls back. A batch is one undo step. Errors come back as isError with an explanation of what to change.

  • Big plans in one call. paint_batch runs up to 20,000 actions from a JSONL file, so an agent can compute geometry with a short script (mosaic tiles, hatching fields, halftone dots) and send it at once.

  • Many agents, one server. Each document has its own lock and its own brush: parallel agents paint different pictures without waiting for or disturbing each other.

  • A timelapse when you ask for one. Off by default. On request, paint_timelapse records every change to a document and replays it into an MP4 of the picture being painted, stroke by stroke.

  • A painting skill included. skills/agent-paint-reference teaches an agent the workflow: plan the composition, values and palette, test marks, paint in passes, check snapshots and verify the saved file. It also carries style recipes and lessons from earlier studies.

Related MCP server: NeuroPaint-X

Each picture began as a short text request, often just the name of a style. The agent planned the composition, painted in passes and checked its own snapshots. Nothing was imported: every pixel comes from a stroke, shape, fill, pattern, filter or text call. For the largest pieces the agent wrote a small script that computes the geometry and sent it as batched plans. The peacock mosaic is about 13,900 tesserae, the engraving about 13,000 pressure-modulated lines, the risograph about 73,000 strokes, mostly halftone dots. Click a picture to open it at full size.

Full size of the pictures at the top: Art Deco poster · ukiyo-e · stained glass · isometric pixel art · chalk pastel · Byzantine mosaic. More: 30 style studies painted by 30 agents working in parallel.

Features

Document and layers

  • Raster, vector (editable shapes and strokes) and text layers; up to 128 layers and 32 megapixels per document

  • Layer masks, clipping, alpha lock, opacity and 10 blend modes: normal, multiply, screen, overlay, soft light, darken, lighten, add, subtract, difference

  • Merge down, flatten, "stamp visible" for whole-image effects; affine transforms of layers or selected pixels with nearest, bilinear or bicubic resampling

Brushes and strokes

  • Seven brush kinds: round, pencil, airbrush, watercolor, marker, eraser, smudge

  • Pressure controls size and opacity; tapers, flow, hardness, spacing, stabilisation, colour mixing

  • Seeded texture, a paper grain fixed to the document for chalk, pastel and charcoal, watercolour edge darkening

  • smooth=true draws a Catmull-Rom curve through the given points, pressure included (5–10 points give a clean curve); dash makes dashed and dotted lines, per stroke or for a whole call

  • Brush presets that can be saved, exported and imported

Shapes, selections and fills

  • Rectangles, rounded rectangles, ellipses, polygons, lines and cubic Béziers; smooth organic outlines from a few points

  • Pixel-exact mode (antialias=false) for pixel art and seamless tiling; bleed hides hairline seams between facets

  • Selections: polygon, rectangle, ellipse, flood, layer alpha (soft, or hard by a threshold); add, subtract, intersect; feather; grow and shrink by true distance, so circles stay round

  • Fills: solid, flood, linear and radial gradients, clear to transparency; any of them can be limited to a polygon

Patterns and filters

  • Hatching and cross-hatching with hand-made jitter, breaks and tapers; stipple; halftone (Ben-Day and print dots); ordered dither in art-pixel cells

  • Tone set by density or by a linear or radial gradient; patterns are anchored to the document, so neighbouring areas meet without seams

  • Gaussian blur for glows and soft shadows, channel shift for chromatic aberration and misregistration, seeded noise, relief with adjustable depth for impasto, linocut and paper cut

  • Colour adjustments: levels, threshold, invert, hue/saturation/lightness

Text

  • Unicode text in installed fonts or the bundled DejaVu Sans: outline, scale, rotation, letter spacing, line height, justification, baseline anchors

  • Reports the text bounding box and warns about missing glyphs; paint_fonts(supports="…") finds fonts that contain every character you need

Seeing and checking

  • Snapshots of the composite, a layer, a mask or a selection, whole or by region, with crisp upscaling of small crops

  • Side-by-side comparison with a reference, colour sampling, named regions, view zoom and rotation

Files

  • Native .apaint projects (format: a ZIP with a JSON manifest and PNG layers) keep layers, masks, vector objects, text and the brush editable; saves are atomic

  • Export to PNG, JPEG, WebP and TIFF (with integer upscaling for pixel art), OpenRaster and PSD with layers; import images and OpenRaster files

Timelapse

  • Optional and off by default: record one document's changes and render an MP4 of the picture being painted (how)

  • The replay is exact: the video ends on the recorded pixels, and the render reports whether it did

Reliability

  • Atomic calls and batches with rollback, undo and redo, expected_revision checks against concurrent edits, cancellation with paint_abort, a log of every call

  • Small slips do not cost a batch: values a hair outside 0..1 are clamped, zero-size shapes are skipped and counted, an empty stroke list does nothing; layer names stay unique, so a name always finds its layer

Quick start

You need Python 3.11 or newer. The dependencies (NumPy, Pillow and the MCP Python SDK) are installed automatically.

Linux or WSL:

git clone https://github.com/Minebot17/agent-paint.git
cd agent-paint
python3 -m venv .venv
.venv/bin/python -m pip install -e .

Windows (PowerShell):

git clone https://github.com/Minebot17/agent-paint.git
cd agent-paint
python -m venv .venv
.venv\Scripts\python -m pip install -e .

Connect it to your agent

Your MCP client starts the server itself; register it once. Replace /path/to/agent-paint with the clone's absolute path. On Windows the interpreter is .venv/Scripts/python.exe.

Claude Code

claude mcp add --scope user agent_paint -- /path/to/agent-paint/.venv/bin/python -m csp_headless.server --state-dir /path/to/agent-paint/.state

Codex (~/.codex/config.toml)

[mcp_servers.agent_paint]
command = "/path/to/agent-paint/.venv/bin/python"
args = ["-m", "csp_headless.server", "--state-dir", "/path/to/agent-paint/.state"]

Other MCP clients (Claude Desktop, Cursor and others)

{
  "mcpServers": {
    "agent_paint": {
      "command": "/path/to/agent-paint/.venv/bin/python",
      "args": ["-m", "csp_headless.server", "--state-dir", "/path/to/agent-paint/.state"]
    }
  }
}

Local HTTP instead of stdio:

.venv/bin/python -m csp_headless.server --transport http --host 127.0.0.1 --port 8765

The endpoint is http://127.0.0.1:8765/mcp. The server binds to loopback only and has no authentication; use a secure tunnel to reach it from another machine.

Copy the skill to where your agent looks for skills:

cp -r skills/agent-paint-reference ~/.claude/skills/   # Claude Code
cp -r skills/agent-paint-reference ~/.codex/skills/    # Codex

Then just ask, for example:

Paint an original linocut of a lighthouse in a storm with Agent Paint, 1200×1600, and export a PNG.

The agent reads the built-in guide (the MCP resource paint://guide), creates its own document and paints.

Python API

from csp_headless.engine import Engine

studio = Engine(".state")
studio.call("paint_document", action="create", width=800, height=600,
            name="Hello", background="#F3EAD7")
studio.call("paint_layer", action="create", name="ink")
studio.call("paint_brush", action="configure", color="#1E2A3A",
            settings={"size": 14, "pressure_size": True, "taper_end": 0.3})
studio.call("paint_strokes", layer_id="ink", smooth=True, strokes=[
    {"points": [[120, 420, 0.2], [260, 220, 1.0], [420, 360, 0.8], [640, 180, 0.1]]}])
studio.call("paint_shape", shape="ellipse", points=[[520, 330], [700, 510]],
            fill="#D9573B", layer_id="ink")
print(studio.call("paint_snapshot", label="first look").info["image_path"])
studio.call("paint_document", action="save", path="hello.apaint")
studio.call("paint_document", action="export", path="hello.png")

Always go through Engine.call: it handles locking, transactions, history, cancellation and logging. Tool names and arguments are the same as over MCP.

Scripted plans

A plan is a JSONL file with one {"tool": "paint_...", "arguments": {...}} per line:

.venv/bin/python -m csp_headless.cli scripts/example.jsonl --state-dir .state-plan

The runner prints JSON results and stops with exit code 1 at the first error. An agent can also pass a plan file straight to the server with paint_batch(actions_file=...) (up to 20,000 actions, one undo step) or run it against a real MCP server with scripts/mcp_plan.py. scripts/demo.py paints a 14-layer landscape and a brush sample sheet using only the public API.

Tool

Purpose

paint_state

Documents, active layer, brush, limits and capabilities

paint_document

Create, select, close; open, save and inspect .apaint; import images and ORA; export

paint_layer

Raster, vector and text layers: order, visibility, opacity, blend, masks, clipping, alpha lock, merge, flatten, stamp visible

paint_brush

Brush kind, settings and colour; presets

paint_strokes

Pressure strokes: polyline or smooth spline, dashes and dots

paint_shape

Rectangles, ellipses, polygons, lines and Béziers; editable on vector layers

paint_selection

Polygon, rectangle, ellipse, flood, layer alpha (soft or by threshold); boolean operations; feather, grow, shrink

paint_fill

Solid, flood, linear and radial gradients, clear; optionally inside a polygon

paint_pattern

Hatching, cross-hatching, stipple, halftone and dither inside a shape or selection

paint_filter

Blur, channel shift, noise, relief, levels, threshold, invert, hue/saturation

paint_text

Create and edit Unicode text

paint_fonts

Installed fonts, filtered by the characters they must contain

paint_object

Get, edit, duplicate or delete vector and text objects

paint_transform

Affine transform of a layer or selected pixels

paint_history

Undo and redo

paint_batch

Atomic batch: up to 256 actions inline or 20,000 from a file

paint_snapshot

Real pixels of the composite, a layer, mask or selection, whole or by region

paint_compare

A reference and the painting side by side

paint_sample

Colours at given points

paint_region

Named document regions stored in the project

paint_view

View zoom and rotation; drawing coordinates stay the same

paint_timelapse

Optional timelapse: record a document's changes, render them to MP4

paint_abort

Cancel running operations and roll them back

Timelapse

Recording is optional and off by default. Ask for it in the request:

Paint a sumi-e crane with Agent Paint and record a timelapse.

The agent calls paint_timelapse(action="start") right after creating the document (path names the recording folder; by default it goes under the server's state directory) and paints as usual. Every successful change to that document is appended to the recording together with the ids it created: strokes, shapes, fills, layers, selections, text, filters, batches, undo. stop, or closing the document, finishes the recording. paint_timelapse(action="render", path=...) then replays it in a private engine and writes timelapse.mp4 into the folder:

  • the frames follow the work one stroke or action at a time, even inside a batch of thousands of strokes, and every call gets a moment on screen;

  • the build-up takes 5–20 seconds by default (seconds), then the finished picture stays for 2 seconds (hold);

  • large pictures are scaled down to max_side (1280 by default); small ones and pixel art are enlarged by a whole factor with crisp pixels;

  • verified: true in the result means the replay ended on exactly the recorded pixels.

From the command line, with PNG frames as an option:

.venv/bin/python -m csp_headless.timelapse info /path/to/recording
.venv/bin/python -m csp_headless.timelapse render /path/to/recording -o crane.mp4 --seconds 12

The package also installs this as the agent-paint-timelapse command. Rendering needs ffmpeg: set AGENT_PAINT_FFMPEG, put ffmpeg on PATH, or install a bundled build with pip install -e ".[video]". The encoder is chosen by a quick probe: libx264, NVIDIA NVENC, Windows Media Foundation, OpenH264, otherwise MPEG-4. The folder format is described in docs/format.md.

Performance

Agent Paint runs on the CPU (NumPy and Pillow) and needs no GPU. Version 0.4 went through a two-stage memory and CPU audit and optimisation.

Idle server

≈ 52 MB RAM

A finished painting kept open (0.6–1.4 MP, 5–21 layers)

≈ 20 MB median, 70 MB at most

Empty layer

0 bytes

Undo history

at most 128 MB per document and 512 MB per server

One stroke call

≈ 0.7 ms on any canvas size

Composite of a 3 MP, 20-layer picture

≈ 50 ms

4 agents painting 2400×1800, 13-layer pictures at once on one server

11.5 s, 25 s of CPU time

Compared with 0.3.0, an idle server uses 10× less memory, a single stroke call is 10–100× faster, open paintings take 57% less memory, and the four-agent run is 6.8× faster (it took 78 s and 79 s of CPU time). Documents left idle for 15 minutes are compressed in memory without loss. Measured on a Ryzen 7 7700 under Windows 10; details in docs/perf-audit.md (in Russian), benchmark in scripts/perf_audit.py.

Tests

.venv/bin/python -m pip install -e ".[dev]"
.venv/bin/python -m pytest -q

231 tests, about 15 seconds. The MP4 test runs when ffmpeg is found and is skipped otherwise.

Repository layout

src/csp_headless/   engine, renderer, tiled layers, .apaint storage, MCP server, JSONL runner, timelapse
skills/             agent skill: painting workflow, style recipes, lessons from earlier studies
scripts/            demo, MCP plan runner, benchmark, Codex registration helper
docs/               file format, performance audit, painting log, gallery, 30 style studies
tests/              pytest suite

Limitations

  • An independent engine with its own brush renderers. It does not read .clip or .sut files and does not reproduce any other application's brushes pixel for pixel.

  • No physical paint simulation: watercolour edges and paper grain are imitated, and colours mix in 8-bit sRGB.

  • CPU only. Canvases up to 32 MP work, but composites with many blend-mode layers on very large canvases take seconds.

  • No 3D, animation or comic-page tools.

Documentation

About the name

The Python package is called csp_headless for historical reasons: the project started as a desktop-free alternative to driving Clip Studio Paint through its user interface. Agent Paint shares no code with Clip Studio Paint and is not affiliated with CELSYS, Inc.

License

MIT © 2026 Eugene Serpinin. The bundled DejaVu Sans font keeps its own license.

Available Tools

23 tools
paint_abortA

Signal rendering to stop without acquiring the drawing lock; active atomic operation rolls back.

Inputs: no named parameters.

paint_batchA

Atomic synchronous sequence, one undo step. Scene and brush changes roll back together on error. No filesystem actions or nested batches. Each action: {tool,arguments[,store]} (store inside arguments is accepted too); {"$ref":"name.key"} reuses a stored result (e.g. a new layer's id). Inline up to 256 actions, or actions_file = path to .json/.jsonl with up to 20000 actions (generate big plans with a script; coordinates never pass through the chat). results: compact (ids + union bbox; per-action results only up to 64 actions), full, none. Warnings of any action are always summarized.

Inputs: actions, results, document_id, actions_file, +1 more.

paint_brushB

Configure the document's own brush (other agents' documents are unaffected) and shared presets. kind=round/pencil/airbrush/watercolor/marker/eraser/smudge; size px; opacity,hardness,flow,spacing,min_size,taper_start,taper_end,texture,stabilization,mixing 0..1 (spacing up to 2); pressure_size/pressure_opacity bool; seed integer; blend; texture_space stroke|paper (paper = grain fixed to the document); edge_darkening 0..1 (pigment pools at the mark edge). stabilization averages over stabilization*50 px of arc (0 keeps geometry). Color #RRGGBB[AA].

Inputs: name, path, color, action, +3 more.

paint_compareB
Read-only

Show reference left/painting right, equal display height. Crops use pixel edges in their respective images. Analysis only; never imports reference pixels.

Inputs: reference_path (required), max_side, rectangle, document_id, +1 more.

paint_documentA

Create/open/save .apaint; export full-resolution PNG/JPEG/WebP/TIFF or raster-layer ORA/PSD (scale 2..16 = nearest-neighbour enlargement for flat formats). Export never saves the project: project_saved tells whether the .apaint on disk is current. inspect verifies a saved .apaint read-only. Opening an already open project selects it (force=true reloads). document_id selects/closes, or targets info/save/export without changing the active document. Existing paths protected unless overwrite. Close dirty document requires force.

Inputs: dpi, name, path, force, +8 more.

paint_fillA

Fill a raster layer (layer_id or active) within the selection, and within the polygon points when given (smooth=true: a curve through them) - a gradient for one shape needs no separate selection. Gradient start/end or flood point in document pixels; a gradient covers the whole allowed area (end colours continue beyond start/end). Opacity 0..1. Flood samples the target layer or merged painting. kind=clear erases the selection/polygon (or whole layer) to transparency; opacity<1 erases partially; clearing an alpha-locked layer is an error.

Inputs: end, kind, color, point, +10 more.

paint_filterA

Filter a raster layer within the selection, honouring alpha lock (with alpha_lock a blur stays inside the shape). blur: premultiplied Gaussian radius 0..250 (glow: duplicate layer, blur, blend screen/add; soft shadows). channel_shift: offsets {r:[dx,dy],g:[..],b:[..]} whole pixels (chromatic aberration, misregistration). noise: amount 0..1 seeded grain, monochrome or per-channel. relief: emboss lighting, amount 0..1 strength, radius softness, angle = light direction (135 = upper left), source luminance (brushwork, impasto) or alpha (cut paper, foil), depth 0.1..50 multiplies slopes (4..20 for gentle painted height maps). levels: black/white input points 0..255 and gamma (>1 lightens midtones). threshold: level 0..255, black-and-white by luminance (photocopy, stencil). invert: colour negative. hue_saturation: hue degrees, saturation factor 0..4, lightness -1..1. Colour filters keep alpha. For the whole picture use paint_layer(stamp_visible) first.

Inputs: kind (required), hue, seed, angle, +14 more.

paint_fontsA
Read-only

List installed TrueType/OpenType font names and paths, optionally filtered by filename. supports= keeps only fonts with glyphs for all its characters (e.g. Cyrillic).

Inputs: query, supports.

paint_historyA

Undo/redo complete atomic scene operations. A batch is one step. Bounded in-memory history; .apaint stores current scene, not undo buffers.

Inputs: steps, action, document_id.

paint_layerA

Manage layers by id or unique name. Indices bottom-to-top. create inserts above the active layer unless position (top/bottom) or index is given; reorder takes index or position top/bottom. stamp_visible adds a merged copy of everything visible (default at the top). name names created, duplicated or stamped layers; names are unique (an existing explicit name is an error, automatic names get ' 2'). merge_down accepts a clipped or non-normal upper layer (blended with the lower one only). properties (on create or update): name, opacity(0..1), blend, visible, locked, alpha_lock, clipping. Results include index and layer_count; list reports object_count (paint_object lists objects).

Inputs: kind, name, index, action, +5 more.

paint_objectC

Edit retained text/vector objects by stable IDs. update changes geometry/style/brush or six-coefficient transform, then rerenders from retained source.

Inputs: action, changes, layer_id, object_id, +1 more.

paint_patternA

Pattern fill drawn by the engine inside points (polygon; smooth=true for curves), rectangle, or the selection/whole layer. hatch: lines at angle (degrees, clockwise from +x) or angles=[45,-45] crosshatch, spacing/width px, jitter 0..1 (hand-made breaks, wobble, offsets), taper 0..1 dash ends, dash [on,off]. stipple: random dots, spacing = mean distance, size diameter, size_jitter, density = keep probability. halftone: dot grid at angle with pitch spacing, dot diameter size*sqrt(level) (Ben-Day, print screens). dither: ordered Bayer 8x8 with cell px art pixels (pixel-art gradients). density 0..1 (default hatch 1, others 0.5) and gradient {type: linear|radial, start:[x,y], end:[x,y], from, to} set the tone; texture 0..1 adds document-fixed paper grain. Patterns are anchored to the document, so adjacent fills continue seamlessly.

Inputs: kind (required), cell, dash, seed, +19 more.

paint_regionC

Named document region [left,top,right,bottom], stored in project. Use paint_snapshot(region=name) for stable detail comparisons across preview views.

Inputs: name (required), action, rectangle, document_id.

paint_sampleA
Read-only

Read exact RGBA at document pixel points; merged canvas, or one layer (layer_id, or active with sample_merged=false).

Inputs: points (required), layer_id, document_id, sample_merged.

paint_selectionA

Set an exact pixel selection mask immediately. rectangle=[left,top,right,bottom], document pixels, corners in any order; may extend past the canvas; zero size selects nothing. antialias=false gives hard 0/255 edges (polygons use the pixel-centre rule, [x0,x1)). smooth=true makes a polygon a smooth curve through its points. from_layer/flood read layer_id (default active); from_layer threshold 1..255 selects pixels at least that opaque, hard. feather/grow/shrink radius <=100; grow/shrink are round (Euclidean), so circles stay circles. Flood tolerance 0..255 (binary). Selection constrains subsequent raster operations.

Inputs: point, action, points, radius, +9 more.

paint_shapeA

Geometry rendered only within its own bounds (fast even on big canvases). Points are pairs [[x,y],...]. Box shapes use two corners in either order; cubic bezier four control points. Zero-size boxes and polygons with <3 distinct points are skipped (result 'skipped'), not errors. Fill+outline in one call keeps outlines on edges. smooth=true: polygon/line through its points as a smooth curve. bleed px widens the fill to hide seams between adjacent antialiased facets. antialias=false paints hard pixels (boxes and polygons cover [x0,x1)). Vector layer retains editable objects, raster layer paints pixels. Pixel selection applies only to raster.

Inputs: shape (required), points (required), fill, bleed, +8 more.

paint_snapshotA
Read-only

Return actual rendered canvas/layer/selection/mask pixels and persistent ID/hash. Matching prior crop reports pixel changes, never beauty. Preview max_side 64..8192; upscale=true enlarges small crops by an integer nearest-neighbour factor up to max_side (a note says when max_side is too small). path saves the preview (overwrite=true replaces an existing file). Use document export for full resolution.

Inputs: path, label, region, source, +9 more.

paint_stateA
Read-only

Inspect authoritative scene/layer/brush state, document IDs, capabilities and limits. No desktop access.

Inputs: no named parameters.

paint_strokesB

Render an atomic stroke batch with real pressure, taper and antialiasing into layer_id (default active). brush/color/smooth/dash here are defaults for every stroke; per-stroke values override. smooth=true draws Catmull-Rom curves through the points; dash=[on,off] dashes, [0,gap] dots. An empty list paints nothing. Document pixels independent of preview. Failure rolls back the complete call.

Inputs: strokes (required), dash, brush, color, +6 more.

paint_textA

Create editable Unicode text (a new text layer above the active layer named layer_name, or into the text layer layer_id - never a raster layer), or update object by IDs. Style: font(name/path),font_size,color,outline_width,outline_color,letter_spacing(px tracking, keeps kerning),line_height(absolute px baseline-to-baseline) or line_spacing(extra px gap),align(left/center/right/justify),scale_x,scale_y,rotation(clockwise degrees),anchor(lt default; l/m/r + t/m/b/s; mm centres on x,y; ls puts the first baseline on y). Returns bbox (ink bounds) and missing_glyphs if the font lacks characters.

Inputs: x (required), y (required), text (required), style, +4 more.

paint_timelapseA

Optional timelapse of a painting; recording is off by default - start it only when the user asks for a timelapse. start: record every later state-changing call of the document into folder path (default under the state dir; overwrite=true reuses a recording folder). stop: finish (closing the document also stops). status: whether the document is recorded. render: replay the recording folder path in a private engine (open documents are untouched) into an MP4 output (default /timelapse.mp4): seconds of build-up (default 5..20 from the amount of work), hold seconds of the finished picture, fps, max_side px. Needs ffmpeg (PATH or AGENT_PAINT_FFMPEG). The result reports verified=true when the replay ends on exactly the recorded picture.

Inputs: fps, hold, path, action, +5 more.

paint_transformA

Affine layer transform (document canvas fixed). matrix=[a,b,c,d,e,f], x'=ax+by+c,y'=dx+ey+f; or translate/scale/clockwise degrees about origin. resample='nearest' keeps pixel art crisp. Text/vector source remains editable. selection_only cuts/moves selected raster pixels.

Inputs: scale, matrix, origin, layer_id, +5 more.

paint_viewB

Set preview crop/zoom/rotation. Does not change any drawing coordinates or pixels. Empty arguments restore overview. Snapshot(use_view=true) displays this view.

Inputs: zoom, center, rotation, rectangle, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 23 tools

    Disambiguation4/5

    Most tools are clearly distinct: state/sample/snapshot form a reading family whose granularity levels are explained, and the fill/shape/pattern trio each announces its own rendering semantics. Some residual overlap exists between paint_shape (fills polygons), paint_fill, and paint_pattern, and between paint_text/paint_object for retained text, but the descriptions give decent decision guidance.

    Naming Consistency5/5

    Every tool uses the same paint_<noun> snake_case pattern with no stylistic deviations, and the shared prefix makes the family immediately recognizable.

    Tool Count4/5

    23 tools is on the heavy side, but the domain is a full painting engine (documents, layers, brushes, strokes, selection, filters, patterns, objects, timelapse), and each tool maps to a genuine capability rather than a redundant variant.

    Completeness4/5

    Coverage is broad: document lifecycle, layer creation/reorder/merge, drawing, selection, text/vector objects, filters, patterns, history, batch and timelapse. Minor gaps remain, notably no explicit layer delete operation and no canvas resize/crop, though agents can work around several of these via stamp_visible/merge and export scaling.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Exposes a Pygame-based drawing canvas as an MCP server, allowing LLMs to create digital art using standard shapes and freehand paths. It features a specialized oil paint mode that simulates realistic color mixing, paint depletion, and textured brush strokes.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to drive a layered raster image editor with painting, shapes, text, filters, and internet-sourced images and fonts via MCP tool calls, with token-efficient rendering and export.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Gives AI agents a real paint canvas over MCP — layers, anti-aliased shapes, paths, brushes, fills, gradients, filters, transforms, undo/redo, and PNG/JPG/BMP/SVG import-export — with every drawing call returning the picture so the model can inspect and correct its own work. Ships one tool per operation plus a batch tool, preview, inspect, and an optional localhost live view.
      25
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables LLM-driven painting agents to control Krita through MCP tools, iteratively reconstructing a target image by observing canvas snapshots, diff heatmaps, and session state. It exposes observation, drawing, brush, color, layer, selection, vector, filter, document I/O, and session tools for closed-loop artwork generation.
      1
      MIT