Skip to main content
Glama

Pixel Art MCP Server — image to pixel art for Claude, Cursor and VS Code

English · 简体中文 · Español · Português · Русский · 한국어 · 日本語

simplepixelart-mcp is an MCP server for pixel art. It lets an AI assistant (Claude, Cursor, Windsurf, VS Code…) convert an image to pixel art — a photo, a PNG or a screenshot — reduce its colors or map it to a PICO-8 or Game Boy palette, extract a palette, and upscale pixel art without blur for game assets and previews.

Free, runs locally, no API key and no native dependencies. Made by SimplePixelArt, whose image to pixel art converter and online pixel art editor do the same in the browser.

Tools

Tool

What it does

In the browser

pixelate_image

Image → pixel art. Shrinks to a pixel grid (e.g. 64 px wide), reduces to N colours with median cut or maps to a named palette, saves a PNG (optionally upscaled for preview).

Image to pixel art converter

extract_palette

Pulls the main colours out of an image and returns hex codes plus a GIMP / Aseprite .gpl palette.

Palette from image

remap_palette

Recolours existing pixel art so every pixel uses a palette colour — PICO-8, Game Boy, CGA, EGA, Sweetie 16 or your own hex list.

Pixel art editor

upscale_pixel_art

Nearest-neighbour upscale by a whole number, so pixels stay sharp.

Pixel art resizer

list_palettes

Lists the built-in palettes.

Palette library

get_palette

One palette's colours as hex codes or a .gpl file.

Palette library

search_palettes

Finds built-in palettes by name or number of colours.

Palette library

Results include a link to keep working in the browser editor — with the palette preloaded when it has a page on SimplePixelArt.

Related MCP server: text2d

Palettes

PICO-8, Game Boy (DMG and Pocket), CGA 16 and both CGA mode 4 palettes, EGA 64, RGB 3-3-2, web-safe 216, 1-bit, grayscale 4/8/16 and primary 8 come from pixel-art-palettes (CC BY 4.0), which also ships them as JSON, CSV and .gpl files. Sweetie 16 is by GrafxKid and ENDESGA 32 by ENDESGA. game-boy still works as a name for game-boy-dmg.

Install

Add it to your MCP client config. For Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) and most other clients:

{
  "mcpServers": {
    "pixel-art": {
      "command": "npx",
      "args": ["-y", "simplepixelart-mcp"]
    }
  }
}

Claude Code:

claude mcp add pixel-art -- npx -y simplepixelart-mcp

Requires Node.js 18 or newer.

Hosted (no install)

A remote endpoint runs at https://mcp.simplepixelart.com/mcp (Streamable HTTP, no auth). Images go in as a public URL or base64 and come back as PNG. Limits: 4 MB / 2048x2048 input, 1024 px output, 20 requests a minute.

claude mcp add --transport http pixel-art https://mcp.simplepixelart.com/mcp
{
  "mcpServers": {
    "pixel-art": { "url": "https://mcp.simplepixelart.com/mcp" }
  }
}

To run the HTTP server yourself: npm run start:http (listens on 127.0.0.1:4020, set PORT / HOST to change).

Examples

Ask your assistant things like:

  • "Turn ~/photos/cat.jpg into 48 px wide pixel art with the PICO-8 palette, and save an 8x preview."

  • "Extract a 6-colour palette from this screenshot and give me the .gpl file."

  • "Recolour every sprite in assets/ to the Game Boy palette."

  • "Upscale hero.png 10x for the store page."

Use it as a library

import { loadImage, pixelate, saveImage } from 'simplepixelart-mcp/src/pixel.js'

const img = await loadImage('photo.jpg')
const { display, palette } = pixelate(img, { width: 64, palette: 'sweetie-16', scale: 8 })
await saveImage(display, 'photo-pixel.png')

Want to edit the result?

The tools get you a clean starting grid; the fun part is fixing it by hand. Open the PNG in SimplePixelArt, a free online pixel art editor with layers, animation and tileset tools, or try its in-browser pixel art converter for live adjustments. No account needed.

Development

npm install
npm test        # starts the server over stdio and calls every tool

About SimplePixelArt

SimplePixelArt is a free pixel art maker for the browser and Android: layers, animation, a sprite maker, a tileset editor with Godot and Tiled export, pixel art color palettes, and a community gallery where every piece can be opened and remixed.

License

MIT © Comficker

Available Tools

7 tools
extract_paletteExtract paletteAInspect

Pull the main colours out of an image (median cut). Returns hex codes plus a GIMP/Aseprite .gpl palette.

Inputs: input (required), colors.

get_paletteGet a paletteBInspect

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.

Inputs: id (required), format.

list_palettesList built-in palettesAInspect

List the built-in pixel art palettes with their ids and colour counts.

Inputs: no named parameters.

pixelate_imageImage to pixel artAInspect

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.

Inputs: input (required), scale, width, colors, +2 more.

remap_paletteRecolour to a paletteAInspect

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.

Inputs: input (required), palette (required), output.

search_palettesSearch palettesBInspect

Find built-in palettes by name and/or exact number of colours.

Inputs: query, colors.

upscale_pixel_artUpscale without blurAInspect

Scale pixel art up by a whole number with nearest neighbour, so pixels stay sharp (for previews, store pages or social posts).

Inputs: input (required), scale, output.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 7 tools

    Disambiguation4/5

    The three palette-lookup tools (list_palettes, search_palettes, get_palette) overlap somewhat, since listing or searching palettes can surface the same data as fetching one by id. Descriptions do make the distinction reasonably clear (enumerate all / filter by name or colour count / fetch colours for a specific id), and the image-processing tools (pixelate, remap, extract, upscale) are cleanly separate.

    Naming Consistency5/5

    Every tool follows a consistent snake_case verb_noun pattern (list_palettes, get_palette, search_palettes, extract_palette, remap_palette, pixelate_image, upscale_pixel_art). Verbs are meaningful and predictably paired with their resource.

    Tool Count5/5

    Seven tools is well within the sweet spot and each one covers a distinct step of a pixel art pipeline: palette discovery, extraction, remapping, pixelation and upscaling. No tool feels redundant enough to remove.

    Completeness4/5

    The palette lifecycle and the main conversion workflows (photo to pixel art, recolour, upscale preview) are covered end to end. Gaps are minor: no way to save a custom palette for reuse, no resize/crop or sprite-sheet/export-format options, and no non-whole-number scaling, but agents can work around these.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to procedurally generate, edit, quantize, and export 2D retro pixel art textures and tilesets for game development, with built-in palettes, dithering, and pixel-level manipulation tools.
      14
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to create layered pixel-art sprites and animations, inspect pixels, and export images, spritesheets, GIFs, APNGs, and TrueType pixel fonts. Documents and edits stay local, accessible over stdio MCP or callable directly from a shell.
      43
      MIT