Airsc is free for everyone. If it helps you, support it with $2–$20.

Support
MCP serverSafeTesting & debuggingAdvanced

Gearboy

drhelius · drhelius/Gearboy

A Game Boy/Color emulator with an embedded MCP server, enabling AI agents to debug and develop for these classic systems.

Game Boy / Game Boy Color / Super Game Boy emulator and debugger with embedded MCP server for macOS, Windows, Linux, BSD and RetroArch.

1.2k stars167License: GPL-3.0Updated 13 days ago0 opens

Preview

▍

What you can do with it

  • Use an AI agent to analyze game state and variables within the emulator during development.
  • Automate testing of game ROMs by having an agent control and observe the emulator.
  • Develop new features for classic Game Boy games with AI assistance via the MCP.

Safety check

Safe

No risky patterns found in the files we scanned.

Automated scan of the repo files. Always review code you run.

From the README

Gearboy

Gearboy is an accurate, cross-platform Game Boy / Game Boy Color / Super Game Boy emulator written in C++ that runs on Windows, macOS, Linux, BSD and RetroArch, with an embedded MCP server for AI debugging and development.

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.

Downloads

  Platform
  Architecture
  Download Link
  <strong>Windows</strong>
  Desktop x64
  Gearboy-3.8.17-desktop-windows-x64.zip


  Desktop ARM64
  Gearboy-3.8.17-desktop-windows-arm64.zip


  <strong>macOS</strong>
  Homebrew
  <code>brew install --cask drhelius/geardome/gearboy</code>


  Desktop Apple Silicon
  Gearboy-3.8.17-desktop-macos-arm64.zip


  Desktop Intel
  Gearboy-3.8.17-desktop-macos-intel.zip


  <strong>Linux</strong>
  Ubuntu PPA
  drhelius/ppa-geardome


  Fedora RPM
  drhelius/rpm-geardome


  Desktop Ubuntu 26.04 x64
  Gearboy-3.8.17-desktop-ubuntu26.04-x64.zip


  Desktop Ubuntu 26.04 ARM64
  Gearboy-3.8.17-desktop-ubuntu26.04-arm64.zip


  Desktop Ubuntu 24.04 x64
  Gearboy-3.8.17-desktop-ubuntu24.04-x64.zip


  Desktop Ubuntu 24.04 ARM64
  Gearboy-3.8.17-desktop-ubuntu24.04-arm64.zip


  <strong>MCPB</strong>
  All platforms
  MCP Readme


  <strong>RetroArch</strong>
  All platforms
  Libretro core documentation


  <strong>Dev Builds</strong>
  All platforms
  GitHub Actions

Notes:

Features

  • Supported cartridges: ROM, ROM + RAM, MBC1, MBC2, MBC3, MBC5, MBC6, MBC7, HuC-1, HuC-3, MMM01, Pocket Camera, TAMA5, MBC1M, Wisdom Tree, M161, Sachen MMC1, Sachen MMC2, PKJD, Bung/EMS, Poke 2-in-1, Rocket Games, BHGOS, Li Cheng, NT newer, GGB81, Hitek, VF001, VF001 (SL), Sintax, NT old 1 and NT old 2.
  • Game Boy Color support.
  • Super Game Boy support.
  • Local two-instance Game Boy link cable support on desktop platforms and libretro core.
  • Barcode Boy
  • LCD screen ghosting effect as seen in the original Game Boy.
  • LCD dot matrix effects.
  • Battery powered RAM save support.
  • Save states with preview and rewind support.
  • Run-ahead support to reduce input latency.
  • Compressed ROM support (ZIP).
  • Bootrom (BIOS) support.
  • Game Genie and GameShark cheat support.
  • VGM recorder.
  • Supported platforms (standalone): Windows, Linux, BSD and macOS.
  • Supported platforms (libretro): Windows, Linux, macOS, Raspberry Pi, Android, iOS, tvOS, webOS, PlayStation Vita, PlayStation 3, Nintendo 3DS, Nintendo GameCube, Nintendo Wii, Nintendo WiiU, Nintendo Switch, Emscripten, Classic Mini systems (NES, SNES, C64, ...), OpenDingux, RetroFW and QNX.
  • Full debugger with just-in-time disassembler, CPU breakpoints, memory access breakpoints, code navigation (goto address, JP JR and CALL double clicking), debug symbols, automatic labels, memory editor, trace logger, IO inspector and VRAM viewer including tiles, sprites, backgrounds and palettes.
  • MCP server for AI-assisted debugging with GitHub Copilot, Claude, Codex and similar, exposing tools for execution control, memory inspection, hardware status, rewind and more.
  • Windows, Linux and macOS Portable Mode.
  • Programmable Shader Chain.
  • ROM loading from the command line by adding the ROM path as an argument.
  • ROM loading using drag & drop.
  • Support for modern game controllers through gamecontrollerdb.txt file located in the same directory as the application binary.

Tips

Basic Usage

  • Boot ROM: Gearboy can run with or without a Boot ROM. You can optionally load a Boot ROM and enable it.
  • Mouse Cursor: Automatically hides when hovering over the main output window or when Main Menu is disabled.
  • Portable Mode: Run with --portable, or create an empty file named portable.ini in the same directory as the application binary. On macOS, place the file next to the .app bundle.
  • Link Cable: Open Link Cable menu in two desktop instances, select the same session, and connect both, or start each process with --link-cable-join N. Independent instances should use separate application copies or --portable data directories so configuration, saves, and single-instance handling do not conflict.

Debugging Features

  • Docking Windows: In debug mode, you can dock windows together by pressing SHIFT and dragging a window onto another.
  • Multi-viewport: In Windows or macOS, you can enable "multi-viewport" in the debug menu. You must restart the emulator for the change to take effect. Once enabled, you can drag debugger windows outside the main window.
  • Single Instance: You can enable "Single Instance" in the 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.
  • Debug Symbols: The emulator automatically tries to load a symbol file when loading a ROM (.sym, .noi). For example, for 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
View source on GitHub