Gearboy MCP Server
Lets your AI agent debug Game Boy and Game Boy Color games in an emulator, with memory and execution control.
1.2k stars on GitHubby drheliusLicense GPL-3.0Updated 19 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Download the .mcpb file and open it with Claude Desktop.
Download the .mcpb file βReady! Now test it
Restart the app and paste one of these requests in the chat:
Run the game to the title screen and show me the CPU registers.
Set a breakpoint on this address and tell me what writes to it.
What it is
Gearboy is an open-source Game Boy, Game Boy Color and Super Game Boy emulator with a full debugger. It has an embedded MCP server so AI agents such as Claude Code and Codex can control execution, inspect memory and hardware, and use breakpoints. It supports STDIO and HTTP.
What it can do
- Execution control
- Memory inspection
- Breakpoints
- Disassembly
- Hardware status
- Rewind
When to use
- βΊWhen you debug or reverse engineer a Game Boy game with AI help.
- βΊWhen you make cheats, patches or translations and need to search memory.
- βΊWhen you develop a Game Boy homebrew game and want your agent to trace code.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
reverse-engineerLets your agent analyze compiled programs. It understands how to disassemble, decompile, and analyze software using advanced reverse engineering tools.game-reconHelps your agent find an installed game and work out how it can be modded, including its engine, version, anti-cheat, saves and community modding route.reverse-engineeringHelps your agent read how a game works inside, using decompilers and debugging tools, so a mod can safely hook into its code and data.Frequently asked questions
Is it free and open source?
Yes. Gearboy is open source with a license badge in the repository.
Which transports are supported?
STDIO (preferred) and HTTP, which listens on 127.0.0.1 port 7777 by default.
Can it run without a window?
Yes. The --headless option runs without the GUI and requires MCP or link cable.
Are there skills for agents?
Yes. gearboy-debugging and gearboy-romhacking, installed with npx skills add drhelius/gearboy.
Which platforms are supported?
Windows, macOS, Linux, BSD and RetroArch.
Where is the setup guide?
In MCP_README.md in the repository.
If it does not work
- βΊOn Windows you may need the Visual C++ Redistributable and OpenGL Compatibility Pack.
- βΊOn Linux you may need libsdl3.
- βΊUse --mcp-stdio so the client starts the server, and read MCP_README.md for setup.
5 new skills a week. 1 minute to read.