Pyxel MCP server
io.github.kitao/pyxel-mcp·v1.3.2·26 starsMCP server for Pyxel, a retro game engine for Python
not scanned yet
26 stars141 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
No tool declarations could be read from the package source. They show once the server is installed.
How Pyxel MCP compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 57/100
- higher than 12% of 48,255 servers
- GitHub stars
- 26
- more than 91% of 28,688 servers
- Downloads a week
- 141
- more than 70% of 12,191 servers with a package
Release history: 3 versions in the registry since 2026-09-13, latest 2026-10-23, typically one every 32 days.
Install Pyxel MCP in Claude Code, Cursor or VS Code
claude mcp add pyxel-mcp -- uvx pyxel-mcp
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-10-15downgradeA → Cscore 57: eval / new Function used
- 2026-09-19restoreC → Ascore 85: eval / new Function used
Pyxel MCP: common questions
- Is Pyxel MCP server safe?
- With care: it is graded C, so read the findings first (57/100). Read the Pyxel MCP safety report
- How do I install Pyxel MCP?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop 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 52 days ago (2026-09-13). The latest release is v1.3.2.
- How does Pyxel MCP compare with other MCP servers?
- safety score 57/100 (higher than 12% of 48,255 servers); github stars 26 (more than 91% of 28,688 servers); downloads a week 141 (more than 70% of 12,191 servers with a package). Full comparison.