Listed from the MCP registry; nobody on Odel publishes it.
Forge pixel art sprites, animations, tilesets and game assets with Google Gemini.
Runs on your machine from its package; the steps are below.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y pixelforge-mcp
MCP client config
{
"mcpServers": {
"pixelforge": {
"command": "npx",
"args": [
"-y",
"pixelforge-mcp"
]
}
}
}MCP server that forges pixel art sprites & game assets using Google Gemini — generate, crop, split & process, all from your AI assistant.
background: "chromakey" generates on pure green and keys it out in HSV space for clean edgesclaude mcp add pixelforge npx pixelforge-mcp@latest \
--env GEMINI_API_KEY=your-api-key
/plugin marketplace add freema/pixelforge-mcp
/plugin install pixelforge-mcp
Restart Claude Code to load the MCP server (check with /mcp).
Add to your claude_desktop_config.json:
{
"mcpServers": {
"pixelforge": {
"command": "npx",
"args": ["-y", "pixelforge-mcp@latest"],
"env": {
"GEMINI_API_KEY": "your-api-key"
}
}
}
}
Add to your .mcp.json or equivalent config:
{
"mcpServers": {
"pixelforge": {
"command": "npx",
"args": ["-y", "pixelforge-mcp@latest"],
"env": {
"GEMINI_API_KEY": "your-api-key"
}
}
}
}
forge_spriteGenerate a single pixel art sprite with automatic post-processing (crop, bg removal, downscale, square padding).
"Generate a green slime enemy sprite, 48px, retro style"
Required: description, outputPath
Optional: size (default: 48), style, background (default: black, see Backgrounds & transparency), aspect, square, model, references
forge_animationGenerate animation frames as individual, ready-to-use frame PNGs.
By default each frame is generated in its own request, with the first frame passed as a reference image to the following ones (reference chain) — this keeps proportions, colors and outline consistent across frames. Set useReferenceChain: false to generate a single sprite sheet and auto-split it instead. useTemplate: true does the same and additionally guides the sheet with a numbered grid template.
"Animate a slime bouncing, 4 frames"
Required: description, action, outputPrefix
Optional: frames (default: 3), frameDescriptions, names, size, style, background (default: black, see Backgrounds & transparency), square, useReferenceChain (default: true), useTemplate (default: false), model, references
forge_backgroundGenerate a full game background — no cropping, outputs the image as-is.
"Deep space background with stars and nebula, 16:9"
Required: description, outputPath, aspect
Optional: style, model
forge_thumbnailGenerate a game thumbnail/screenshot. Pass references for visual consistency with your sprites.
"Space shooter scene with player ship vs alien rows"
Required: description, outputPath
Optional: references, aspect (default: 4:3), style, model
forge_tilesetGenerate a seamless, tileable square texture for terrain, floors and walls. No background removal — the texture fills the whole canvas.
"Seamless grass terrain tile, 32px, snes style"
Required: description, outputPath
Optional: size (default: 32), style, model
forge_item_kitGenerate up to 16 related sprites in one batch. Items are drawn together on a grid for visual consistency, then split into individual PNGs.
"Fruit icons: red apple, banana, cherry, grapes"
Required: items, outputPrefix
Optional: names, size (default: 48), style, background, square, model, references
process_spritePost-process an existing PNG — background removal, auto-crop, sprite sheet splitting.
"Split this sprite sheet into individual frames"
Required: inputPath
Optional: outputPath, split, names, threshold, square, padding, skipCrop, skipTransparent
optimize_spriteDownscale oversized AI images to true pixel art resolution using area-averaging (not blurry bilinear).
"Optimize this 1024px image down to 48px pixel art"
Required: inputPath, size
Optional: outputPath, removeBackground, square
Sprites are generated on a flat background color that is removed afterwards. The background parameter picks that color:
| Value | Background | Removal |
|---|---|---|
chromakey | Pure green #00FF00 | HSV chroma key — recommended for forge_sprite and forge_animation |
black (default), white | Pure black / white | Soft alpha matting against the background color |
forest, sky, dungeon, lava, ocean, sand, snow, night | Scene-tinted solid color | Soft alpha matting against the background color |
auto | Picked from keywords in the description (falls back to black) | Soft alpha matting against the background color |
Chroma key (background: "chromakey") asks the model for a pure green screen and a bold dark outline around the sprite, then removes every pixel whose hue is within ±22° of green (with saturation and value above 0.3). Pixels just outside that range get a soft alpha ramp, so edges stay clean. Unlike the black or white backgrounds, it cannot eat dark or light pixels that belong to the sprite itself.
"Generate a knight sprite, 64px, background chromakey"
Avoid chromakey for sprites that are themselves bright green (slimes, leaves, emeralds) — those pixels would be keyed out as well. Use black, white or a scene color for them.
chromakey is never chosen by auto; it has to be requested explicitly. The HSV keyer runs in forge_sprite and forge_animation; forge_item_kit accepts the same background values but always uses the regular matting.
| Alias | Model ID | Notes |
|---|---|---|
nano-banana, banana | nano-banana-pro-preview | Default — best for pixel art |
flash, gemini-flash | gemini-3.1-flash-image-preview | Fast, reliable |
pro, gemini-pro | gemini-3-pro-image-preview | Best quality |
25, gemini-25 | gemini-2.5-flash-image | Stable fallback |
pixel_art_guideBuilt-in MCP prompt with comprehensive pixel art generation guidelines — prompting rules, style tips, size recommendations, and best practices.
MIT — see LICENSE
Built by Tomas Grasl