by drhelius
PC Engine / TurboGrafx-16 / SuperGrafx / PCE CD-ROM² emulator, debugger, and embedded MCP server for macOS, Windows, Linux, BSD and RetroArch.
# Add to your Claude Code skills
git clone https://github.com/drhelius/GeargrafxGeargrafx is a very accurate cross-platform TurboGrafx-16 / PC Engine / SuperGrafx / PCE CD-ROM² emulator written in C++ that runs on Windows, macOS, Linux, BSD and RetroArch, with an embedded MCP server for debugging and tooling.
This is an open source project with its ongoing development made possible thanks to the support by these awesome backers. If you find it useful, please consider sponsoring.
Don't hesitate to report bugs or ask for new features by opening an issue.
Notes:
libsdl3Auto options are selected.38179df8f4ac870017db21ebcbf53114 is recommended.chd, zipped and unzipped cue/bin, cue/img and cue/iso images. cue/iso + wav is also supported when audio track format is 44100Hz, 16 bit, stereo. It does not support MP3 or OGG audio tracks.portable.ini in the same directory as the application binary to enable portable mode.Emulator menu. When enabled, opening a ROM while another instance is running will send the ROM to the running instance instead of starting a new one.path_to_rom_file.rom it tries to load path_to_rom_file.sym. You can also load symbol files using the GUI or the CLI. It supports PCEAS (old and new format), wla-dx and vasm file formats.geargrafx [options] [game_file] [symbol_file]
Arguments:
[game_file] Game file: accepts ROMs (.pce, .sgx, .hes), CUE (.cue) or ZIP (.zip)
[symbol_file] Optional symbol file for debugging
Options:
-f, --fullscreen Start in fullscreen mode
-w, --windowed Start in windowed mode with menu visible
--mcp-stdio Auto-start MCP server with stdio transport
--mcp-http Auto-start MCP server with HTTP transport
--mcp-http-port N HTTP port for MCP server (default: 7777)
--headless Run without GUI (requires --mcp-stdio or --mcp-http)
-v, --version Display version information
-h, --help Display this help message
Geargrafx includes a Model Context Protocol (MCP) server that enables AI-assisted debugging through AI agents like GitHub Copilot, Claude, ChatGPT and similar. The server provides tools for execution control, memory inspection, breakpoints, disassembly, hardware status, sprite viewing, and more.
For complete setup instructions and tool documentation, see MCP_README.md.
Geargrafx provides Agent Skills that teach AI assistants how to effectively use the emulator for specific tasks:
Install with npx skills add drhelius/geargrafx. See the skills README for details.
No comments yet. Be the first to share your thoughts!