Celgrid MCP Server
Celgrid MCP Server lets AI agents and developers generate, edit, animate, and export exact indexed pixel-art sprites for game engines through MCP tools.
Read the live agent guide/schema rules and search public starter packs or saved sprite libraries.
Create transparent 4x4 to 64x64 indexed pixel canvases with 1 to 16 frames and locked or custom palettes.
Generate 1:1 pixel sprites or animations from prompts, with references, palette locking, masks, and source-asset character consistency.
Repair one frame or draw the next animation pose with surgical masks.
Propagate a single-frame manual edit across all frames and up to 6 linked animations.
Apply direct integer pixel edits, rename sprites, and change playback/export FPS.
Export validated metadata, palette data, spritesheets, individual frames, and lossless engine packs for Godot 4, Unity, Phaser 3, and Aseprite.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Celgrid MCP Server generate a 32x32 pixel art knight sprite on the pico8 palette"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Celgrid MCP Server (celgrid-mcp)
Pixel-native AI sprite studio and animation Model Context Protocol (MCP) server for Claude Code, Cursor, OpenAI Codex, Windsurf, and Cline backed by Celgrid.
Built for both human game developers and AI coding agents making 2D games: instead of blurry diffusion images full of mixels and dirty alpha halos, Celgrid generates exact 1:1 indexed integer pixel grids (4x4 to 64x64) on locked color palettes with 3-pass Vision self-critique, paired with a $0 browser pixel editor, AI Ripple Edit across frames/animations, and lossless engine packs for Godot 4, Unity, Phaser 3, and Aseprite.
Why Celgrid MCP?
Exact 1:1 Indexed Pixel Grids: Zero mixels, zero blurry anti-aliasing, zero semi-transparent alpha fringe.
Locked Game Palettes: Built-in
apollo,sweetie16,endesga16,pico8,slso8,gameboy, existing-asset palette locking, or custom hex ramps.Turnkey Engine Packs (
pack.zip): Ready-to-drop Godot 4 (animation.tres+sprite.tscnwith Nearest filter), Unity C# (UnityCelgridImporter.cs.txt), Phaser 3 (atlas.json+phaser-animations.json), and Aseprite JSON.Hybrid Human + AI Control: Open any generated sprite in the $0 browser Studio (
https://celgrid.ai/studio), edit one frame by hand, and runcelgrid_propagate_edit(AI Ripple Edit) to apply that edit across every frame and linked animation.Zero Dependencies: Pure Node.js standard library (
>= 18), clean audit surface.
Related MCP server: aseprite-claude-connector
Connect Celgrid MCP
Start in Claude Code with the hosted Streamable HTTP server. You can call celgrid_guide and celgrid_library without signing in.
claude mcp add celgrid --transport http https://celgrid.ai/mcpFor account tools, create a personal API key. Verified Starter, Indie, and Studio accounts can create keys, including customers using only a prepaid credit pack or BYOK wallet. Configure the hosted connection with Authorization: Bearer <key> or X-API-Key: <key>. Store the key in your client's secret settings.
For BYOK generation, use your saved Anthropic key from Settings or pass X-Anthropic-Key alongside the Celgrid key. Anthropic bills your account directly. Celgrid deducts a 15% orchestration fee from your prepaid fee wallet.
Stdio fallback
Use Node.js 18 or later. Claude Code can install the public GitHub package directly.
claude mcp add celgrid -- npx -y github:kallehiitola/celgrid-mcpFor other stdio clients, use command npx with arguments -y and github:kallehiitola/celgrid-mcp. Pass CELGRID_API_KEY and optionally ANTHROPIC_API_KEY through the client's environment. CELGRID_URL defaults to https://celgrid.ai.
Available MCP Tools (10)
Tool | Cost | Description |
| Free | Read the live Celgrid agent guide and exact schema rules |
| Free | Search and list public starter packs and your saved library sprites |
| 0 cr | Create a clean transparent 4x4 to 64x64 pixel canvas (1 to 16 frames) |
| Credits / BYOK | Generate an exact indexed sprite or multi-frame animation ( |
| Credits / BYOK | Surgical AI repair on 1 frame (or draw next frame) with optional Allow/Lock pixel mask |
| Credits / BYOK | AI Ripple Edit: propagate a single-frame manual edit across all frames and up to 6 linked animations |
| 0 cr | Patch exact integer pixel rows on a frame as a new immutable version |
| 0 cr | Update sprite display title |
| 0 cr | Change playback and export FPS (0.5 to 60) without redrawing |
| 0 cr | Get validated metadata and lossless |
Pricing & Free Tier
Manual Browser Editor & Lossless Exports: $0 forever at
https://celgrid.ai/studioStarter: 25 one-time AI credits and $0.50 BYOK fee credit for eligible verified accounts. 2 personal keys and 20 hosted MCP requests per minute. Free managed AI usage is subject to the Starter cap.
Indie: $19/mo, 750 credits per month, 5 personal keys, and 60 hosted MCP requests per minute.
Studio: $49/mo, 2,200 credits per month, 90-day rollover, priority jobs, pipeline cost telemetry, 20 personal keys, and 120 hosted MCP requests per minute.
One-time packs and BYOK: Use a personal key on your verified account. A subscription is optional.
License
MIT License - Ludoitte Oy. See LICENSE.
Playable MIT Engine Starters (Pre-Wired with Celgrid Sprites & MCP Rules)
Godot 4.3+: kallehiitola/celgrid-mcp-godot-starter (native
SpriteFrames.tres,sprite.tscn, integer pixel viewport)Unity 2D: kallehiitola/celgrid-mcp-unity-starter (one-click
Assets/Editor/CelgridImporter.cs.animimporter +CryptboundPlayer2D.cs)Phaser 3: kallehiitola/celgrid-mcp-phaser-starter (playable dungeon room in 10 seconds with
pixelArt: true)
Available Tools
10 toolscelgrid_create_blankBInspect
Create a clean transparent indexed pixel canvas (4x4 to 64x64, 1 to 16 frames, curated or custom hex palette) at 0 credits.
Inputs: fps, name, width, colors, +4 more.
celgrid_edit_pixelsBInspect
Save direct indexed integer pixel edits on one frame at 0 credits as a new immutable version.
Inputs: id (required), grid (required), frame (required), note.
celgrid_exportBInspect
Fetch validated sprite metadata, palette hexes, spritesheet geometry, and lossless download URLs for Godot 4, Unity C#, Phaser 3, and Aseprite packs.
Inputs: id (required).
celgrid_generateBInspect
Generate an exact 1:1 indexed pixel sprite or multi-frame animation on a locked palette. Reuse source_asset when animating a character.
Inputs: prompt (required), fps, maps, view, +18 more.
celgrid_guideAInspect
Read the live Celgrid agent guide: exact pixel-grid rules, locked palettes, animation guidelines, BYOK headers, and engine export formats.
Inputs: no named parameters.
celgrid_libraryBInspect
List available sprites and animations (including the 4 built-in free starter packs and your saved library sprites) with optional filters.
Inputs: q, size, type, animation, +1 more.
celgrid_propagate_editCInspect
AI Ripple Edit: diff an edited frame against its original and semantically apply that exact visual change across remaining frames and up to 6 same-size linked animations.
Inputs: id (required), model, instruction, source_frame, +2 more.
celgrid_renameCInspect
Rename a saved sprite asset.
Inputs: id (required), title (required).
celgrid_reviseBInspect
Surgical AI repair on one frame (or draw and insert the next animation pose) with optional green Allow / coral Lock pixel mask.
Inputs: id (required), frame (required), operation (required), instruction (required), +3 more.
celgrid_timingBInspect
Update playback and export FPS (0.5 to 60) on an existing animation without regenerating pixels (0 credits).
Inputs: id (required), fps (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Most tools target clearly different actions (generate vs. rename vs. timing vs. export are unmistakable). The pixel-modification cluster (revise, edit_pixels, propagate_edit) overlaps conceptually, but descriptions differentiate them by AI repair vs. direct integer edits vs. cross-frame semantic ripple, so an agent can choose correctly with care.
All tools share the celgrid_ prefix and are predominantly verb-based (create_blank, generate, revise, export). Two noun-style entries (celgrid_guide, celgrid_library) are minor deviations but still readable and predictable.
Ten tools is well within the sweet spot and each earns its place across the guide, library, creation, editing, timing, export, and rename workflows. No filler tools and no obvious need to split or merge.
The surface covers the full sprite lifecycle: onboarding, discovery, creation, AI generation, revision, propagation, pixel edits, timing, renaming, and engine export. The notable gap is asset deletion/cleanup, which agents may need but can work around.
Maintenance
Related MCP Connectors
Pixel art for your game, from your coding agent. Generate sprites, items and tiles in your game's style (64 to 1024 px), make variants, reskins and N/E/S/W directions, then edit everything in a full pixel art editor that syncs into your project. Works with Claude, Claude Code, Cursor and ChatGPT; sign in with OAuth, no API key.
Generate, edit, style-match, turn, and animate game-ready pixel art at exact sizes.
Turn images into pixel art, extract and remap palettes, and upscale sprites without blur.
Generate pixel art sprites, animations, 8-direction rotations and palettes for games.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Claude to generate pixel art procedurally and normalize external images into a canonical palette and tile size.-
- AlicenseBqualityBmaintenanceEnables Claude to drive a live or headless Aseprite editor to create and edit pixel art, inspect the canvas, animate, run QA checks, and export game assets to Godot or Unity with safe one-undo edits.194133 PyPIMIT
- AlicenseBqualityBmaintenanceEnables AI assistants to control Aseprite for pixel-art drawing, animation, critique, auto-shading, perceptual palettes, and game-ready export through 156 tools. Includes quality checks and iteration features that help produce more polished sprites and animations.1563MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code to create, preview, validate, and iterate on pixel-art sprites using locked palettes, precise drawing and shading tools, frame animation, and PNG or Godot SpriteFrames export. Supports a feedback loop with visual previews and validation, while allowing hand polishing in Pixelorama.MIT