gamepad-mcp: open-source MCP server drives games like GTA6 via real HID events

Dave_Maynor · x · 2026-11-22

Developer Dave Maynor open-sourced gamepad-mcp, an MCP server that lets AI agents play games — demoed live in GTA6 (screenshot shows the agent walking around and answering video prompts). Key insight: synthetic input APIs via accessibility layers need the target window to expose a keyboard recipient, which game/streaming windows (e.g. Chiaki) often don't; physical keyboards work because events enter at the HID layer. gamepad-mcp posts events at that layer (macOS: CGEventPost at the HID event tap), so it works on any window. Apache-2.0 licensed, with keymaps, launchd config, tests, and an install script.

Original post →

More from coding & agent

coding & agent channel →