Skip to main content

MCP server

Pixel art MCP server for AI agents

Let Claude, Cursor or any MCP client turn images into clean pixel art, generate sprites and animate them. Conversion is free with no account; generation and animation use your Gridize credits.

Endpoint

https://gridize.dev/api/mcp

claude_desktop_config.json

Claude desktop app: Settings → Developer → Edit Config, add this, then restart Claude. Needs Node.js 18 or later.

{
  "mcpServers": {
    "gridize": {
      "command": "npx",
      "args": [
        "-y",
        "gridize-mcp"
      ],
      "env": {
        "GRIDIZE_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

The free tools need no key: leave out the Authorization header. For generation and animation, replace YOUR_API_KEY with a key from your account. Create an API key

Real outputs from the live server

  • A photo-like image and the same image as clean pixel art

    image_to_pixel_art

    Snaps a blurry or AI-made image to a clean pixel grid. Free, no account.

  • A 32 px pixel art knight with a blue shield

    generate_pixel_art

    "a knight with a blue shield" at 32 px, in about a minute for 8 credits.

  • The pixel art knight walking in a loop

    animate_sprite

    "walks to the right in a loop": an 8-frame loop picked from 33 rendered frames, in about two minutes for 30 credits.

How to use it

  1. Add the server

    Paste the endpoint into your client's MCP settings. Nothing to install and nothing runs on your machine.

  2. Ask in plain words

    "Turn this screenshot into pixel art with the PICO-8 palette." The agent picks the tool and gets a PNG back.

  3. Add a key to generate

    Sign up for free trial credits and create an API key; your agent can then generate and animate sprites.

Tools

  • image_to_pixel_art

    Turns a PNG, JPEG or WebP up to 1024 px into native-size pixel art, with automatic pixel size, a color limit or one of 25 palettes. Free.

  • list_palettes

    Lists the 25 palette presets, such as PICO-8, NES and Game Boy, with their colors. Free.

  • generate_pixel_art

    Makes 1 or 4 sprites at 16, 32 or 64 px from a prompt in any language: 8 credits for one, 20 for four.

  • animate_sprite

    Animates a sprite from a motion prompt, such as walk, idle, attack or a spell: 30 credits up to 33 frames.

  • get_animation

    Returns the finished loop as a GIF and, on request, every frame as a PNG. Failed clips are refunded.

  • get_credits

    Shows your credit balance and what each tool costs.

FAQ

MCP server FAQ

Make your first animated sprite today

Sign up, verify your email and get 30 free credits to try the studio.