aseprite-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ASEPRITE_PATH | No | Path to the Aseprite executable. Standard Steam and standalone locations on Windows, macOS and Linux are checked, then PATH. Auto-detected by default. | |
| ASEPRITE_TIMEOUT | No | Seconds before a single Aseprite invocation is aborted. | 120 |
| ASEPRITE_MCP_ROOTS | No | Folders the server may read and write, separated by ';' on Windows and ':' elsewhere. Point this at your game projects. Defaults to your home folder. | |
| ASEPRITE_MCP_ALLOW_LUA | No | Set to 1 to enable the run_lua tool. Disabled by default. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools for building pixel-art game assets with Aseprite and exporting them to Godot 4. Frames are 1-based. Colors are '#rrggbb' or '#rrggbbaa'. All paths must be absolute and inside: /root. Typical flow: create_sprite -> draw (the 'rows' op suits pixel art) -> add_frames / tag_animation -> preview to check the result -> export_godot_spriteframes or export_tileset.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_spriteC | Create a new .aseprite file.
|
| sprite_infoB | Describe a sprite: size, color mode, frames (1-based, with durations), layers (bottom to top), animation tags and palette. |
| add_layerB | Add a layer (or a layer group when group=True) on top. |
| add_framesA | Append Copying a frame and then editing the copy is the simplest way to animate. Optionally
sets |
| tag_animationB | Tag a frame range as a named animation such as 'idle', 'walk' or 'attack'. Tag names become animation names in Godot. repeat=0 loops forever; a positive value makes the animation play through and stop. A tag with the same name is replaced. |
| drawB | Draw on a layer (default: the topmost image layer) at {"op":"rows","x":0,"y":0,"rows":["..kk..",".kssk."],"key":{"k":"#1a1c2c","s":"#f4b41b"}} Pixel-art grid: one character per pixel, '.' or ' ' leaves the pixel unchanged. Best suited to sprites. {"op":"pixels","points":[[x,y],...],"color":"#ffffff"} or points [[x,y,"#rrggbb"],...] {"op":"rect","x":0,"y":0,"w":8,"h":8,"color":"#000000","fill":true} {"op":"line","x1":0,"y1":0,"x2":7,"y2":7,"color":"#000000"} {"op":"circle","cx":8,"cy":8,"r":4,"color":"#000000","fill":false} {"op":"clear"} or {"op":"clear","color":"#00000000"} |
| set_paletteA | Replace the palette from a list of hex colors or a palette file (.gpl, .pal, .png, .aseprite). With to_indexed=True the sprite is converted to indexed mode and every pixel snaps to its nearest palette color. |
| palette_swapA | Recolor exact colors across all layers and frames, e.g. {"#38b764": "#b13e53"}.
Writes to |
| import_imageB | Import a PNG, JPG or GIF as an .aseprite file. Resizes with nearest-neighbor sampling (give only width or height to keep the aspect
ratio), then snaps to a fixed palette ( |
| previewA | Render the sprite as a PNG image. frame=None shows all frames side by side. Use it after drawing to check the result. |
| export_spritesheetB | Export a sprite sheet PNG, plus optional Aseprite JSON (frame rectangles, durations,
tags). Filter by |
| export_godot_spriteframesB | Export a sprite into a Godot 4 project as .png plus .tres (SpriteFrames). Each Aseprite tag becomes an animation with per-frame timing preserved; reverse and ping-pong directions are baked into the frame order, and tags with a repeat count do not loop. Assign the .tres to an AnimatedSprite2D. |
| export_tilesetA | Export a tileset PNG with The source is a tilemap layer's tileset (pass |
| batch_exportB | Re-export every .aseprite/.ase file under |
| run_luaA | Run arbitrary Aseprite Lua. Disabled unless ASEPRITE_MCP_ALLOW_LUA=1.
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 15 tools
Most tools target clearly distinct stages: sprite creation, frame/layer/tag editing, palette operations, preview, and different export formats. The multiple export tools and set_palette vs palette_swap could initially look similar, but their descriptions make the boundaries clear. run_lua is a general escape hatch that overlaps all operations, but it is disabled by default and reads as a separate advanced tool.
The set is mostly readable but mixes conventions: create_sprite, add_layer, add_frames, set_palette, import_image, and export_* follow verb_noun, while sprite_info and palette_swap are noun-first and draw/preview are bare verbs. export_godot_spriteframes also deviates by embedding a brand and resource name. The pattern is understandable but not consistently predictable.
Fifteen tools is at the upper end of the typical range but is justified by the broad asset pipeline: creation, editing, palette management, import, preview, several export targets, batch processing, and an optional Lua escape hatch. Each tool maps to a concrete workflow rather than feeling redundant or padded.
The surface covers core creation, animation tagging, drawing, palette work, preview, sprite sheet export, Godot SpriteFrames export, tileset export, and batch export. The main gaps are destructive/lifecycle operations such as deleting layers, frames, or tags, plus layer properties like visibility or opacity. These are noticeable but can be worked around by recreating assets or using Lua when enabled.