MCP Catalogs
Home

pyxel-mcp

by kitao·17·Score 43

MCP server for AI-assisted retro game development with Pyxel, offering tools to run, capture, and analyze games.

developer-toolsai-llmmedia
3
Forks
3
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

Pyxel-MCP is a specialized MCP server that enables AI agents to autonomously develop, test, and analyze retro games using Pyxel, a Python-based retro game engine. It provides comprehensive tools for running game scripts, capturing screenshots, recording gameplay, and debugging game state. The server also exposes Pyxel reference documentation as MCP resources, making it easier for AI agents to access official documentation and examples during development.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI-assisted retro game development with automated testing and iteration
you:Automated sprite and animation analysis for game design optimization
you:Visual debugging of game states and pixel-level differences
you:What is Pyxel?
you:How can I access the Pyxel examples through this MCP server?

When to choose this

Choose this MCP server if you're working with retro game development using Pyxel and want AI assistance with automated testing, visual analysis, and code validation.

When NOT to choose this

Don't choose this if you're working with modern game engines like Unity or Unreal Engine, as it's specifically designed for Pyxel's retro game development workflow.

Tools this server exposes

12 tools extracted from the README
  • run_and_capture

    Run a Pyxel script and capture a screenshot after N frames

  • capture_frames

    Capture screenshots at multiple frame points for animation verification

  • record_gameplay

    Record N frames as a GIF for animation/transition verification

  • play_and_capture

    Play a game by sending simulated input and capture screenshots

  • validate_script

    Validate a Pyxel script without running it

  • inspect_state

    Read game object attributes at specific frames for debugging

  • inspect_screen

    Capture screen as a compact color index grid

  • compare_frames

    Compare screenshots at two frames and report pixel differences

  • inspect_sprite

    Inspect sprite pixel data from a Pyxel image bank

  • inspect_layout

    Analyze screen layout, text alignment, and visual balance

  • inspect_palette

    Analyze color usage and contrast in a Pyxel screenshot

  • render_audio

    Render a Pyxel sound or music to WAV and return waveform analysis

Comparable tools

retro-engine-mcpgame-dev-toolspyxelpico-8-mcp

Installation

Installation

  1. Install the package:
pip install pyxel-mcp
  1. Register pyxel-mcp as an MCP server in your AI agent. For Claude Code, add to your project's .mcp.json:
{
  "mcpServers": {
    "pyxel": {
      "type": "stdio",
      "command": "pyxel-mcp"
    }
  }
}

FAQ

What is Pyxel?
Pyxel is a retro game engine for Python, inspired by PICO-8, designed for creating small retro-style games.
How can I access the Pyxel examples through this MCP server?
You can reference examples using the format `@pyxel:examples/<name>` in Claude Code, such as `@pyxel:examples/02_jump_game`.

Compare pyxel-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.