Pyxel MCP server
MCP server for Pyxel, a retro game engine for Python
26 stars197 downloads/wk
Reviews
Write oneNobody has reviewed Pyxel MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Pyxel MCP tools (8, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
diff_framesCompare two PNG frames pixel by pixel and return their changed region and ratio.
pyxel_infoReport installed versions, paths, examples, and Pyxel resource URIs.
read_audioRender one Pyxel sound or music slot to WAV and return measurable audio data.
read_imageread_paletteRead the active Pyxel palette and the palette indices used by image banks.
read_tilemaprunwrite actionDrive a trusted local script through deterministic headless frames.
validateCheck Python syntax and report recognizable Pyxel code patterns.
Public scan report
scanner v0.1.8 · 2026-09-19 · same rubric, same numbers if you re-run it
- Code scan42 source files scanned20/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 6 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (1)
- mediumeval / new Function used
exec.evalpyxel_mcp-1.3.0/src/pyxel_mcp/observe/_harnesses/_common/until_condition.py: …bute.""" class _AttrNamespace: """eval() locals mapping that resolves bare name…
What the publisher says
From the Pyxel MCP repository's README, as published. We do not edit it. Read it on GitHub
pyxel-mcp
Let AI agents play, watch, and measure Pyxel games. pyxel-mcp is an MCP server that runs a Pyxel script headlessly, feeds it scheduled input, stops when a condition holds, and hands back the facts: screenshots, pixel grids, game state, assets, audio, and frame diffs.
Both images come from one run call against Pyxel's bundled 10platformer.py: 150 frames, right held from frame 0, jumps scheduled at frames 25, 70, and 110, a video snapshot, and an inline screenimage snapshot.
Why
An agent can write a Pyxel game in seconds, but it cannot open a window, press the arrow keys, or look at the screen. Editor-bound engines solve this with MCP servers that live inside the editor. Pyxel has no editor process to attach to, so pyxel-mcp drives the game itself:
- Headless and deterministic. Every call runs the script in a fresh subprocess with SDL dummy drivers, an optional RNG seed, and a frame budget. The same call gives the same frames on a laptop or in CI.
- Input as data. Buttons, axes, and mouse position are scheduled per frame, so a playtest is a JSON document the agent can rerun and extend.
- Stop on the event, not the clock. until="score >= 1" ends the run at the first frame where a game attribute holds, and "frame": "end" snapshots capture that moment.
- Facts, not scores. Tools report pixels, values, and measurements. Deciding whether the game is good stays with the agent and the person asking for it.
- See the frame in the result. inline: true returns a PNG as MCP image content, so the model looks at the screen without a second file read.
Install
Register the stdio server with your client:
claude mcp add --scope user pyxel -- uvx pyxel-mcpcodex mcp add pyxel -- uvx pyxel-mcpgemini mcp add pyxel uvx pyxel-mcpFor Cursor (~/.cursor/mcp.json), a project-scoped Claude Code .mcp.json, or any other client that reads the common JSON format, add:
{
"mcpServers": {
"pyxel": {
"command": "uvx",
"args": ["pyxel-mcp"]
}
}
}VS Code uses .vscode/mcp.json with a top-level servers key and "type": "stdio"; Codex CLI can also be configured in ~/.codex/config.toml as [mcp_servers.pyxel]. Run uvx pyxel-mcp install to print every variant.
Claude Code users can instead install the pyxel-skill plugin, which registers this server together with the skill that teaches agents how to use it:
claude plugin marketplace add kitao/pyxel-skill && claude plugin install pyxel@pyxel-skillRestart the client after changing its configuration. The server writes this diagnostic to stderr:
[pyxel-mcp] starting - 8 toolsPython 3.11+ is required, and Pyxel >= 2.9.6 is installed as a dependency. Script tools execute local Python in subprocesses to isolate Pyxel state, but they do not sandbox untrusted code. See SECURITY.md.
How an agent uses it
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Grade history
- 2026-09-19restoreC → Ascore 85: eval / new Function used
Install directly
claude mcp add pyxel-mcp -- uvx pyxel-mcp
Pyxel MCP: common questions
- Is Pyxel MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the Pyxel MCP safety report
- How do I install Pyxel MCP?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Pyxel MCP need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Pyxel MCP maintained?
- The last commit was 7 days ago (2026-09-13). The latest release is v1.3.0.
- What can I use instead of Pyxel MCP?
- Servers from other publishers that do the same job: Unreal Engine MCP server.
Alternatives to Pyxel MCP
Same job from other publishers: the closest match first, then the best rated.
- Unreal EngineMCP server for Unreal Engine 5 with 23 tools for game development automation.not reviewedEstablishedA