SpriteSheetGen

v0.3.0
io.github.terror668/spritesheetgen Checked 4 days ago Published 13 days ago

AI sprite sheets for 2D games: generate a character, animate it, export PNG, JSON and Godot files.

Values you need

VariableWhat it is
SPRITESHEETGEN_API_KEYoptional secret Optional. An API key from https://spritesheetgen.com/account/ (otherwise the key saved by `npx -y @spritesheetgen/cli login` is used).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add spritesheetgen -- npx -y --package=@spritesheetgen/cli@0.3.0 spritesheetgen mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "spritesheetgen": {
      "args": [
        "-y",
        "--package=@spritesheetgen/cli@0.3.0",
        "spritesheetgen",
        "mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "spritesheetgen": {
      "args": [
        "-y",
        "--package=@spritesheetgen/cli@0.3.0",
        "spritesheetgen",
        "mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "spritesheetgen": {
      "args": [
        "-y",
        "--package=@spritesheetgen/cli@0.3.0",
        "spritesheetgen",
        "mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.spritesheetgen]
command = "npx"
args = ["-y", "--package=@spritesheetgen/cli@0.3.0", "spritesheetgen", "mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: estimate_sprite, create_character, animate_character, get_generation, list_characters, list_actions, improve_prompt, upload_character, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json