Geargrafx MCP Server
Lets your AI agent debug games in the Geargrafx PC Engine emulator: run, pause, inspect memory and breakpoints.
256 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 memory around the work RAM address 0DB1.
What it is
Geargrafx is a PC Engine / TurboGrafx-16 emulator with a built-in MCP server. It lets an AI agent control the running emulator for debugging and development, such as stepping through code, reading memory and checking hardware state.
What it can do
- Execution control: run, pause and step the emulator
- Memory inspection
- Breakpoints
- Disassembly
- Hardware status
- Rewind
When to use
- βΊWhen you want an AI to help trace how a PC Engine game works
- βΊWhen you want to find and change values in game memory, for cheats or patches
- βΊWhen you are reverse engineering or translating a 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.cli-anything-lldbLets your agent debug programs with LLDB from the command line, setting breakpoints, inspecting variables, and reading memory.node-inspect-debuggerHelps your agent debug Node.js programs step by step, using breakpoints, hidden values, and memory and CPU profiles to find problems.Frequently asked questions
Is it free and open source?
Yes, the emulator is open source and released with its source on GitHub.
How do I start the MCP server?
Run geargrafx with --mcp-stdio or --mcp-http. The readme says stdio is preferred.
Can it run without a window?
Yes. The --headless option runs without the GUI, but it needs MCP or TurboLink.
Which platforms does it run on?
Windows, macOS, Linux and BSD, plus RetroArch.
Are there extra helpers for agents?
Yes, there are Agent Skills for debugging and romhacking, installed with npx skills add drhelius/geargrafx.
What is the default HTTP address?
127.0.0.1 on port 7777.
If it does not work
- βΊStart Geargrafx with --mcp-stdio (or --mcp-http) so the MCP server is on.
- βΊOn Windows you may need the Visual C++ Redistributable and the OpenGL Compatibility Pack; on Linux you may need libsdl3.
- βΊCD-ROM games need a BIOS file; System Card 3.0 is recommended.
5 new skills a week. 1 minute to read.