Gearsystem MCP Server
Lets your AI agent debug Sega Master System, Game Gear and SG-1000 games inside the Gearsystem emulator.
399 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:
Load this ROM and set a breakpoint where the score is updated.
Show me the disassembly around the current instruction.
What it is
Gearsystem is an emulator for Sega Master System, Game Gear and SG-1000 with a built-in MCP server. Your AI agent can control execution, look at memory, set breakpoints, read disassembly and check hardware status while a game runs. It helps with debugging and ROM hacking.
What it can do
- Execution control: run, pause and step
- Memory inspection
- Breakpoints
- Disassembly
- Hardware status
- Rewind
- Run without a window using --headless
When to use
- βΊWhen you want an agent to trace why a Master System game crashes.
- βΊWhen you want to search memory to build a cheat for a game.
- βΊWhen you are reverse engineering or translating a retro game ROM.
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.
node-inspect-debuggerHelps your agent debug Node.js programs step by step, using breakpoints, memory snapshots, and CPU profiles to find hidden problems.node-inspect-debuggerHelps your agent debug Node.js programs step by step, using breakpoints, hidden values, and memory and CPU profiles to find problems.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. It is open source (the readme links a LICENSE file) and is supported by sponsors.
Which systems does it emulate?
Sega Mark III, Master System, Game Gear, SG-1000 and Othello Multivision.
Which transports does the MCP server use?
STDIO or HTTP. STDIO is preferred. HTTP defaults to 127.0.0.1 port 7777.
Can it run without a window?
Yes, the --headless option runs without a GUI and needs MCP or the link cable.
Are there extra skills?
Yes, the gearsystem-debugging and gearsystem-romhacking agent skills, installed with npx skills add drhelius/gearsystem.
Does it work on RetroArch?
Gearsystem has a libretro core for RetroArch, but the MCP server is part of the standalone desktop app.
If it does not work
- βΊOn Windows you may need the Visual C++ Redistributable and the OpenGL Compatibility Pack.
- βΊOn Linux you may need libsdl3.
- βΊStart the emulator with --mcp-stdio or --mcp-http so the server is on, and match this in your client config.
5 new skills a week. 1 minute to read.