/ 디렉터리 / 플레이그라운드 / Geargrafx
● 커뮤니티 drhelius ⚡ 바로 사용

Geargrafx

제작: drhelius · drhelius/Geargrafx

PC Engine / TurboGrafx-16 emulator with an embedded MCP server for AI-assisted debugging and retro game analysis.

Geargrafx is a cross-platform TurboGrafx-16 / PC Engine / SuperGrafx / PCE CD-ROM² emulator written in C++ with an embedded MCP server. AI agents can control execution, inspect memory, set breakpoints, disassemble HuC6280 code, view sprites/tiles, and inspect CD-ROM subsystem state. Supports stdio and HTTP transport, Multi Tap (5 players), save states with previews, and VGM recording.

왜 쓰나요

핵심 기능

라이브 데모

실제 사용 모습

geargrafx-2.replay ▶ 준비됨
0/0

설치

클라이언트 선택

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "geargrafx-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/drhelius/Geargrafx"
      ]
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config 열기. 저장 후 앱 재시작.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "geargrafx-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/drhelius/Geargrafx"
      ]
    }
  }
}

Cursor는 Claude Desktop과 동일한 mcpServers 스키마 사용. 프로젝트 설정이 전역보다 우선.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "geargrafx-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/drhelius/Geargrafx"
      ]
    }
  }
}

Cline 사이드바의 MCP Servers 아이콘 클릭 후 "Edit Configuration" 선택.

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "geargrafx-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/drhelius/Geargrafx"
      ]
    }
  }
}

Claude Desktop과 같은 형식. Windsurf 재시작 후 적용.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "geargrafx-2",
      "command": "TODO",
      "args": [
        "See README: https://github.com/drhelius/Geargrafx"
      ]
    }
  ]
}

Continue는 맵이 아닌 서버 오브젝트 배열 사용.

~/.config/zed/settings.json
{
  "context_servers": {
    "geargrafx-2": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/drhelius/Geargrafx"
        ]
      }
    }
  }
}

context_servers에 추가. 저장 시 Zed가 핫 리로드.

claude mcp add geargrafx-2 -- TODO 'See README: https://github.com/drhelius/Geargrafx'

한 줄 명령. claude mcp list로 확인, claude mcp remove로 제거.

사용 사례

실전 활용법: Geargrafx

How to debug a PC Engine ROM with AI assistance using Geargrafx

👤 PC Engine homebrew developers and retro game researchers ⏱ ~30 min intermediate

언제 쓸까: You're developing or analyzing a PC Engine ROM and need to debug runtime behavior.

사전 조건
  • Geargrafx built with MCP support — Build from source following the GitHub README
  • A PC Engine ROM file (.pce or .sgx) — Your own homebrew ROM or a ROM you legally own
흐름
  1. Connect and inspect
    Connect to the Geargrafx MCP server. Show me the current HuC6280 CPU state and disassembly at the program counter.✓ 복사됨
    → CPU registers and disassembled instructions
  2. Analyze sprite system
    Inspect the VDC sprite table. How many sprites are active and what tiles do they reference?✓ 복사됨
    → Sprite attribute table with positions, tile indices, and flags

결과: Understanding of ROM execution and VDC hardware state for debugging.

함정
  • CD-ROM games require proper CUE/BIN setup — Ensure your CUE file paths are correct and all BIN tracks are present
함께 쓰기: filesystem

Learn PC Engine hardware architecture interactively

👤 Students and enthusiasts learning retro console hardware ⏱ ~45 min advanced

언제 쓸까: You want to understand the HuC6280 CPU, VDC graphics, and PSG audio systems.

사전 조건
  • Geargrafx with MCP server — Build from source
흐름
  1. Explore the VDC
    Step through the VBlank interrupt and explain how the PC Engine's VDC handles background scrolling and sprite rendering.✓ 복사됨
    → Annotated explanation of VDC register writes and their effects

결과: Hands-on understanding of PC Engine hardware internals.

함정
  • SuperGrafx has two VDCs which complicates analysis — Start with regular PC Engine games before tackling SuperGrafx titles

조합

다른 MCP와 조합해 10배 효율

geargrafx-2 + filesystem

Export debug data and memory dumps for documentation

Dump the VDC sprite table and tile data to files for analysis.✓ 복사됨

도구

이 MCP가 노출하는 것

도구입력언제 호출비용
pause/resume/step none / step_count? Control emulator execution 0
read_memory address: int, size: int Read emulator memory at any address 0
set_breakpoint address: int Set a CPU breakpoint 0
disassemble address: int, count: int Disassemble HuC6280 instructions 0
get_hardware_status none Get VDC, VCE, and PSG register states 0

비용 및 제한

운영 비용

API 쿼터
N/A — fully local
호출당 토큰
100–500 tokens per debug command
금액
Free and open source (MIT license)
팁
Use targeted reads instead of full memory dumps.

보안

권한, 시크릿, 파급범위

자격 증명 저장: N/A
데이터 외부 송신: Fully local — no network calls

문제 해결

자주 발생하는 오류와 해결

MCP server not responding

Ensure Geargrafx was built with MCP support. Check the default port is available.

확인: Test the HTTP endpoint
CD-ROM game won't load

Verify CUE file references correct BIN paths. Try converting to CHD format.

확인: Check CUE file contents match actual BIN filenames
SuperGrafx ROM crashes

Only a handful of SuperGrafx games exist. Verify the ROM is actually an SGX title, not a regular PCE ROM.

확인: Check ROM header

대안

Geargrafx 다른 것과 비교

대안언제 쓰나단점/장점
GearboyYou want to debug Game Boy ROMs instead of PC EngineDifferent console, same MCP-enabled emulator approach

더 보기

리소스

📖 GitHub에서 공식 README 읽기

🐙 열린 이슈 보기

🔍 400+ MCP 서버 및 Skills 전체 보기