Skip to main content
Glama

Celgrid MCP Server (celgrid-mcp)

kallehiitola/celgrid-mcp MCP server Official MCP Registry

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.tscn with 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 run celgrid_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/mcp

For 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-mcp

For 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

celgrid_guide

Free

Read the live Celgrid agent guide and exact schema rules

celgrid_library

Free

Search and list public starter packs and your saved library sprites

celgrid_create_blank

0 cr

Create a clean transparent 4x4 to 64x64 pixel canvas (1 to 16 frames)

celgrid_generate

Credits / BYOK

Generate an exact indexed sprite or multi-frame animation (source_asset locks character identity)

celgrid_revise

Credits / BYOK

Surgical AI repair on 1 frame (or draw next frame) with optional Allow/Lock pixel mask

celgrid_propagate_edit

Credits / BYOK

AI Ripple Edit: propagate a single-frame manual edit across all frames and up to 6 linked animations

celgrid_edit_pixels

0 cr

Patch exact integer pixel rows on a frame as a new immutable version

celgrid_rename

0 cr

Update sprite display title

celgrid_timing

0 cr

Change playback and export FPS (0.5 to 60) without redrawing

celgrid_export

0 cr

Get validated metadata and lossless pack.zip, spritesheet.png, and frame.png URLs

Pricing & Free Tier

  • Manual Browser Editor & Lossless Exports: $0 forever at https://celgrid.ai/studio

  • Starter: 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)

Available Tools

10 tools
celgrid_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

    A3.5/5.0

    Scored across 10 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Enables 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.
      156
      3
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables 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