Pyxel MCP Server

MCP server for Pyxel, a retro game engine for Python

Local serverstdioPython

What is the Pyxel MCP MCP server?

Connect Pyxel MCP to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server for Pyxel, a retro game engine for Python. The pyxel mcp mcp server is what makes that connection.

What the server does

An MCP server for observing programs built with Pyxel. It runs trusted local scripts headlessly and returns structured state, pixels, assets, audio, and frame differences.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • validate — Syntax errors and recognizable Pyxel code patterns
  • run — Headless frames, scheduled input, logs, and state, screen_image, screen_grid, or video snapshots
  • pyxel_info — Installed versions, paths, examples, and resource URIs
  • read_palette — Palette colors and image-bank indices in use
  • read_image — Image-bank pixels and an optional PNG render
  • read_tilemap — Tile coordinates, source bank, usage counts, bounds, and an optional render
  • read_audio — A rendered sound or music WAV plus measurable audio data
  • diff_frames — Pixel differences between two PNG files

Installation

Installation goes through your MCP client rather than a global install: point it at pyxel-mcp on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Where it fits

This sits in the browser automation group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Pyxel MCP's toolset — validate, run, pyxel_info and 5 more — is a fair guide to whether it matches your workflow. It is maintained by kitao; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Pyxel MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
validateSyntax errors and recognizable Pyxel code patterns.
runHeadless frames, scheduled input, logs, and state, screen_image, screen_grid, or video snapshots.
pyxel_infoInstalled versions, paths, examples, and resource URIs.
read_palettePalette colors and image-bank indices in use.
read_imageImage-bank pixels and an optional PNG render.
read_tilemapTile coordinates, source bank, usage counts, bounds, and an optional render.
read_audioA rendered sound or music WAV plus measurable audio data.
diff_framesPixel differences between two PNG files.

How to install the Pyxel MCP MCP server

{
  "mcpServers": {
    "pyxel": {
      "command": "uvx",
      "args": ["pyxel-mcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Pyxel MCP to validate.
  • Use Pyxel MCP to run.
  • Use Pyxel MCP to pyxel info.

Frequently asked questions

It connects Pyxel MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 8 tools (validate, run, pyxel_info, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Pyxel MCP directly.