Pixelforge MCP logo

Pixelforge MCP

Generate and process pixel-art sprites, animations, backgrounds, and thumbnails with Google Gemini through MCP.

Install Pixelforge MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "pixelforge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "pixelforge-mcp@latest"
      ],
      "env": {
        "GEMINI_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y pixelforge-mcp@latest

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

pixelforge-mcp generates pixel-art game assets through Google Gemini and exposes them as MCP tools. It can create sprites, animation sheets, backgrounds, and thumbnails, then crop, remove backgrounds, split sheets, pad images, or downscale them for pixel-art output. Use it when an AI assistant needs to create or prepare PNG assets directly in a game-art workflow. The server runs through npx and requires Node.js 20 or newer plus a Gemini API key.

Use cases

  • Generate enemy and character sprites from text descriptions
  • Create animation frame PNGs from a sprite-sheet request
  • Prepare existing sprite sheets for use in a game
  • Downscale generated images into pixel-art resolutions
  • Create game backgrounds and thumbnails with matching references

Key features

  • Google Gemini image generation
  • Automatic sprite cropping and background removal
  • Sprite-sheet splitting into frame PNGs
  • Area-averaged pixel-art downscaling
  • Style presets and reference-image matching
  • Pure PNG processing without native modules

Tools8

What Pixelforge MCP lets your agent do. Expand a tool for its parameters.

Self-reported~230 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

7/7 checks healthy over the last 28d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · pixelforge-mcp@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
Last commit23d agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed8Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Pixelforge MCP works

What pixelforge-mcp does

pixelforge-mcp connects an MCP-compatible AI assistant to Google Gemini for generating and processing pixel-art game assets. Its generation tools cover individual sprites, multi-frame animations, full backgrounds, and game thumbnails. Generated output is written to PNG files at paths supplied to the tools.

The server also handles common preparation work after generation. It can remove backgrounds, crop transparent margins, add square padding, split sprite sheets into individual frames, and reduce oversized images to a target pixel-art size. A built-in pixel-art prompt provides guidance for generation, including style and size considerations.

Style presets include neon, retro, Game Boy, SNES, and clean. Reference images can be passed to sprite, animation, and thumbnail generation so new assets can follow an existing visual direction.

How it works

The server uses MCP tool calls to accept descriptions, output paths, dimensions, styles, and processing options. Google Gemini produces the source image, while the local PNG pipeline performs operations such as cropping, transparency handling, sheet splitting, and resizing. Downscaling uses area averaging rather than bilinear interpolation, which is intended to preserve a deliberate pixel-art appearance.

Animation generation requests a sprite sheet and then separates it into frame PNGs. Background generation keeps the returned image intact instead of applying sprite cropping. Model aliases select among the available Gemini image models: the default nano-banana alias, faster Flash options, a Pro option, or the 2.5 Flash fallback.

Setup and configuration

Install the server with the latest npm package through an MCP client's standard stdio configuration. The essential environment variable is GEMINI_API_KEY, which must contain a Google Gemini API key. Node.js 20 or newer is required.

A generic configuration uses:

config.json
{
  "mcpServers": {
    "pixelforge": {
      "command": "npx",
      "args": ["-y", "pixelforge-mcp@latest"],
      "env": {
        "GEMINI_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Code can add the same server from its CLI or install the published plugin. Claude Desktop uses its MCP configuration file. Other MCP clients can use the equivalent stdio configuration.

Tools and capabilities

  • forge_sprite creates one sprite and can apply cropping, background removal, downscaling, and square padding. It accepts a description and output path, with options for size, style, background, aspect ratio, model, and references.
  • forge_animation creates an animation sheet and exports separate frame PNGs. Frame count, names, descriptions, size, style, model, and references are configurable.
  • forge_background generates an uncropped game background using a required aspect ratio.
  • forge_thumbnail creates a game thumbnail or screenshot, optionally using reference images for visual consistency.
  • process_sprite prepares an existing PNG through cropping, transparency handling, padding, and sprite-sheet splitting.
  • optimize_sprite reduces an oversized image to a requested size with area averaging, with optional background removal and square output.

Limitations and notes

The workflow is PNG-focused, and generated or processed files are written to paths supplied in tool arguments. Google Gemini access depends on a valid API key. The available model aliases include nano-banana and banana, flash and gemini-flash, pro and gemini-pro, plus 25 and gemini-25.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Pixelforge MCP

pixelforge-mcp is an MCP server that connects AI assistants to Google Gemini for creating and processing pixel-art game assets. Its main tools generate sprites, animation sheets, backgrounds, and thumbnails, or process existing PNGs through cropping, background removal, sheet splitting, padding, and pixel-art downscaling.

Install it with npx in your MCP client's stdio configuration, using `pixelforge-mcp@latest` as the package and setting `GEMINI_API_KEY` in the environment. Node.js 20 or newer is required. Claude Code also supports its MCP CLI command and plugin installation.

pixelforge-mcp requires a Google Gemini API key in the `GEMINI_API_KEY` environment variable. The key is used for the image-generation tools, including sprite, animation, background, and thumbnail creation.

Yes, pixelforge-mcp can split sprite sheets into individual frame PNGs. Use `process_sprite` for an existing PNG or `forge_animation` to generate an animation sheet and automatically export its frames. Frame names and related splitting options can be supplied where supported.

Yes, pixelforge-mcp can be used with Cursor through its standard MCP configuration. Add the server as a stdio process launched with npx and provide `GEMINI_API_KEY` in the server environment.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPixelforge MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pixelforge-mcp?style=directory)](https://allmcps.com/mcp/pixelforge-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/pixelforge-mcp"><img src="https://allmcps.com/api/badge/pixelforge-mcp?style=directory" alt="Pixelforge MCP on AllMCPs" /></a>