Skip to main content

MCP server for Pyxel, a retro game engine for Python. Enables AI to autonomously run, verify, and iterate on retro game programs.

Project description

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 verification
  • capture_frames — Capture screenshots at multiple frame points for animation verification
  • inspect_sprite — Read sprite pixel data from image banks, report symmetry and colors
  • inspect_layout — Analyze screen layout, text positioning, and visual balance
  • render_audio — Render a Pyxel sound to WAV and analyze notes, rhythm, and key
  • pyxel_info — Get Pyxel installation paths (API stubs, examples)

Getting Started

Just ask your AI agent (e.g. Claude Code) to create a Pyxel game. The agent will automatically discover and set up pyxel-mcp from the MCP Registry.

Manual Installation

  1. Install the package:
pip install pyxel-mcp
  1. Register pyxel-mcp as an MCP server in your AI agent. For Claude Code, add to your project's .mcp.json:
{
  "mcpServers": {
    "pyxel": {
      "type": "stdio",
      "command": "pyxel-mcp"
    }
  }
}

MCP Registry

mcp-name: io.github.kitao/pyxel-mcp

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyxel_mcp-0.3.1.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyxel_mcp-0.3.1-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file pyxel_mcp-0.3.1.tar.gz.

File metadata

  • Download URL: pyxel_mcp-0.3.1.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pyxel_mcp-0.3.1.tar.gz
Algorithm Hash digest
SHA256 f70f2aa0f9f532289f13a06e08b55cfdf363258b1246bd7fb1b96f18786a8e0b
MD5 f44e7c9f430caba50adc905288048a46
BLAKE2b-256 1fff1c2fcd8d152ac30be7cf81a1910a43ce7b98a233c4e1f1b7a2b083fa7016

See more details on using hashes here.

File details

Details for the file pyxel_mcp-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: pyxel_mcp-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pyxel_mcp-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b591d24b568fae7ee1f9d332b4223f8b8630066b72a2bdaa3e2f89353ba97228
MD5 5fa07192d4688fe4dab58a9bdfe4c2e2
BLAKE2b-256 1f1fc7c2835512592e4a3f1971365ec7eb8a344a43eb03949f745e62ef9da3d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page