by drhelius
Game Boy / Gameboy Color 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/GearboyGearboy is a cross-platform Game Boy / Game Boy Color 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:
libsdl3portable.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.gb it tries to load path_to_rom_file.sym. You can also load a symbol file using the GUI or the CLI. It supports RGBDS, GBDK-2020, WLA-DX, no$gmb, SDCC/NoICE (.noi), EQU and generic file formats.gearboy [options] [rom_file] [symbol_file]
Arguments:
[rom_file] ROM file: accepts ROMs (.gb, .dmg, .gbc, .cgb, .sgb) 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
Gearboy 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, and more.
For complete setup instructions and tool documentation, see MCP_README.md.
Gearboy provides Agent Skills that teach AI assistants how to effectively use the emulator for specific tasks:
Install with npx skills add drhelius/gearboy. See the skills README for details.
SDL3-devel-x.y.z-VC.zip).SDL3-x.y.z) to SDL3.SDL3 folder inside platforms/windows/dependencies/ so that the include path is platforms/windows/dependencies/SDL3/include/SDL3/.platforms/windows/Gearboy.sln and build.xcode-select --install in the terminal for the compiler to be available on the command line.brew install sdl3
cd platfor
No comments yet. Be the first to share your thoughts!