SpriteSheetGen
MCP server and CLI that generates 2D game sprite sheets and Godot or Phaser files
SpriteSheetGen is a freemium MCP server for game development. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- CLI, API, Linux
- Runs
- Locally
- What it can do
- Can change data (2 tools)
- Version
- 0.3.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add spritesheetgen --env SPRITESHEETGEN_API_KEY='<SPRITESHEETGEN_API_KEY>' -- npx -y @spritesheetgen/cliAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"spritesheetgen": {
"command": "npx",
"args": [
"-y",
"@spritesheetgen/cli"
],
"env": {
"SPRITESHEETGEN_API_KEY": "<SPRITESHEETGEN_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"spritesheetgen": {
"command": "npx",
"args": [
"-y",
"@spritesheetgen/cli"
],
"env": {
"SPRITESHEETGEN_API_KEY": "<SPRITESHEETGEN_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"spritesheetgen": {
"command": "npx",
"args": [
"-y",
"@spritesheetgen/cli"
],
"env": {
"SPRITESHEETGEN_API_KEY": "<SPRITESHEETGEN_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"spritesheetgen": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@spritesheetgen/cli"
],
"env": {
"SPRITESHEETGEN_API_KEY": "<SPRITESHEETGEN_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add spritesheetgen --env SPRITESHEETGEN_API_KEY='<SPRITESHEETGEN_API_KEY>' -- npx -y @spritesheetgen/cliOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.spritesheetgen]
command = "npx"
args = ["-y", "@spritesheetgen/cli"]
env = { SPRITESHEETGEN_API_KEY = "<SPRITESHEETGEN_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"spritesheetgen": {
"command": "npx",
"args": [
"-y",
"@spritesheetgen/cli"
],
"env": {
"SPRITESHEETGEN_API_KEY": "<SPRITESHEETGEN_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "spritesheetgen": { "command": "npx", "args": [ "-y", "@spritesheetgen/cli" ], "env": { "SPRITESHEETGEN_API_KEY": "<SPRITESHEETGEN_API_KEY>" } } } }Or run: gemini mcp add -s user -e SPRITESHEETGEN_API_KEY='<SPRITESHEETGEN_API_KEY>' spritesheetgen npx -- -y @spritesheetgen/cli
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "spritesheetgen": { "command": "npx", "args": [ "-y", "@spritesheetgen/cli" ], "env": { "SPRITESHEETGEN_API_KEY": "<SPRITESHEETGEN_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "spritesheetgen": { "command": "npx", "args": [ "-y", "@spritesheetgen/cli" ], "env": { "SPRITESHEETGEN_API_KEY": "<SPRITESHEETGEN_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "spritesheetgen": { "command": "npx", "args": [ "-y", "@spritesheetgen/cli" ], "env": { "SPRITESHEETGEN_API_KEY": "<SPRITESHEETGEN_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "spritesheetgen": { "command": "npx", "args": [ "-y", "@spritesheetgen/cli" ], "env": { "SPRITESHEETGEN_API_KEY": "<SPRITESHEETGEN_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "spritesheetgen": { "command": "npx", "args": [ "-y", "@spritesheetgen/cli" ], "env": { "SPRITESHEETGEN_API_KEY": "<SPRITESHEETGEN_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "spritesheetgen": { "command": "npx", "args": [ "-y", "@spritesheetgen/cli" ], "env": { "SPRITESHEETGEN_API_KEY": "<SPRITESHEETGEN_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "spritesheetgen": { "command": "npx", "args": [ "-y", "@spritesheetgen/cli" ], "env": { "SPRITESHEETGEN_API_KEY": "<SPRITESHEETGEN_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
SPRITESHEETGEN_API_KEYOptional. An API key from https://spritesheetgen.com/account/ (otherwise the key saved by `npx -y @spritesheetgen/cli login` is used).
About SpriteSheetGen
SpriteSheetGen lets a coding agent such as Claude Code, Codex or Cursor create a 2D game character, animate it, and write the results into a project folder. Each export includes a PNG sheet, a TexturePacker-style JSON atlas, a Godot 4 SpriteFrames resource, single frames and a GIF preview.
The agent estimates the price first and only spends credits after the user approves. Each paid request carries a credit cap and a client key so retries are not charged twice. API keys have their own permissions and daily and total spending limits.
The package also works without an agent, through a command line tool with JSON output for scripts. It can pack a GIF you already have into a sprite sheet at no cost and needs no key. It is aimed at indie and hobbyist game developers working with Phaser, PixiJS, Godot or similar engines.
Tools this server provides (9)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 9 tools change data; 3 names don't say.
From the server's own tool labels and tool names; not verified by us.
- estimate_sprite
- Price of a character or an action, your balance and the key's remaining budget
- improve_prompt
- Turns a rough idea into a character description that generates well
- create_characterName suggests: changes
- One character image from a description
- upload_characterName suggests: changes
- Uses your own PNG, JPEG or WebP character instead
- animate_character
- One animation of a character: walk, run, idle, attack or jump
- get_generationName suggests: reads
- Status and result of a generation (can wait for it)
- list_charactersName suggests: reads
- Characters you generated or uploaded
- list_actionsName suggests: reads
- Animations a character already has
- export_sprite_sheetName suggests: reads
- Packs a finished animation or a local GIF into a folder on your machine
What it does
- Character generation from text
- Creates a single character image from a written description, or uses your own PNG, JPEG or WebP instead.
- Preset animations
- Produces walk, run, idle, attack and jump animations for a character.
- Engine-ready exports
- Writes sprite sheets, JSON atlases and Godot SpriteFrames files into your project folder.
- Price estimates before spending
- Shows the cost of a character or action and the key's remaining budget before any paid call.
- Spending limits per key
- Each API key has its own permissions and daily and total credit caps.
- Command line interface
- Runs the same features from a terminal with JSON output for scripts.
Good for
- Generating placeholder characters and their walk cycles for a prototype
- Packing an existing GIF into a transparent sprite sheet for Phaser or Godot
- Producing single frames for Unity or GameMaker projects
- Creating idle and attack animations for a 2D platformer character
Pricing
Freemium
Credit-based; new accounts get 25 credits. Local GIF export is free.
Prices change. Check terror668.github.io before you buy.
SpriteSheetGen FAQ
Which AI coding agents can use SpriteSheetGen?
The docs show setup with Claude Code and Codex, and the JSON config example works with clients that read an mcpServers file such as Cursor.
What does the export contain?
A sheet.png, a sheet.json atlas with an animations block, an animation.tres for Godot 4, a preview.gif, an export.json with the settings and optional individual frames.
Do I need an account to pack a GIF?
No. Exporting a local GIF needs no key and costs nothing.
What does SpriteSheetGen need to run?
Node.js 20 or newer. The server communicates over stdio.
Is SpriteSheetGen free?
SpriteSheetGen has a free plan, with paid plans for more usage or features.
How do I add SpriteSheetGen to Claude Code?
Run this command in your terminal: claude mcp add spritesheetgen --env SPRITESHEETGEN_API_KEY='<SPRITESHEETGEN_API_KEY>' -- npx -y @spritesheetgen/cli
What are the best alternatives to SpriteSheetGen?
The closest alternatives to SpriteSheetGen are LPC Character Generator, AI Spritesheet Maker, Sprite AI, Spritesheet Forge and Itemsmith game assets.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.