Atelier
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Atelier paint a moonlit lake with a small boat and pine trees"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Atelier
A painting studio that an AI agent drives over MCP, with a live browser UI that replays every stroke as if it were drawn by hand with a pen.

"Moonlit Lake": painted end to end by an agent through Atelier's MCP tools.
What it is
The server renders everything with Skia (@napi-rs/canvas). Every change is sent to the browser as a composite patch plus an animation descriptor (stroke polyline, shape outline, fill origin...). The UI reveals the patch progressively along that path with a pen cursor, so you watch the painting being built stroke by stroke, and the final frame is pixel-identical to the server render.
Brush engine: dab, ribbon, bristle, smudge, filter and pixel brushes; 17 tips, grain textures, wet edges, glow, pressure curves, jitter, and 41 presets (pencil, ink, calligraphy, watercolor, gouache, oil, charcoal, airbrush, foliage, fur, neon, smudge, dodge/burn, eraser...). Custom brushes can be saved with
define_brush.Filters: 29 filters (blur, motion/zoom blur, curves, levels, gradient map, glow/bloom, drop shadow, outline, warp, kuwahara, chromatic aberration...).
Shapes and text: vector shapes from primitives or SVG path strings, with fill/stroke or a hand-drawn brush outline; text with fonts and text-on-path.
Fill and selections: flood fill; gradients and patterns; selections (rect, ellipse, polygon, lasso, path, magic wand, color range, layer alpha) with feather/grow/shrink/border/smooth/invert.
Layers: 17 blend modes, opacity, clipping, alpha lock, masks, transforms, merge, duplicate, canvas resize, image import.
History: copy-on-write undo/redo (one tool call, or one whole script, is one step), autosaved projects and a timelapse log.
Inspection for the agent:
snapshot(with grid, marks, grayscale or flip),sample_colors,analyze(palette and value histogram), andui_screenshotof the live UI via headless Chrome.Scripting:
batchmany tool calls at once, orrun_scriptin a sandbox with helpers (rand,gauss,noise,fbm,hsl,mix, ...) for procedural work.
Related MCP server: zibel
Tools
new_canvas, canvas_settings, get_state, open_ui, stroke, shape, text, fill, import_image, select, filter, add_layer, update_layer, delete_layer, duplicate_layer, merge_layers, clear_layer, transform_layer, layer_mask, list_brushes, define_brush, snapshot, ui_screenshot, sample_colors, analyze, undo, redo, history, note, export_image, save_project, load_project, list_projects, batch, run_script.
The server also ships MCP instructions that explain the workflow to the agent; list_brushes documents every brush parameter.
Install
Requires Node.js 20+ and, for ui_screenshot / auto-opening the UI, Google Chrome (or Chromium).
git clone https://github.com/Baklawaa/atelier.git
cd atelier
npm installUse with an MCP client
Point your client at src/server.js over stdio. Examples:
maki (~/.config/maki/mcp.toml)
[mcp.atelier]
command = ["node", "/path/to/atelier/src/server.js"]
timeout = 120000Claude Desktop / Claude Code / other JSON configs
{
"mcpServers": {
"atelier": { "command": "node", "args": ["/path/to/atelier/src/server.js"] }
}
}Painting tools can take a while on large canvases, so give the client a generous tool timeout.
When the agent calls new_canvas or open_ui, the studio opens at http://127.0.0.1:7878. The page shows the canvas, layers, history and the agent's notes, and animates strokes in real time. Add ?speed=instant to skip the animation or ?panels=0 to show only the canvas.
Configuration
Variable | Default | Purpose |
|
| UI/HTTP port (tries the next one if busy) |
|
| Bind address |
|
| Projects, snapshots, saved brushes |
|
| Set to |
| auto-detected | Path to a Chrome/Chromium binary |
HTTP endpoints: /api/export.png, /api/state, /api/timelapse.
Run only the UI server (no MCP) for manual testing:
node src/server.js --standaloneTests
npm test # smoke test over MCP
node test/features.js # layers, selections, masks, filters, batch, projects
node test/live.js # real-speed UI run + pixel comparison with the server render
node test/demo.js # paints the Moonlit Lake demo into ~/.atelierLayout
src/server.js MCP entry (stdio) / --standalone UI server
src/studio.js transactions, undo, broadcast, autosave, HTTP + WebSocket
src/tools.js MCP tool definitions and schemas
src/inspect.js snapshot, color sampling, analysis, UI screenshots
src/engine/ brushes, filters, shapes/text/fill/selection ops, compositor
ui/ browser viewer and stroke animator
test/ end-to-end tests and the demo paintingLicense
MIT
Available Tools
35 toolsadd_layerAdd layerC
Add a new layer (becomes active by default).
Inputs: clip, fill, name, above, +6 more.
analyzeAnalyze colors & valuesB
Dominant palette (k-means), mean luminance, contrast and a value histogram of the composite or a layer/region — for checking value structure and color harmony.
Inputs: layer, colors, region.
batchBatchA
Run many tool calls in one request, sequentially (each one is its own undo step). Stops at the first error and reports it. Example: {ops:[{tool:"add_layer",args:{name:"Ink"}},{tool:"stroke",args:{brush:"ink",strokes:[...]}}]}
Inputs: ops (required).
canvas_settingsCanvas settingsB
Rename the document, change the paper/background color, or resize the canvas (crop/extend with an anchor, or scale all content).
Inputs: name, resize, background.
clear_layerClear layerC
Erase a layer completely (or just inside the selection).
Inputs: layer, target.
define_brushDefine brushA
Save a custom brush preset (persisted across sessions) built on a base preset plus parameter overrides. Use its name as brush afterwards.
Inputs: name (required), params (required), base, delete, +1 more.
delete_layerDelete layerC
Delete a layer.
Inputs: layer.
duplicate_layerDuplicate layerB
Duplicate a layer (placed above it, becomes active).
Inputs: name, layer.
export_imageExport imageB
Export the composite (or selected layers / a region) to PNG, JPEG or WebP at any scale.
Inputs: path (required), scale, format, layers, +3 more.
fillFillB
Paint-bucket flood fill at (x,y) (mode "flood", region found by color similarity on the composite or the layer), or fill the whole selection/layer (mode "all") with a color, gradient or pattern. Respects the selection.
Inputs: x, y, mode, blend, +10 more.
filterApply filtersA
Apply one or more filters in sequence to a layer (confined to the selection if any; opacity < 1 blends with the original). Filters & params:
blur: radius (px, gaussian sigma, default 4)
motion_blur: angle (deg), distance (px, default 20)
zoom_blur: cx, cy (doc px, default region center), amount (0..1, default 0.15)
sharpen: amount (default 0.8), radius (default 1.5)
noise: amount (0..1, default 0.1), mono (bool, default true), seed
hue_saturation: hue (deg shift), saturation (-100..100), lightness (-100..100)
brightness_contrast: brightness (-100..100), contrast (-100..100)
exposure: ev (stops, e.g. 0.5 or -0.7), gamma (default 1)
levels: inBlack (0), inWhite (255), gamma (1), outBlack (0), outWhite (255)
curves: points [[in,out],...] 0-255 (monotone spline), channel: rgb|r|g|b
color_balance: shadows/midtones/highlights: [r,g,b] each -100..100 (cyan-red, magenta-green, yellow-blue)
colorize: hue (deg), saturation (0..100, default 50), lightness (-100..100)
color_overlay: color, opacity (0..1), blend (normal, multiply, screen, overlay, color, soft-light...)
vibrance: amount (-100..100)
invert: -
grayscale: -
sepia: amount (0..1, default 1)
posterize: levels (2..32, default 5)
threshold: level (0..255, default 128), colors? [dark, light]
gradient_map: stops: ["#000", "#f80", "#fff"] mapped from shadows to highlights
pixelate: size (px, default 8)
glow: radius (default 12), intensity (default 1), threshold (0..255 luminance, default 0 = everything glows), color (optional tint), mode: halo (default: glow around, subject unchanged) | add (additive bloom over the subject; alias type "bloom")
drop_shadow: dx, dy (default 6), blur (default 8), color (default #000), opacity (default 0.5)
outline: width (px, default 3), color (default #000), opacity (default 1)
warp: mode: wave|ripple|twirl|pinch|bulge|noise; amplitude (px), wavelength (px), angle, cx, cy, radius, strength, seed
kuwahara: radius (default 4) — painterly smoothing (alias oil_paint)
vignette: strength (0..1, default 0.5), radius (0..1, default 0.75 of half-diagonal), color (default #000)
chromatic_aberration: amount (px, default 4), angle (deg)
emboss: angle (deg, default 135), strength (default 1), mix (0..1 blend with original, default 1)
Inputs: filters (required), edge, layer, target, +1 more.
get_stateGet document stateB
Document size, layers (top→bottom with index, id, blend, opacity, flags and content bounding box), active layer, selection, undo depth, UI URL & viewers.
Inputs: no named parameters.
historyHistoryC
List recent undoable steps.
Inputs: limit.
import_imageImport imageB
Place an image (file path, http(s) URL or data URL) onto a new layer (or an existing one) — e.g. a reference to trace or a texture.
Inputs: source (required), x, y, fit, +5 more.
layer_maskLayer maskA
Manage a layer mask (non-destructive hiding): add (from reveal-all, hide-all or the selection), apply (bake), delete, invert, enable, disable. Paint on it with stroke/fill target:"mask" (paint reveals, blend "erase" hides).
Inputs: action (required), from, layer.
list_brushesList brushesC
List brush presets (with descriptions), custom brushes, all brush parameters, tips, grain textures, patterns, blend modes and pressure curves.
Inputs: detail.
list_projectsList projectsB
List saved projects (newest first).
Inputs: no named parameters.
load_projectLoad projectB
Open a saved project (by folder name from list_projects, or an absolute folder path).
Inputs: project (required).
merge_layersMerge layersA
Merge a layer down into the one below, merge all visible layers, or flatten everything (including the paper color) into one layer.
Inputs: mode (required), layer.
new_canvasNew canvasA
Start a NEW drawing (discards the current one from the view; it stays saved as a project). Creates layers bottom→top from layers. Opens the live UI in the browser if no viewer is connected.
Inputs: name, width, height, layers, +2 more.
noteArtist noteA
Show a short narration caption in the live UI ("Blocking in the sky with a wet wash...") so the viewer follows your process.
Inputs: text (required).
open_uiOpen live UIA
Open the live painting UI (watch every stroke being drawn) in the default browser and return its URL.
Inputs: open.
redoRedoC
Redo N undone steps.
Inputs: steps.
run_scriptRun drawing scriptA
Run JavaScript that draws procedurally (forests of grass, hatching, particles, patterns...). The whole script is ONE undo step and is animated live in the UI. All calls are synchronous. API (same args as the tools): stroke(strokeOrArray, defaults?) shape(shapeOrArray, opts?) text(itemOrArray, opts?) fill(args) filter(filterOrArray, opts?) select(args) addLayer(args) updateLayer(args) deleteLayer(ref) duplicateLayer(args) mergeLayers(args) clearLayer(args) transformLayer(args) layerMask(args) canvasSettings(args) note(text) sample(x, y, layer?) -> {hex, alpha, hsl} layers() -> [{id,name,...}] W, H (canvas size) rand() [0,1) seeded · random(a,b) · randInt(a,b) · pick(array) · gauss() ≈N(0,1/3) clipped to [-1,1] · noise(x,y) Perlin [-1,1] · fbm(x,y,octaves) hsl(h,s,l,a?) s,l in 0..100 -> css · rgb(r,g,b,a?) · mix(colorA, colorB, t) -> hex · lighten(color, amount) · lerp · clamp · print(...) (console.log too) Example: for (let i=0;i<300;i++){ const x=random(0,W); stroke({brush:"grass", color:hsl(100+random(-15,15),45,random(25,45)), points:[[x,H-20],[x+random(-20,20),H-60-random(0,80)]], layer:"Grass"}) }
Inputs: code (required), seed, label.
sample_colorsSample colorsA
Eyedropper: read colors at points from the composite (or one layer). Returns hex, alpha and HSL.
Inputs: points (required), layer, radius.
save_projectSave projectA
Projects autosave after every change. Use this to force a save, or to save a copy into another folder.
Inputs: path.
selectSelectionA
Create/modify the selection. While a selection exists, ALL painting, fills, filters and clears are confined to it (soft edges with feather). action: rect{x,y,w,h,radius} | ellipse{cx,cy,rx,ry|r,rotation} | polygon/lasso{points} | path{d} | wand{x,y,tolerance,contiguous,sample,layer} | color{x,y,tolerance} | layer_alpha{layer} | all | none | invert | feather{amount} | grow{amount} | shrink{amount} | border{amount} | smooth{amount}. mode: replace (default) | add | subtract | intersect.
Inputs: action (required), d, h, r, +18 more.
shapeDraw shapesA
Draw vector shapes: rect, ellipse, circle, polygon, polyline, line, star, regular polygon, arc, pie, or any SVG path. Each can have a fill (color / gradient / pattern), a crisp vector stroke, a HAND-DRAWN brush outline (brush), rotation, opacity, blend and drop shadow.
Inputs: shapes (required), layer, target.
snapshotSnapshot (see the canvas)A
Render the canvas (or a region, or chosen layers) to an image you can SEE. Optional coordinate grid with labels, crosshair marks at points (to check placement before drawing), grayscale value check, horizontal flip (fresh-eye check). Also saved to disk.
Inputs: flip, grid, save, marks, +7 more.
strokePaint strokesA
Paint one or more hand-drawn brush strokes. Top-level brush params are defaults for every stroke; each stroke can override any of them. Coordinates are canvas px (origin top-left, +y down). Points [x,y,pressure]: pressure 0..1 drives size/opacity per the brush (pressureSize/pressureOpacity). Tips: use several strokes per call; vary pressure for life; taperStart/taperEnd for pointed ends; blend:"erase" to erase; brush "smudge"/"blender" to blend paint; target:"mask" paints a layer mask (paint = reveal, blend "erase" = hide). Use list_brushes to see all presets and parameters.
Inputs: strokes (required), nib, tip, flow, +47 more.
textDraw textC
Typeset text (multi-line, any installed font, gradient fills, outline, shadow, rotation) or lay text along an SVG path.
Inputs: items (required), layer.
transform_layerTransform layerB
Move / scale / rotate / skew / flip a layer's pixels (or only the selected pixels with selectionOnly, which also moves the selection). Order: translate, rotate, skew, scale around origin.
Inputs: flip, skew, layer, scale, +4 more.
ui_screenshotScreenshot the live UIA
Screenshot the actual browser UI (headless Chrome) to verify what the viewer sees: canvas, layers panel, toolbars.
Inputs: save, delay, width, height, +1 more.
undoUndoA
Undo the last N steps (each tool call is one step; a batch op or a whole script is one step).
Inputs: steps.
update_layerUpdate layerA
Change layer properties (name, visibility, opacity, blend mode, lock, alpha lock, clipping, mask enable), make it active, or reorder it (move up/down/top/bottom, above/below another layer, or to an index).
Inputs: clip, move, name, above, +10 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 35 tools
Most tools target a distinct object+action (stroke/shape/text/fill, and a clean layer family). The genuinely confusable pairs are batch vs. run_script (both scripted multi-operation execution) and snapshot vs. ui_screenshot (canvas render vs. browser chrome), but their descriptions make the distinction explicit. filter vs. fill and analyze vs. sample_colors are close in flavor yet clearly separated by purpose.
Layer and project tools follow a predictable verb_noun pattern (add_layer, duplicate_layer, merge_layers, list_projects, load_project), but painting primitives use bare single words (stroke, shape, text, fill, select, filter) and a few names invert the pattern (open_ui vs. ui_screenshot, snapshot, batch). The families are internally consistent and readable, so it's mixed conventions rather than chaos.
35 tools is heavy for an agent to scan, but the domain is a full raster/vector painting app with scripting, so almost every tool maps to a real capability. Nothing looks like filler (note, history, undo/redo, ui_screenshot all serve the agent's verification loop), yet the sheer surface imposes a real selection burden.
Coverage is unusually thorough: canvas lifecycle, full layer stack with masks and blend modes, selections, brushes, filters, text/shapes, import/export, undo/redo history, save/load, plus visual verification (snapshot, ui_screenshot, analyze, sample_colors). The main gap is project management — projects can be listed and loaded but not renamed or deleted — a minor dead end agents can work around.
Maintenance
Related MCP Connectors
Agent-Native design tool - create and edit visual designs with agent assistance
Real-time collaborative whiteboard — AI agents and humans edit the same board live over MCP.
Your AI agent designs editable, clickable UI prototypes on a live canvas.
Live, editable canvas for AI agents — author graphs via MCP, then watch and reroute runs live.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables 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
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to create and edit vector drawing documents over MCP, with tools to draw shapes, read document outlines, and render PNG previews while humans work in the same Illustrator-style canvas.Apache 2.0
- AlicenseAqualityCmaintenanceGives 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.251MIT
- AlicenseNot gradedqualityBmaintenanceEnables 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.2MIT