g

geargrafx

@drhelius/geargrafx
0 Stars 1 次浏览 drhelius 更新于 2026-08-23

MCP server for Geargrafx PC Engine / TurboGrafx-16 emulator

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "https://github.com/drhelius/geargrafx/releases/download/1.6.12/Geargrafx-1.6.12-mcpb-linux-x64.mcpb": {
      "args": [],
      "command": ""
    },
    "https://github.com/drhelius/geargrafx/releases/download/1.6.12/Geargrafx-1.6.12-mcpb-macos-arm64.mcpb": {
      "args": [],
      "command": ""
    },
    "https://github.com/drhelius/geargrafx/releases/download/1.6.12/Geargrafx-1.6.12-mcpb-macos-x64.mcpb": {
      "args": [],
      "command": ""
    },
    "https://github.com/drhelius/geargrafx/releases/download/1.6.12/Geargrafx-1.6.12-mcpb-windows-arm64.mcpb": {
      "args": [],
      "command": ""
    },
    "https://github.com/drhelius/geargrafx/releases/download/1.6.12/Geargrafx-1.6.12-mcpb-windows-x64.mcpb": {
      "args": [],
      "command": ""
    }
  }
}

可用工具 (5 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

tavily_search 14 个参数 需填 1 项

Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.

必填参数:query

tavily_extract 6 个参数 需填 1 项

Extract content from URLs. Returns raw page content in markdown or text format.

必填参数:urls

tavily_crawl 11 个参数 需填 1 项

Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.

必填参数:url

tavily_map 8 个参数 需填 1 项

Map a website's structure. Returns a list of URLs found starting from the base URL.

必填参数:url

tavily_research 2 个参数 需填 1 项

Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.

必填参数:input

服务介绍

Geargrafx

GitHub Workflow Status
GitHub Releases)
commits)
GitHub contributors
GitHub Sponsors
License
Twitter Follow

Geargrafx is a very accurate cross-platform TurboGrafx-16 / PC Engine / SuperGrafx / PCE CD-ROM虏 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.

Downloads

Notes:

Features

  • Accurate emulation supporting the entire HuCard PCE / SGX catalog.
  • Support for CD-ROM虏, Super CD-ROM虏 and Arcade CD-ROM虏 systems.
  • Save states with preview.
  • Backup RAM and Memory Base 128 support.
  • Multi Tap (up to 5 players).
  • Standard Gamepad (2 buttons), Avenue Pad 3 (3 buttons, auto-configured based on game), Avenue Pad 6 (6 buttons).
  • Adjustable scanline count (224p, 240p or manual).
  • RGB or Composite color output.
  • Compressed rom and CD images support (pce, sgx, cue, zip and chd).
  • Music rom support: HES.
  • VGM recorder.
  • Internal database for automatic rom detection and hardware selection if Auto options are selected.
  • Supported platforms (standalone): Windows, Linux, BSD and macOS.
  • Supported platforms (libretro): Windows, Linux, macOS, Raspberry Pi, Android, iOS, tvOS, 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 JSR double clicking), debug symbols, automatic labels, memory editor, PSG inspector and video viewer including registers, tiles, sprites, backgrounds, CD-ROM sub-systems and both VDCs in SuperGrafx mode.
  • MCP server for AI-assisted debugging with GitHub Copilot, Claude, ChatGPT and similar, exposing tools for execution control, memory inspection, hardware status, and more.
  • Windows and Linux Portable Mode.
  • 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

  • BIOS: Geargrafx requires a BIOS to run CD-ROM games. It is possible to load any BIOS but the System Card 3.0 with md5 38179df8f4ac870017db21ebcbf53114 is recommended.
  • CD-ROM Images: Geargrafx supports chd, zipped and unzipped cue/bin, cue/img and cue/iso images. cue/iso + wav is also supported when audio track format is 44100Hz, 16 bit, stereo. It does not support MP3 or OGG audio tracks.
  • Mouse Cursor: Automatically hides when hovering over the main output window or when Main Menu is disabled.
  • Portable Mode: Create an empty file named portable.ini in the same directory as the application binary to enable portable mode.

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.
  • Debug Symbols: The emulator automatically tries to load a symbol file when loading a ROM. For example, for path_to_rom_file.rom it tries to load path_to_rom_file.sym. You can also load symbol files using the GUI or the CLI. It supports PCEAS (old and new format), wla-dx and vasm file formats.

Command Line Usage

geargrafx [options] [game_file] [symbol_file]

Arguments:
  [game_file]              Game file: accepts ROMs (.pce, .sgx, .hes), CUE (.cue) 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)
  -v, --version            Display version information
  -h, --help               Display this help message

MCP Server

Geargrafx 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, sprite viewing, and more.

For complete setup instructions and tool documentation, see MCP_README.md.

Build Instructions

Windows

  • Install Microsoft Visual Studio Community 2022 or later.
  • Open the Geargrafx Visual Studio solution platforms/windows/Geargrafx.sln and build.

macOS

  • Install Xcode and run xcode-select --install in the terminal for the compiler to be available on the command line.
  • Run these commands to generate a Mac app bundle:
brew install sdl2
cd platforms/macos
make dist

Linux

  • Ubuntu / Debian / Raspberry Pi (Raspbian):
sudo apt install build-essential libsdl2-dev libgtk-3-dev
cd platforms/linux
make
  • Fedora:
sudo dnf install @development-tools gcc-c++ SDL2-devel gtk3-devel
cd platforms/linux
make
  • Arch Linux:
sudo pacman -S base-devel sdl2 gtk3
cd platforms/linux
make

BSD

  • FreeBSD:
su root -c "pkg install -y git gmake pkgconf SDL2 lang/gcc gtk3"
cd platforms/bsd
gmake
  • NetBSD:
su root -c "pkgin install gmake pkgconf SDL2 lang/gcc gtk3"
cd platforms/bsd
gmake

Libretro

  • Ubuntu / Debian / Raspberry Pi (Raspbian):
sudo apt install build-essential
cd platforms/libretro
make
  • Fedora:
sudo dnf install @development-tools gcc-c++
cd platforms/libretro
make

Contributors

Thank you to all the people who have already contributed to Geargrafx!

Contributors

License

Geargrafx is licensed under the GNU General Public License v3.0 License, see LICENSE for more information.

相关 MCP 服务