Skip to content
MCP server

PAGAN

Write pixel art, tilesets and 3D sprite models as text; lint, preview and build for Godot

Runs locallyStatus and history
Pricing
Open source
Platforms
CLI, macOS, Windows
Runs
Locally
Version
0.23.0
Listing updated
3 days ago

About PAGAN

PAGAN is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.

Sprites are palette-keyed grids in YAML, and the tool also handles tilesets, 3D voxel models rendered from several headings or exported as glTF meshes, animations and style rules. An agent writes the files, runs lint for format errors and style warnings, looks at upscaled previews and GIFs, then builds sprite sheets with a manifest.json holding frame rectangles, animations, pivots and tile coordinates.

For Godot 4 it writes SpriteFrames and TileSet resources; since Godot resources cannot hold a pivot, the manifest gives a godot_offset to apply on the node. An isometric dimetric camera setting suits 2:1 tile maps. Every command accepts --json and exits non-zero on errors, and builds are described as byte-identical.

The package is pagan-gen on PyPI (Python 3.11 or newer) and runs locally with no account. The README marks it as early development, though the full pipeline works. It is Apache 2.0 licensed and has sister libraries for 3D models and game audio.

Install

Run in a terminal

claude mcp add pagan -- uvx pagan-gen

Add to claude_desktop_config.json

{
  "mcpServers": {
    "pagan": {
      "command": "uvx",
      "args": [
        "pagan-gen"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "pagan": {
      "command": "uvx",
      "args": [
        "pagan-gen"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "pagan": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pagan-gen"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "pagan": {
      "command": "uvx",
      "args": [
        "pagan-gen"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "pagan": {
      "command": "uvx",
      "args": [
        "pagan-gen"
      ]
    }
  }
}

What it does

Pixel grids as text
Palette-keyed YAML sprites and tiles.
3D models as sprites
Voxel models rendered from several headings or exported as glTF.
Previews and gallery
Upscaled sheets, frames and GIFs for review.
Lint
Format errors and style warnings.
Manifest output
manifest.json with frames, pivots and tile coordinates.
Godot 4 resources
SpriteFrames and TileSet files.
Isometric camera
Dimetric projection for 2:1 tile games.

Good for

  • Let an agent draw a potion or slime sprite
  • Generate a ship that turns smoothly across headings
  • Build meadow tilesets for a Godot TileMap
  • Keep a game's art consistent with palette and style rules
  • Export meshes for a 3D game

Pricing

Open source

Free, Apache 2.0

Prices change. Check pagan.top before you buy.

PAGAN FAQ

How do I install it?

pip install pagan-gen; the command is pagan.

Is it stable?

The README calls it early development, though the full pipeline works.

Which engines work?

Any engine can use the PNG sheets and manifest; Godot 4 gets ready-made resources.

Does it cost anything?

It is free and Apache 2.0 licensed.

Is PAGAN free?

Yes. PAGAN is open source, so you can use and self-host it for free.

How do I add PAGAN to Claude Code?

Run this command in your terminal: claude mcp add pagan -- uvx pagan-gen

What are the best alternatives to PAGAN?

The closest alternatives to PAGAN are HyperFrames by HeyGen, ffmpeg-skill, AvatarSay — Fictional Character & Talking Video MCP, ChartAnt and VfxSmith.

Alternatives to PAGAN

  1. Hosted MCP connector for creating and rendering videos from HTML through AI chat

    • Remote
    • Freemium
    • 85.3K GitHub stars
    • Design and media
  2. ffmpeg-skill

    MCP server

    Local FFmpeg video and audio editing tools for coding agents over MCP

    Runs locally
    • Open source
    • 6.9K GitHub stars
    • Design and media
  3. ChartAnt

    MCP server

    Remote MCP server returning charts, maps and dashboards as hosted PNG links

    • 51 tools
    • Remote
    • Freemium
    • Design and media
  4. VfxSmith

    MCP server

    Search, generate, refine and export pixel art game effects from Claude Code or Codex

    Not checked yet
    • Remote
    • Freemium
    • Design and media
  5. CalderFlow

    MCP server

    Turn notes or specs into editable flowcharts, timelines and funnels from an AI assistant

    • 10 tools
    • Remote
    • Free
    • Design and media