pixscii

v0.5.0
io.github.rxolve/pixscii Checked 2 days ago Published 1 month ago

LLMs can't draw. This MCP can.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get

Get a sprite as a PNG image by its ID. Returns a scaled pixel art PNG.

ParameterTypeDescription
id *stringSprite ID (e.g. "sword", "grass", "heart-full")
palettestringPalette ID (default "pico8"). Use search to see available palettes.
scaleintegerScale factor 1-16 (default 4). Each pixel becomes scale×scale.

character

Generate a procedural pixel character sprite. Same seed always produces the same character. 648 unique combinations.

ParameterTypeDescription
seed *stringSeed string for deterministic generation. Same seed = same character.
armorstringArmor type: cloth, leather, plate
helmstringHelm type: hood, iron, crown
palettestringPalette ID (default "pico8")
scaleintegerScale factor (default 4)
skinintegerSkin tone index 0-5
speciesstringSpecies: human, elf, dwarf, skeleton
weaponstringWeapon type: sword, staff, bow

convert

Convert an image (URL or base64) to pixel art by quantizing to a palette. Returns both the PNG and sprite data.

ParameterTypeDescription
source *stringImage URL (https://...) or base64 data URI
heightintegerTarget height in pixels (default 16)
palettestringPalette ID (default "pico8")
scaleintegerScale factor for output (default 4)
widthintegerTarget width in pixels (default 16)

create

Create a new blank canvas for drawing. Returns canvas ID and hex grid for inspection.

ParameterTypeDescription
height *integerCanvas height in pixels
width *integerCanvas width in pixels
fillstringFill color: hex char 0-F or "." for transparent (default ".")
palettestringPalette ID (default "pico8")

pixel

Set individual pixels on a canvas. Batch up to 512 pixels per call.

ParameterTypeDescription
canvas_id *stringCanvas ID
pixels *arrayPixels to set

line

Draw a line between two points on a canvas using Bresenham's algorithm.

ParameterTypeDescription
canvas_id *stringCanvas ID
color *stringHex char 0-F or "." for transparent
x1 *integerStart X
x2 *integerEnd X
y1 *integerStart Y
y2 *integerEnd Y

rect

Draw a rectangle on a canvas (outline or filled).

ParameterTypeDescription
canvas_id *stringCanvas ID
color *stringHex char 0-F or "." for transparent
h *integerHeight
w *integerWidth
x *integerTop-left X
y *integerTop-left Y
filledbooleanFill the rectangle (default: false = outline only)

fill

Flood fill from a point on a canvas. Returns the updated grid so you can verify the result.

ParameterTypeDescription
canvas_id *stringCanvas ID
color *stringHex char 0-F or "." for transparent
x *integerStart X
y *integerStart Y

mirror

Mirror a canvas horizontally (left half copied to right half). Returns the updated grid.

ParameterTypeDescription
canvas_id *stringCanvas ID
axis_xintegerX coordinate of mirror axis (default: center)

inspect

Read the current pixel state of a canvas as a hex character grid. For canvases >32px, provide x,y,w,h to inspect a region.

ParameterTypeDescription
canvas_id *stringCanvas ID
hintegerRegion height
wintegerRegion width
xintegerRegion start X (for large canvases)
yintegerRegion start Y (for large canvases)

undo

Revert the last drawing operation on a canvas. Single-step undo.

ParameterTypeDescription
canvas_id *stringCanvas ID

export

Export a canvas as a scaled PNG image.

ParameterTypeDescription
canvas_id *stringCanvas ID
scaleintegerScale factor (default 4)

compose

Compose multiple sprites into a single scene. Place sprites at specific x,y positions on a canvas.

ParameterTypeDescription
height *integerCanvas height in pixels
layers *arrayLayers to compose (back to front)
width *integerCanvas width in pixels
palettestringPalette ID (default "pico8")
scaleintegerScale factor (default 4)

tilemap

Build a tilemap from a 2D grid of tile IDs. Each cell becomes a 16x16 tile.

ParameterTypeDescription
grid *array2D array of tile IDs (e.g. [["grass","grass","water"],["grass","door","grass"]])
palettestringPalette ID (default "pico8")
scaleintegerScale factor (default 4)

spritesheet

Stitch multiple canvases into a single PNG spritesheet. Supports horizontal, vertical, or grid layout.

ParameterTypeDescription
frames *arrayCanvas IDs to stitch
columnsintegerColumns for grid layout
directionstringLayout direction (default "horizontal")
gapintegerPixel gap between frames (default 0)
palettestringPalette ID (default "pico8")
scaleintegerScale factor (default 4)

animate

Animate a sprite or character with pixel motion. Returns multiple PNG frames or a spritesheet.

ParameterTypeDescription
motion *stringMotion type: idle, walk, attack, hurt, bounce, blink
idstringSprite ID to animate (use this OR seed)
palettestringPalette ID (default "pico8")
scaleintegerScale factor (default 4)
seedstringCharacter seed to animate (use this OR id)

sequence

Animate actors across a scene. Each actor has a pose cycle and a path of positions. Returns one PNG per frame.

ParameterTypeDescription
actors *arrayActors to animate
height *integerScene height in pixels
width *integerScene width in pixels
backgroundstringCanvas ID for the background (omit for transparent)
delayintegerms between frames (default 150)
palettestringPalette ID (default "pico8")
scaleintegerScale factor (default 4)

animate_scene

Create a full animated scene in one call. Generate characters, place them on a background, and animate them along paths. Returns multiple PNG frames.

ParameterTypeDescription
actors *arrayActors to animate
height *integerScene height in pixels
width *integerScene width in pixels
backgroundobjectBackground (omit for transparent)
delayintegerms between frames (default 150)
framesintegerFrame count (default 8)
palettestringPalette ID (default "pico8")
scaleintegerScale factor (default 4)

palettes

List palettes and their named slots. Palettes that share a schema (e.g. "scene") use each index for the same role, so swapping between them recolors the same art for a different mood.

ParameterTypeDescription
schemastringOnly palettes with this schema, e.g. "scene"

repalette

Switch a canvas to another palette. Within one schema the pixels stay and only the colors change; across schemas each color moves to the slot with the same name, or else the nearest color.

ParameterTypeDescription
canvas_id *stringCanvas ID
palette *stringTarget palette ID, e.g. "scene-dusk"
scaleintegerPreview scale (default 4)

shapes

Draw geometry as crisp pixel art: rect (with radius), circle, ellipse, polygon, line, curve. Fills can be a color, a dither of two colors, or a dithered gradient; filled shapes can have an outline. Draws on an existing canvas, or creates one. Write coordinates, not pixels.

landscape

Generate a pixel landscape from a seed: sky by time of day, sun or moon, stars, clouds, mountains, hills, sea, forest, ground, rain. Uses the "scene" palette schema, so the same seed renders in any scene-* palette. Presets: dawn, home, school, night, sea, storm, window, forest, dusk, stars. Returns a canvas you can keep drawing on.

ParameterTypeDescription
seed *stringSame seed, same place
heightintegerDefault 72
horizonnumberHorizon height from the top, 0-1 (default 0.62)
layersarrayDrawn back to front in a fixed order
palettestringA scene-* palette (default scene-<preset>, or scene-dusk)
presetstringMood preset: sets time, layers and the default palette
scaleintegerPreview scale (default 4)
timestring
widthintegerDefault 128

creature

Generate a creature from a seed: symmetric robot, alien or critter from a mask (outlined, lit from the top, with eyes), or an asymmetric nebula. Endless variety, same seed same creature. Scene palette schema.

ParameterTypeDescription
seed *string
kindstringDefault alien
palettestringA scene-* palette (default scene-window)
scaleintegerPreview scale (default 8)
sizeintegerEven, default 24

being

Draw a 24×24 person, cat or elf at a life stage: baby, adult or old (white hair, a cane or staff, a plumper cat). The seed varies hair and clothes. Scene palette schema.

ParameterTypeDescription
species *string
stage *string
palettestringA scene-* palette (default scene-window)
scaleintegerPreview scale (default 8)
seedstring