About Pyxel MCP
Pyxel MCP is an MCP server in the Gaming category: mCP server for Pyxel, a retro game engine for Python.
Install
uvx pyxel-mcppip install pyxel-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (8)
diff_framesPixel differences between two PNG files.
Parameters not published.
pyxel_infoInstalled versions, paths, bundled examples, and resource URIs.
Parameters not published.
read_audioA rendered sound or music WAV plus measurable audio data.
Parameters not published.
read_imageImage-bank pixels and an optional PNG render.
Parameters not published.
read_palettePalette colors and image-bank indices in use.
Parameters not published.
read_tilemapTile coordinates, source bank, usage counts, bounds, and an optional render.
Parameters not published.
runHeadless frames, scheduled input, logs, and `state`, `screen_image`, `screen_grid`, or `video` snapshots.
Parameters not published.
validateSyntax errors and recognizable Pyxel code patterns, without executing.
Parameters not published.
Ask AI
Ask AI about Pyxel MCP
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
pyxel-mcp
MCP server for Pyxel, a retro game engine for Python. Enables AI to autonomously run, verify, and iterate on retro game programs.
Features
Run & Capture
run_and_capture— Run a Pyxel script and capture a screenshot after N framescapture_frames— Capture screenshots at multiple frame points for animation verificationplay_and_capture— Play a game by sending simulated input and capture screenshots
Inspect & Debug
validate_script— Validate a Pyxel script without running itinspect_state— Read game object attributes at specific frames for debugginginspect_screen— Capture screen as a compact color index gridcompare_frames— Compare screenshots at two frames and report pixel differences
Visual Analysis
inspect_sprite— Inspect sprite pixel data from a Pyxel image bankinspect_layout— Analyze screen layout, text alignment, and visual balanceinspect_palette— Analyze color usage and contrast in a Pyxel screenshotinspect_bank— Visualize an entire Pyxel image bank as a single screenshotinspect_tilemap— Inspect tilemap content, tile usage, and layoutinspect_animation— Check sprite sheet consistency across animation frames
Audio
render_audio— Render a Pyxel sound or music to WAV and return waveform analysis
Utility
pyxel_info— Get Pyxel installation info: package location, examples path, and API stubs path
Getting Started
Just ask your AI agent (e.g. Claude Code) to create a Pyxel game. The agent will automatically discover and set up pyxel-mcp from the MCP Registry.
Manual Installation
- Install the package:
pip install pyxel-mcp
- Register
pyxel-mcpas an MCP server in your AI agent. For Claude Code, add to your project's.mcp.json:
{
"mcpServers": {
"pyxel": {
"type": "stdio",
"command": "pyxel-mcp"
}
}
}
MCP Registry
mcp-name: io.github.kitao/pyxel-mcp
License
MIT
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.