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_and_capture— Run a Pyxel script and capture a screenshot for visual verificationcapture_frames— Capture screenshots at multiple frame points for animation verificationinspect_sprite— Read sprite pixel data from image banks, report symmetry and colorsinspect_layout— Analyze screen layout, text positioning, and visual balancerender_audio— Render a Pyxel sound to WAV and analyze notes, rhythm, and keypyxel_info— Get Pyxel installation paths (API stubs, examples)
Requirements
- Python 3.10+
- Pyxel (
pip install pyxel)
Installation
pip install pyxel-mcp
Usage with Claude Code
Add to your project's .mcp.json:
{
"mcpServers": {
"pyxel": {
"type": "stdio",
"command": "pyxel-mcp"
}
}
}
Then copy CLAUDE.md to your project root to give the AI context about available tools and Pyxel workflows.
MCP Registry
mcp-name: io.github.kitao/pyxel-mcp
License
MIT