pixel-art-mcp
v0.2.0Turn images into pixel art, extract and remap palettes, and upscale sprites without blur.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pixelate_image Image to pixel art
Turn a photo or illustration into pixel art: shrink it to a pixel grid, reduce it to a few colours (or a named palette) and save a PNG. Accepts a local PNG/JPEG path or an http(s) URL.
| Parameter | Type | Description |
|---|---|---|
input * | string | Path or URL of a PNG or JPEG image |
colors | integer | Number of colours when no palette is given |
output | string | Where to save the PNG (defaults next to the input) |
palette | string | Palette id (e.g. pico-8, game-boy-dmg, cga-16, sweetie-16; see list_palettes) or hex colours like "#1a1c2c,#5d275d" |
scale | integer | Upscale factor for the saved PNG, nearest neighbour (e.g. 8 for a crisp preview) |
width | integer | Width of the pixel grid in pixels (height keeps the aspect ratio) |
extract_palette Extract palette
Pull the main colours out of an image (median cut). Returns hex codes plus a GIMP/Aseprite .gpl palette.
| Parameter | Type | Description |
|---|---|---|
input * | string | Path or URL of a PNG or JPEG image |
colors | integer | How many colours to extract |
remap_palette Recolour to a palette
Recolour an existing pixel art image so every pixel uses a colour from the given palette (e.g. PICO-8 or Game Boy). Size is kept.
| Parameter | Type | Description |
|---|---|---|
input * | string | Path or URL of a PNG or JPEG image |
palette * | string | Palette id (e.g. pico-8, game-boy-dmg, cga-16, sweetie-16; see list_palettes) or hex colours like "#1a1c2c,#5d275d" |
output | string | Where to save the PNG |
upscale_pixel_art Upscale without blur
Scale pixel art up by a whole number with nearest neighbour, so pixels stay sharp (for previews, store pages or social posts).
| Parameter | Type | Description |
|---|---|---|
input * | string | Path or URL of a PNG image |
output | string | |
scale | integer |
list_palettes List built-in palettes
List the built-in pixel art palettes with their ids and colour counts.
get_palette Get a palette
The colours of a built-in palette (e.g. pico-8, game-boy-dmg, cga-16, ega-64), as hex codes or a GIMP/Aseprite .gpl file.
| Parameter | Type | Description |
|---|---|---|
id * | string | Palette id, e.g. "pico-8" (see list_palettes) |
format | string | hex: one line of #RRGGBB codes; gpl: a GIMP/Aseprite palette file |
search_palettes Search palettes
Find built-in palettes by name and/or exact number of colours.
| Parameter | Type | Description |
|---|---|---|
colors | integer | Only palettes with exactly this many colours |
query | string | Part of a name or id, e.g. "game boy" or "cga" |