@iborymagic/aseprite-mcp
v0.5.0
Published
MCP server for using Aseprite API
Readme
Aseprite-MCP
This server automates Aseprite workflows using the Model Context Protocol (MCP).
It enables AI, chat assistants, and automation pipelines to directly execute Aseprite tasks such as sprite sheet export, frame extraction, and metadata output.
*Aseprite must be installed in order to use this MCP server.
Features Overview
V1 - Export/Utility
Supports fundamental Aseprite export workflow:
aseprite_check_environment: Checks Aseprite installation status, executable path, and versionaseprite_export_sheet: Exports a sprite sheet as PNG + JSONaseprite_export_frames: Exports each animation frame as an individual PNG fileaseprite_export_metadata: Exports Aseprite metadata in JSON format
V2 - Lua Automation
Adds deeper control using Aseprite Lua scripting, enabling safe AI-driven editing operations such as:
aseprite_list_lua_templates: Lists available Lua templates- Predefined safe Lua automation(templates)
get_active_sprite_info: Provides basic information about the currently active spriteget_frame_info: Inspects the animation timeline and frame structure of the active spriteget_layer_list: Returns a full structural overview of all layers in the active sprite, including groupsget_tag_list: Lists all animation tags defined in the active spriteget_is_layer_exists: Checks whether a layer with a specific name existsget_is_tag_exists: Checks whether a specific animation tag existsget_palette_info: Inspects the current palette of the active spriteget_selection_bounds: Inspects the current selection state and its boundsremove_layer_by_name: Removing specific layersrecolor_palette: Palette recoloringnormalize_animation_speed: Normalizing animation speedauto_crop_transparent: Removing empty transparent borders around the spriteexport_layer_only: Exporting only a specific layer as a flattened PNG imageexport_tag_frames: Exporting all frames within a specific animation tag as individual PNG filesmerge_visible_layers: Merging all currently visible layers into a single layer
aseprite_run_lua_script: Executes a raw Lua script (advanced / unsafe)
How to use
- Run directly with npx
npx -y @iborymagic/aseprite-mcp- Local Build & Run (for development)
npm install
npm run build
npx @iborymagic/aseprite-mcpUsing with Claude Desktop
Add the following to your claude_desktop_config.json
{
"mcpServers": {
"aseprite-mcp": {
"command": "npx",
"args": ["-y", "@iborymagic/aseprite-mcp"]
}
}
}Using with Cursor
Add the following to your mcp.json
{
"mcpServers": {
"aseprite-mcp": {
"command": "npx",
"args": ["-y", "@iborymagic/aseprite-mcp"]
}
}
}