aseprite-mcp
Provides 73 tools for driving the Aseprite pixel art and sprite animation editor, covering sprites, layers, frames, cels, drawing and pixel editing, selections and clipboard, palettes, tags, slices, tilemaps, filters, preferences and export (PNG previews, sprite sheets). Generic escape hatches allow running any of Aseprite's menu commands or arbitrary Lua against its scripting API. It can operate in batch mode, running a headless Aseprite process against files, or in live mode via a bridge extension connected to an open Aseprite window, where edits go through the undo history and the active sprite, layer, frame and selection persist between calls.
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., "@aseprite-mcp create a 32x32 bouncing ball sprite with 8 frames and export it as PNG"
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.
aseprite-mcp
An MCP server for Aseprite, the pixel art and sprite animation editor. It exposes 73 tools that cover sprites, layers, frames, cels, drawing, selections, palettes, tags, slices, tilemaps, filters, preferences and export. Anything without a dedicated tool is still reachable through run_command, which runs any of Aseprite's 183 menu commands, and run_lua, which runs arbitrary Lua against the full scripting API.
The server can run Aseprite two ways. Batch mode starts a headless aseprite -b process for each call and works on files. Live mode talks to an Aseprite window you have open, so you watch the edits happen and can undo them.
The full parameter reference for every tool is in docs/tools.md.
Requirements
Node.js 20 or newer.
Aseprite 1.3. Development and testing used 1.3.18.6. A bought copy from Steam or the Aseprite website works, and so does a build from source.
The server looks for Aseprite in this order: the ASEPRITE_PATH environment variable, aseprite/build/bin/ inside the package folder, the default Steam and installer locations for Windows, macOS and Linux, and finally aseprite on PATH. If yours is somewhere else, set ASEPRITE_PATH to the executable. On macOS that is Aseprite.app/Contents/MacOS/aseprite, not the .app folder.
Related MCP server: aseprite-mcp
Install
There is nothing to install by hand. MCP clients start the server with npx.
For Claude Code:
claude mcp add aseprite -- npx -y aseprite-mcpWith a custom Aseprite location:
claude mcp add aseprite -e ASEPRITE_PATH="D:/Tools/Aseprite/Aseprite.exe" -- npx -y aseprite-mcpFor Claude Desktop, Cursor, VS Code and other clients that read a JSON config, add this to the mcpServers section:
{
"mcpServers": {
"aseprite": {
"command": "npx",
"args": ["-y", "aseprite-mcp"],
"env": {
"ASEPRITE_PATH": "C:/Program Files/Aseprite/Aseprite.exe"
}
}
}
}Leave out env if Aseprite is in one of the default locations. Ask the client to call the status tool to confirm the server found the executable.
To run from a clone instead:
git clone https://github.com/shin2344234/aseprite-mcp.gitcd aseprite-mcp && npm install && npm run buildThen point the client at node /path/to/aseprite-mcp/dist/index.js.
Batch and live mode
Every tool takes a backend parameter. The default, auto, uses live mode when an Aseprite window is connected and batch mode otherwise. Pass "live" or "batch" to force one.
In batch mode each call is a fresh Aseprite process. Tools that touch a sprite need sprite set to a file path, and tools that change it save the file when they finish. Pass save: false to leave the file alone, which is useful for a dry run. Selections, undo history and unsaved sprites do not carry over from one call to the next. Batch mode has no fonts beyond a built-in 5x7 pixel font, no event log and no dialogs.
Live mode needs the bridge extension inside Aseprite. Ask the client to call launch_aseprite, which copies the extension into Aseprite's extensions folder and opens the window. You can also call install_extension and start Aseprite yourself. The extension connects to the server over a WebSocket on 127.0.0.1:41234. Once it is connected, sprite is optional and defaults to the active sprite, and the active layer, frame and selection stay put between calls. Every change goes through Aseprite's undo history.
The first time the extension opens its socket, Aseprite's script security asks for permission. The same prompt can appear the first time a live call writes a file. Choosing "Give full trust to this script" stops it coming back. If a live call times out, an unanswered prompt like this is the usual cause.
The extension adds File > Scripts > MCP Bridge... to Aseprite, which shows the connection state and lets you change the port. It reconnects on its own when the server restarts.
Conventions
Coordinates are canvas pixels with (0, 0) at the top left. Frame numbers, layer indices, tag indices and slice indices start at 1. Palette indices start at 0, matching Aseprite.
A color can be "#rrggbb", "#rrggbbaa", a CSS-style name such as "red" or "transparent", a palette index as a number, or an object: {r,g,b,a}, {h,s,v,a}, {h,s,l,a} or {gray,a}.
A layer can be its name, a path through groups such as "Body/Arm", or the index that get_sprite_info reports.
Relative file paths resolve against ASEPRITE_MCP_WORKDIR, which defaults to the directory the client started the server in. export and save_sprite return the full list of files they wrote, because Aseprite writes numbered files for multi-frame PNG exports.
What the tools cover
The groups below match the sections of docs/tools.md.
Group | Tools |
Setup and status |
|
Generic access |
|
Application state |
|
Sprites |
|
Layers |
|
Frames |
|
Cels |
|
Drawing and pixels |
|
Selection and clipboard |
|
Palette |
|
Tags, slices and properties |
|
Tilesets and tilemaps |
|
Rendering and export |
|
Live session |
|
A few of these do more than the name suggests.
render_preview returns an upscaled PNG of the sprite that the model can look at. Transparent pixels sit on a checkerboard aligned to the sprite's pixels, frames are laid out side by side with gray gutters, and an optional grid marks each pixel.
get_pixels returns a region as character rows plus a legend that maps each character to a color. draw_pixels accepts the same format, so a model can read a sprite, change a few characters and write it back.
use_tool drives Aseprite's own tools along a list of points, the same as dragging the mouse: pencil, line, curve, rectangles, ellipses, paint bucket, spray, gradient, contour, polygon, blur, jumble, eraser and the marquee, lasso and magic wand selection tools. It takes ink, opacity, tolerance, pixel-perfect mode and custom image brushes.
draw_shapes draws rectangles, rounded rectangles, ovals, lines, polylines, polygons, cubic beziers and free paths through Aseprite's vector drawing context. Antialiasing is off unless you ask for it.
draw_text uses Aseprite's text renderer in live mode, with its bundled fonts or any installed system font. Aseprite loads fonts only when its window is open, so in batch mode the tool falls back to a built-in 5x7 font that scales by whole numbers.
palette_edit adds, inserts, removes, moves, sorts, reverses, dedupes and generates ramps. In indexed sprites it remaps every cel and tile so pixels keep their colors.
view_settings reads and changes the grid, pixel grid, symmetry, tiled mode, onion skin, overlays and checkerboard. In live mode it also covers zoom, scroll, playback, the timeline and the preview window.
recent_events reports what the person at the keyboard did since the last check: edits, undo and redo, switching sprite, layer or frame, commands run and color changes. Changes made by MCP calls are left out by default.
ask_user opens a dialog in Aseprite with text, inputs and buttons, waits for an answer and returns it. It gives up after timeoutSeconds, 300 by default, and returns timedOut: true.
list_commands lists every menu command with its parameter names and defaults, taken from Aseprite's C++ source. api_docs serves the Lua API reference from the bundled copy of aseprite/api. cli runs the Aseprite command line for things like --sheet, --split-layers and --list-tags.
Configuration
Variable | Default | Meaning |
| search, see Requirements | Full path to the Aseprite executable. |
|
| Port the server listens on for the bridge extension. Change it in the extension's MCP Bridge dialog too. |
| the server's working directory | Base directory for relative file paths. |
|
| How long a batch call may run before the process is killed. |
|
| How long a live call waits for Aseprite to answer. |
| the platform default | Aseprite's user folder, where |
Troubleshooting
If status reports that Aseprite was not found, set ASEPRITE_PATH. With Steam, the executable is in steamapps/common/Aseprite inside your Steam library folder.
If live calls time out, look at the Aseprite window for a script security prompt or another modal dialog. Aseprite runs scripts on its UI thread, so an open dialog blocks every call.
If status says the bridge is not connected while Aseprite is open, check that the extension is enabled under Edit > Preferences > Extensions and that its port matches ASEPRITE_MCP_PORT. Only one server process can own the port. A second server, for example from a second client window, keeps working in batch mode and retries the port every 15 seconds.
Commands that need a timeline range, such as ReverseFrames, return false in batch mode because a headless process has no timeline. link_cels needs live mode for the same reason. Unlinking works in both.
How it works
Each operation is a handler in lua/runtime.lua. The TypeScript server in src/ validates the tool arguments, resolves paths and sends the call to one of two runners.
For batch mode, src/batch.ts writes the request to a temp file and runs aseprite -b --script-param ... --script lua/runner.lua. The runner loads the runtime, dispatches the call, saves the sprites it changed and writes the response file. Calls run one at a time.
For live mode, extension/plugin.lua opens a WebSocket client inside Aseprite. On connect, the server sends the source of runtime.lua, so the extension never needs updating when handlers change. Tool calls and results travel as JSON frames over the same socket. The server pings every 5 seconds, and the extension reconnects after 15 seconds without a message.
During a live call the runtime turns off Aseprite's "format doesn't support layers", overwrite and per-format option alerts, then puts the user's settings back. It also commits any floating pixels left by a paste or a selection transform, before and after the call, so each call sees plain cel contents.
Aseprite bugs worked around
These are in Aseprite 1.3.18.6 itself.
The gradient tool crashes headless Aseprite with an access violation. It reads dithering settings from the context bar, which does not exist in batch mode. use_tool draws linear gradients in Lua in batch mode instead.
The SaveFileCopyAs command object is reused between calls in the GUI and appends fromFrame and toFrame to the previous call's frame list, so a range export writes extra frames. Those parameters are also 0-based. export takes 1-based ranges and exports a trimmed copy of the sprite.
When a WebSocket onreceive callback raises a Lua error, Aseprite stops the socket for good and never sends a close event. The bridge wraps every callback in pcall.
The app.range setters do nothing while the timeline is closed. link_cels and set_active open the timeline before setting a range.
ReselectMask refuses to run from a script, even right after a deselect. select keeps the last selection it cleared and restores that.
Development
npm installnpm run buildnpm run docs regenerates docs/tools.md from the schemas the built server registers. Run it after changing any tool.
npm test calls all 73 tools through a real MCP client over stdio in batch mode and fails if any tool goes uncalled. Most calls are followed by a check of the result: pixels read back with get_pixels, layer and frame structure, palette contents and files on disk. npm run test:live does the same against a GUI instance it starts itself, and adds selection editing, cel linking, undo, events, view controls and dialogs. The batch run makes 170 checks and the live run 197. The live run checks ask_user through its timeout. Set ASK_USER=1 and click OK in Aseprite to check the button path too.
node test/call.mjs <tool> '<json args>' makes a single call, which helps when debugging a handler.
The data files under data/ come from Aseprite's source tree. With the source checked out in aseprite/:
python scripts/extract_commands.py aseprite data/api data/commands.jsonpython scripts/extract_prefs.py aseprite data/preferences.jsonscripts/build-aseprite.bat builds Aseprite from source on Windows with the Visual Studio 2022 Build Tools, using a prebuilt Skia m124 from aseprite/skia unpacked to deps/skia. The server finds a build in aseprite/build/bin/ without any configuration.
License
The server, Lua runtime and extension are MIT licensed. See LICENSE.
The Lua API reference in data/api is a copy of aseprite/api, MIT licensed by Igara Studio and David Capello, with its license in data/api/LICENSE.txt.
Aseprite itself is not included. Its EULA does not allow redistributing the source or binaries, so you need your own copy, bought or built from source for personal use.
Available Tools
73 toolsadd_framesA
Adds frames. By default copies the previous frame's cels; empty=true adds blank frames.
Inputs: at, save, count, empty, +4 more.
add_layerB
Adds an image, group or tilemap layer, optionally inside a group or above/below another layer, with its properties set.
Inputs: x, y, data, name, +19 more.
add_sliceB
Adds a slice (with optional 9-slice center and pivot), or duplicates one with copyFrom.
Inputs: data, name, save, color, +7 more.
add_tagC
Adds an animation tag over a frame range.
Inputs: to, data, from, name, +7 more.
api_docsARead-only
Reads the Aseprite Lua API reference (bundled from github.com/aseprite/api). Without a topic, lists topics. Topics include app, sprite, layer, cel, image, color, palette, tag, slice, tileset, selection, dialog, websocket, and command/.
Inputs: topic.
apply_filterA
Applies an image filter command to the active cel(s) or selection: BrightnessContrast, HueSaturation, ColorCurve, ConvolutionMatrix, Despeckle, InvertColor, Outline, ReplaceColor. Params follow list_commands (e.g. Outline {color:'#000000', place:'outside', matrix:'circle'}; HueSaturation {hue, saturation, lightness, alpha}; BrightnessContrast {brightness, contrast}).
Inputs: filter (required), save, frame, layer, +4 more.
app_stateBRead-only
Returns Aseprite's current state: open sprites, active sprite/layer/frame, foreground/background colors, tool, brush, timeline range and editor zoom (live).
Inputs: backend.
ask_userA
Live mode: shows a dialog in Aseprite and waits for the user to answer. Can show text plus input fields (entry, number, slider, check, combobox, color, label) and buttons. Returns the pressed button and field values.
Inputs: text, title, fields, buttons, +1 more.
canvas_sizeB
Grows or shrinks the canvas without scaling pixels: either margins (left/top/right/bottom, negative values cut) or a new width/height with an anchor.
Inputs: top, left, save, right, +7 more.
change_color_modeC
Converts the sprite to RGB, grayscale or indexed, with optional dithering.
Inputs: mode (required), save, rgbmap, sprite, +6 more.
clearBDestructive
Clears a layer's cel(s) to transparent (or fills with a color): whole cel, a rect, or the selected area.
Inputs: to, tag, from, rect, +8 more.
cliA
Runs the Aseprite command line in batch mode (aseprite -b ) and returns its output. Useful for --sheet/--data exports, --split-layers, --list-tags, --save-as with {layer}/{frame} templates, --scale, --color-mode, etc. See https://www.aseprite.org/docs/cli/.
Inputs: args (required), timeoutSeconds.
clipboardA
Reads or writes the system clipboard: info, get_text, set_text, clear, get_image (returned as a preview image, or saved to 'file'), set_image (from an image file, or a rendered sprite frame/layer/rect).
Inputs: action (required), file, rect, text, +4 more.
close_spriteCDestructive
Closes an open sprite (live mode).
Inputs: save, sprite, backend, discardChanges.
convert_layerB
Converts a layer: to a Background layer, from Background to a normal layer, or between image and tilemap layers.
Inputs: to (required), save, layer, sprite, +1 more.
copy_celB
Copies a cel's image to another layer/frame (and optionally another open sprite).
Inputs: x, y, save, sprite, +6 more.
crop_spriteB
Crops the sprite to a rectangle, to the selection (mode='selection'), or trims empty borders (mode='auto').
Inputs: mode, rect, save, byGrid, +2 more.
delete_celCDestructive
Deletes the cel(s) of a layer in the given frames.
Inputs: to, tag, from, save, +5 more.
delete_framesBDestructive
Deletes one frame, a range, a list, or a tag's frames.
Inputs: to, tag, from, save, +4 more.
delete_layerBDestructive
Deletes a layer (and its children if it is a group).
Inputs: save, layer, sprite, backend.
delete_sliceCDestructive
Deletes a slice.
Inputs: slice (required), save, sprite, backend.
delete_tagADestructive
Deletes a tag (frames are kept).
Inputs: tag (required), save, sprite, backend.
draw_imageA
Draws an image file (PNG, etc.) into a layer/frame at (x,y). mode 'blend' composites over existing pixels, 'copy' overwrites the area, 'replace' swaps the whole cel image. Optional source crop, scale or target size.
Inputs: file (required), x, y, mode, +11 more.
draw_pixelsA
Sets individual pixels on a layer/frame (one undo step). Either 'pixels' as [[x,y,color],...] / [{x,y,color}], or pixel art as 'rows' of characters with a 'legend' mapping each character to a color; rows start at (x,y). Unmapped ' ' and '.' are skipped; map '.' to 'transparent' to erase. The cel grows as needed; pixels outside the canvas are dropped.
Inputs: x, y, rows, save, +7 more.
draw_shapesA
Draws vector shapes with optional antialiasing: rect, rounded_rect, oval/ellipse, line, polyline, polygon, bezier (cubic, points = start then control1, control2, end per segment), or path (ops: move/line/cubic/close). Each shape is stroked (width) or filled. Antialiasing is off by default to keep hard pixel edges. For pixel-exact aliased shapes use_tool is closer to Aseprite's own tools.
Inputs: shapes (required), save, color, frame, +7 more.
draw_textA
Draws text onto a layer. In live mode it uses Aseprite's text renderer with any font Aseprite knows (its built-in 'Aseprite' pixel font, or an installed system font by name such as 'Arial'). In batch mode, or with font='builtin', it uses a built-in 5x7 pixel font that can be scaled by whole numbers. Multi-line text with \n is supported.
Inputs: text (required), x, y, font, +14 more.
duplicate_layerB
Duplicates a layer with all its cels.
Inputs: name, save, layer, sprite, +1 more.
duplicate_spriteB
Makes a copy of a whole sprite (all layers, frames, tags, slices). In batch mode 'file' is required.
Inputs: file, sprite, backend.
exportA
Exports a copy of the sprite to any format (png, gif, webp, jpg, bmp, tga, pcx, ico, qoi, flc, svg, css, ...). Options: scale, a tag or a 1-based frame range, a slice, specific layers, or a filename template like 'out_{frame}.png' ({frame} counts from 0). Single-image formats with several frames get one file per frame (name1.png, name2.png..., or starting from a trailing number in the name); the result lists every file written.
Inputs: file (required), tag, scale, slice, +10 more.
export_sprite_sheetB
Exports a sprite sheet image plus optional JSON data (File > Export Sprite Sheet). Supports layouts, padding, trimming, extrusion, splitting by layers/tags, tilesets, and listing layers/tags/slices in the JSON.
Inputs: textureFilename (required), tag, rows, trim, +27 more.
flip_rotateB
Flips and/or rotates the whole sprite, the active cel(s) of a layer/frame, or the selection.
Inputs: flip, save, frame, layer, +4 more.
get_celsARead-only
Lists cels (layer/frame pairs with images) with bounds, opacity, z-index and data, filtered by layer and frames.
Inputs: to, tag, from, frame, +4 more.
get_paletteBRead-only
Returns the sprite palette as '#rrggbbaa' colors (index 0 first).
Inputs: index, sprite, backend.
get_pixelsARead-only
Reads pixels of the rendered frame (all visible layers) or of one layer. Default format 'legend' returns rows of characters plus a legend of colors ('.' = transparent); 'hex' returns a grid of '#rrggbbaa' (null = transparent). Indexed sprites return palette indices.
Inputs: rect, frame, layer, format, +3 more.
get_sprite_infoARead-only
Returns a sprite's full structure: size, color mode, frames and durations, layer tree (with opacity, blend mode, visibility...), tags, slices, tilesets, palette size, grid, selection and active layer/frame.
Inputs: sprite, backend, includeCels.
import_sprite_sheetB
Opens an image and slices it into frames (File > Import Sprite Sheet). Optionally saves the result.
Inputs: file (required), frameWidth (required), frameHeight (required), x, +6 more.
install_extensionA
Copies the bridge extension into Aseprite's user extensions folder. A running Aseprite must be restarted to load it.
Inputs: no named parameters.
launch_asepriteA
Starts the Aseprite GUI with the bridge extension and waits for it to connect, enabling live mode. The first time, Aseprite asks to allow the script's network and file access; tick 'Give full trust' / 'Don't show again' in that dialog.
Inputs: file, waitSeconds.
link_celsA
Links cels so several frames share one image (edits to one show in all), or unlinks them. Linking needs live mode. Unlinking works in both modes.
Inputs: to, tag, from, save, +7 more.
list_commandsARead-only
Lists Aseprite commands usable with run_command, with their parameters (extracted from the Aseprite source).
Inputs: query.
list_preferencesARead-only
Lists Aseprite preference sections and options (from pref.xml) for use with the preferences tool.
Inputs: section.
list_spritesBRead-only
Lists sprites open in Aseprite.
Inputs: backend.
merge_layersADestructive
Merges a layer into the one below (mode='down'), flattens all layers ('flatten'), or flattens only visible layers ('visible').
Inputs: mode, save, layer, sprite, +1 more.
move_frameC
Moves a frame (with its cels) to another position.
Inputs: to (required), from (required), save, sprite, +1 more.
new_spriteB
Creates a new sprite. In batch mode 'file' is required (the sprite is saved there).
Inputs: width (required), height (required), file, frames, +7 more.
open_spriteARead-only
Opens a sprite file (any format Aseprite reads: .aseprite, .png, .gif, .jpg, .webp, .bmp, .tga, .pcx, .ico, .flc, .qoi, .psd...) and returns its structure. In live mode it opens a tab.
Inputs: file (required), backend, oneFrame.
palette_editA
Edits the palette structure: add or insert colors, remove entries, move entries, sort (by hue, saturation, value, lightness, luminance, red, green, blue, alpha), reverse a range, generate a ramp between two colors, or dedupe. In indexed sprites pixels are remapped so they keep their colors (set remapPixels=false to skip); pixels using removed colors move to the nearest remaining one.
Inputs: action (required), at, by, to, +13 more.
preferencesA
Gets or sets an Aseprite preference (app.preferences..), a tool preference (tool=) or a per-sprite document preference (document=true). Use list_preferences to discover names.
Inputs: action (required), option (required), section (required), tool, +4 more.
propertiesA
Gets, sets, deletes or replaces custom properties on a sprite, layer, cel, tag, slice, tileset or tile. With pluginKey ('publisher/extension') it reads/writes that extension's properties instead of the user properties.
Inputs: tag, keys, save, frame, +10 more.
recent_eventsARead-only
Live mode: returns what happened in Aseprite since a sequence number: sprite changes (including undo/redo), switching sprite/layer/frame, commands run, and color changes. Events caused by MCP calls are hidden unless includeMcp is true. Pass the returned lastSeq as 'since' next time.
Inputs: limit, since, types, backend, +1 more.
render_previewARead-only
Renders frames as an image you can look at (nearest-neighbor upscaled, transparency shown as a checkerboard). Multiple frames are laid out in a grid in frame order. Use this after edits to check the result.
Inputs: to, tag, crop, from, +9 more.
replace_colorB
Replaces one color with another on a layer (or all layers) across frames, with optional per-channel tolerance (RGB).
Inputs: to (required), from (required), tag, save, +6 more.
resize_spriteB
Scales the whole sprite (all layers and frames). Give width and/or height, or scale.
Inputs: save, scale, width, height, +3 more.
run_commandA
Executes any Aseprite menu command (app.command.) with parameters, e.g. Flip, Rotate, Outline, BrightnessContrast, ColorQuantization, LinkCels, ReverseFrames, AutocropSprite. See list_commands for names and parameters. Strings like '#ff0000' become Colors; {x,y,width,height} becomes a Rectangle. ui=false is added unless allowUi is true.
Inputs: name (required), save, frame, layer, +5 more.
run_luaA
Runs Lua code inside Aseprite with the full scripting API (app, Sprite, Image, Layer, Color, ...). Globals: args (your args object), sprite (resolved sprite or app.sprite), MCP (helper runtime: MCP.color(), MCP.layer(spr, ref), MCP.sprite_info(spr) ...). print output is captured. The return value is sent back as JSON. Use api_docs for the API reference.
Inputs: code (required), args, save, sprite, +2 more.
save_paletteB
Saves the sprite palette to a file (.gpl, .pal, .act, .png, .ase, .hex...).
Inputs: file (required), sprite, backend.
save_spriteA
Saves a sprite (Save / Save As), or with copy=true saves a copy without changing the sprite's file name. The extension picks the format. Single-image formats get one file per frame (name1.png, name2.png...); the result lists the files written.
Inputs: copy, file, sprite, backend.
selectA
Creates or changes the selection: rect, ellipse, polygon, magic_wand (point), by_color, all, none, invert, reselect, content (layer pixels), modify (expand/contract/border), move (dx/dy), get, save or load (to/from a .msk or image file). The selection lives only in live mode or inside one run_lua call.
Inputs: action (required), dx, dy, file, +14 more.
selection_editB
Acts on the selection: copy, copy_merged, cut, paste (optional x,y), delete, fill, stroke (with color), move_content / move_bounds (dx,dy, wrap), new_sprite, new_layer_via_copy, new_layer_via_cut, crop.
Inputs: action (required), x, y, dx, +7 more.
set_activeB
Changes what is active in the UI: sprite/layer/frame, foreground/background color, tool, brush, editor zoom, and the timeline range (selected frames/layers/colors). Mostly useful in live mode.
Inputs: tool, zoom, brush, frame, +6 more.
set_frame_durationA
Sets frame durations in milliseconds for one frame, a range, a list, a tag, or 'all'.
Inputs: durationMs (required), to, tag, from, +5 more.
set_paletteB
Changes the palette: set colors starting at 'start', replace it entirely, resize, load from a file (.gpl, .pal, .act, .ase, .png...) or a built-in preset (e.g. DB16, DB32, PICO-8...), or generate it from the sprite's colors (fromSprite).
Inputs: file, save, size, start, +9 more.
set_sprite_propertiesB
Changes sprite metadata: filename, user data, tab color, transparent color index, pixel ratio, grid bounds, user properties, color space.
Inputs: data, save, color, sprite, +9 more.
statusARead-only
Shows the Aseprite executable in use, its version, and whether a live Aseprite is connected to the bridge.
Inputs: no named parameters.
tilemapA
Reads (action 'get') or writes (action 'set') the tile indices of a tilemap layer's cel. Set with 'cells' [{col,row,tile}] or 'rows' (2D array of tile indices, -1/null to skip) starting at col/row.
Inputs: col, row, rows, save, +6 more.
tilesetB
Tileset operations: list, add (tileSize, count), update (name, baseIndex, data), delete, add_tile, delete_tile, get_tile (pixels as rows+legend), set_tile (rows+legend or an image file). Tile index 0 is the empty tile.
Inputs: action (required), data, file, name, +11 more.
undo_redoB
Undoes or redoes steps on a sprite (live mode; batch processes have no history between calls).
Inputs: action (required), steps, sprite, backend.
update_celB
Changes a cel: position (absolute x/y or relative dx/dy), opacity, z-index, color, data, properties, or moves it to another frame.
Inputs: x, y, dx, dy, +11 more.
update_layerC
Changes layer properties: name, visibility, lock, opacity, blend mode, color, data, parent group, stack position.
Inputs: data, name, save, color, +13 more.
update_sliceD
Changes a slice.
Inputs: slice (required), data, name, save, +7 more.
update_tagC
Changes a tag's name, range, direction, repeats, color or data.
Inputs: tag (required), to, data, from, +8 more.
use_toolA
Draws with an Aseprite tool as if the user dragged through 'points' (app.useTool). Tools: pencil, brush-like strokes with eraser/spray/blur/jumble, line, curve (4 points), rectangle, filled_rectangle, ellipse, filled_ellipse, paint_bucket (1 point), gradient, contour, polygon, and selection tools (rectangular_marquee, elliptical_marquee, lasso, polygonal_lasso, magic_wand).
Inputs: tool (required), points (required), ink, save, +16 more.
view_settingsA
Reads or changes per-sprite view settings: grid (show, snap, bounds, color, opacity), pixel grid, symmetry mode and axes, tiled mode, onion skin, overlays (layer edges, selection edges, slices, auto guides, tile numbers, brush preview), checkerboard colors; and in live mode zoom, scroll, fit to screen, playback, timeline and preview window. Call with no options to read them.
Inputs: grid, show, zoom, scroll, +11 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 73 tools
Many tools target distinct resources and actions, but there is meaningful overlap among drawing tools (use_tool, draw_shapes, draw_pixels, draw_image, draw_text) and execution tools (run_command, run_lua, cli). Generic names like preferences, properties, status, and app_state also require careful reading to avoid misselection. Descriptions help, but boundaries are not always obvious.
All names use snake_case, which keeps them readable, but the conventions are mixed: verb_noun (list_sprites, add_layer), noun-only (tileset, clipboard, preferences), and noun_verb (selection_edit, palette_edit). There is no single predictable pattern across the set.
With 73 tools, this is far beyond the well-scoped 3-15 range and qualifies as an extreme mismatch by the rubric's 50+ threshold. Even for a broad application like Aseprite, the volume is likely to overwhelm an agent selecting the right tool.
The surface covers sprites, layers, frames, cels, tags, slices, tilesets, tilemaps, palettes, selections, drawing, filters, import/export, preferences, clipboard, events, and dialogs. It provides full CRUD and lifecycle operations across the Aseprite domain with no obvious gaps.
Related MCP Connectors
Pixel art for your game, from your coding agent. Generate sprites, items and tiles in your game's style (64 to 1024 px), make variants, reskins and N/E/S/W directions, then edit everything in a full pixel art editor that syncs into your project. Works with Claude, Claude Code, Cursor and ChatGPT; sign in with OAuth, no API key.
Turn images into pixel art, extract and remap palettes, and upscale sprites without blur.
Create indexed pixel sprites and animations. Export to Godot, Unity, Phaser, and Aseprite.
Generate, edit, style-match, turn, and animate game-ready pixel art at exact sizes.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI assistants to control Aseprite for creating pixel art and animated sprites, with 104 tools covering canvas, drawing, animation, palettes, effects, and more.100MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to drive Aseprite for pixel-art creation, including sprite setup, grid-based drawing, layer/frame/tag management, reference image import, and export, with rendered previews after every mutation.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to create, inspect, edit, and export pixel art, sprites, animations, and spritesheets using headless Aseprite, and to convert arbitrary images into indexed pixel art.MIT
- AlicenseBqualityCmaintenanceEnables AI assistants to create and edit pixel art and animated sprites in Aseprite through 104 tools covering drawing, layers, animation, palettes, tilemaps, exports, visual analysis, and raw Lua scripting.116MIT