SuperAPIAI Directory

misterclaw

github.com · AI developer platforms

📟 🏠 🐧 🍎 - Remote control for MiSTer-FPGA: launch games, search ROMs, take screenshots, manage systems and set up Tailscale VPN, with automatic core and ROM discovery.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Windows · Linux

About this tool

MiSTerClaw is the first MCP (Model Context Protocol) server for MiSTer-FPGA, designed to let AI agents remotely control MiSTer-FPGA. It allows AI agents such as Claude, ChatGPT, OpenClaw, Hermes, and Cursor to interact with MiSTer over the network, performing operations such as launching games, searching the ROM library, taking screenshots, reading and modifying core settings and DIP switches, querying detailed system information, and managing the system. In addition, it supports setting up Tailscale VPN for secure remote access from any location.

Main capabilities include:

  • Game launching: Supports indexing and directly launching arcade games from .mra descriptors, and also supports native ZIP member launching (new in v0.8.1).
  • ROM search: Automatically scans ROM folders, installed cores, and MGL files, dynamically detecting all systems with no configuration required.
  • Screenshots: Can take screenshots of the currently running game or system.
  • Core settings and DIP switches: Read and modify core settings and DIP switches.
  • OSD menu navigation: Navigation based on conf_str position calculation (experimental, not reliable for all cores).
  • System information query: Retrieve detailed system information.
  • System management: Includes scanning, cache management, and more.
  • Tailscale VPN setup: Configure secure remote access.
  • Floppy disk core support: For floppy disk cores such as PC8801 and MSX, supports PostLaunch automatic reset for seamless game loading.

Usage: MiSTerClaw uses the MCP standard, and any MCP-compatible client can use it directly. For agents that do not support MCP, a CLI client is also provided. To configure, add MiSTerClaw to the MCP client configuration, such as Claude Desktop's claude_desktop_config.json or Cursor's .cursor/mcp.json. After configuration, simply talk to the agent to control MiSTer. For agents with shell access (such as OpenClaw, Codex, or Claude Code), the CLI client may be more efficient than MCP, because it does not need to load tool schemas into the context, andIt is also suitable for shell scripts and automation. All commands support --json to output machine-readable results.

Installation and deployment: Executables can be downloaded from GitHub Releases, supporting Windows, Linux, and macOS. Windows downloads are included in v0.8.0 and newer versions. The daemon only runs on MiSTer, not on Windows or macOS. On Linux/macOS, you need to use chmod +x <filename> to make the downloaded client executable. On Windows, you can use the downloaded executable in PowerShell and point the MCP client's command to the absolute path of misterclaw-mcp-windows-amd64.exe (JSON paths need backslashes escaped). Quick installation on MiSTer: or install it yourself, copy the binary to MiSTer, then run misterclaw --install. This will copy it to /media/fat/Scripts/, configure startup on boot, and is idempotent. Uninstall command: /media/fat/Scripts/misterclaw --uninstall.

Security considerations: Never expose port 9900 to the internet. The ClawExec protocol has no authentication or encryption. It is recommended to use Tailscale VPN (encrypted, authenticated, works from anywhere), or use it only within the local network (keep port 9900 accessible within the LAN). Never forward port 9900 through a router or firewall.

Technical details: The MCP server and CLI client communicate with MiSTer through the ClawExec protocol (newline-delimited JSON over TCP, port 9900). Dynamic system detection automatically detects all systems by scanning ROM folders, installed cores, and MGL files, with no configuration required. Discovery results (including the complete ROM file list) are cached to disk. On first startup, it scans and builds the cache; on subsequent startups, it loads instantly. After adding new games or drives, you can use the rescan command.

Arcade game indexing: Arcade games are indexed from .mra descriptors and launched directly, and are not represented by MAME ZIP folders or a single system-wide RBF. Supports recursive canonical folders and _alternatives on SD and USB. When canonical descriptors exist under the same root directory, the generated _Organized view is omitted; only organized collections can still be used as a fallback. Byte-identical fallback descriptors are deduplicated, while different variants are retained. The counts describe indexed descriptors/variants, not unique game families. Cache schema v3 upgrades old v1/v2 arcade and MAME entries in place while preserving unrelated cached systems; a full ROM rescan is not required when upgrading.

Versions and releases: v0.8.1 adds verified native ZIP member launching and a standalone GBA2P profile. The release workflow builds tagged releases, and new CI-generated releases include SHA256SUMS and build-metadata.json, recording the source commit, compiler version, and target manifest. Branch/PR/manual CI runs only produce preview artifacts. Releases require pushing a version tag from the main history and passing tests; maintainers must check release and licensing readiness before pushing the tag.

Limitations:

  • OSD menu navigation based on conf_str position calculation is experimental and not reliable for all cores.
  • MRA launching verifies files, reclaims virtual input devices, and reports the descriptor-requested <rbf> in core_name; this response itself does not prove that the FPGA has finished loading.
  • The daemon only runs on MiSTer.
  • Port 9900 has no authentication or encryption and should not be exposed to the internet.
  • Some features (such as ZIP member launching) have hardware testing limitations.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools