PixelForge

v0.3.0
io.github.freema/pixelforge-mcp Checked 14 hours ago Published 25 days ago

Forge pixel art sprites, animations, tilesets and game assets with Google Gemini.

Values you need

VariableWhat it is
GEMINI_API_KEYrequired secret Google Gemini API key (https://aistudio.google.com/apikey)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add pixelforge-mcp -e 'GEMINI_API_KEY=<GEMINI_API_KEY>' -- npx -y pixelforge-mcp@0.3.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "pixelforge-mcp": {
      "args": [
        "-y",
        "pixelforge-mcp@0.3.0"
      ],
      "command": "npx",
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "pixelforge-mcp": {
      "args": [
        "-y",
        "pixelforge-mcp@0.3.0"
      ],
      "command": "npx",
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "GEMINI_API_KEY",
      "id": "gemini-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "pixelforge-mcp": {
      "args": [
        "-y",
        "pixelforge-mcp@0.3.0"
      ],
      "command": "npx",
      "env": {
        "GEMINI_API_KEY": "${input:gemini-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.pixelforge-mcp]
command = "npx"
args = ["-y", "pixelforge-mcp@0.3.0"]
env = { "GEMINI_API_KEY" = "<GEMINI_API_KEY>" }

For AI agents

  1. Ask the user for: GEMINI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: forge_sprite, forge_animation, forge_background, forge_thumbnail, forge_tileset, forge_item_kit, process_sprite, optimize_sprite.
  5. 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