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.
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:
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 READMErun_and_captureRun a Pyxel script and capture a screenshot after N frames
capture_framesCapture screenshots at multiple frame points for animation verification
record_gameplayRecord N frames as a GIF for animation/transition verification
play_and_capturePlay a game by sending simulated input and capture screenshots
validate_scriptValidate a Pyxel script without running it
inspect_stateRead game object attributes at specific frames for debugging
inspect_screenCapture screen as a compact color index grid
compare_framesCompare screenshots at two frames and report pixel differences
inspect_spriteInspect sprite pixel data from a Pyxel image bank
inspect_layoutAnalyze screen layout, text alignment, and visual balance
inspect_paletteAnalyze color usage and contrast in a Pyxel screenshot
render_audioRender a Pyxel sound or music to WAV and return waveform analysis
Comparable tools
Installation
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"
}
}
}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
Last updated · Auto-generated from public README + GitHub signals.