About Emucap
Emucap is an MCP server published by mcpads in the Gaming category: let AI agents play, observe, and debug games in emulators through MCP. Conduid read 45 tools from its source: analysis, bootstrap, call_stack, change_media, clear_all_breakpoints, clear_breakpoint and 39 more. No package is published for it, so it installs from a source checkout.
The repository has 35 stars and 17 forks, and its last commit was on 24 Oct 2026. The latest release is 1.1.0 (18 Oct 2026): Add N64 analog-stick input and exact input_polls stepping/tap timing through the existing step and tap tools. It follows 1.0.0 (4 Oct 2026), and the 5 most recent releases go back to 0.17.0 (22 Sep 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include debugging, emulation, emulator, game-automation and retro-gaming.
Install
git clone https://github.com/mcpads/emucapTools (45)
analysisLazy entrypoint for optional live regression and reproducibility analysis. Call operation=describe first, then call this same tool with the selected operation and its returned argument schema. Execution stays in the current Control session.bootstrapStart here. Establishes the listener and returns compact task routing. Use include for the full system catalog or installation paths.call_stackRead the current call chain at its advertised authority level.change_mediaMount or eject one live media device while frozen. Read device IDs from status.media_devices; provide exactly one of path or eject=true.clear_all_breakpointsRemove every active breakpoint during cleanup.clear_breakpointRemove one breakpoint by ID.compare_runsCompare two runs and return changes in metrics, gates, reproduction, interventions, and files without contacting an emulator. Run IDs are globally unique. For repeated gate or metric names, the latest value is representative and the occurrence count is included.debugOpen debugger operations, including persistent input, touch, and running-time pulses. Ordinary button/key input uses tap. Call operation=describe first; execution stays in this Control session and requires the returned capability revision.disassembleDecode instructions from an advertised address domain.get_failure_contextRead the last known-good status and preserved transport or adapter failure capsule. This does not contact the emulator and remains available after disconnection.get_rom_infoRead the running content identity and its normalized Tracking identifier. Establish actual loader consumption using separate runtime evidence.get_runReturn the stored run.json record for a run.get_stateRead emulator state registers, optionally filtered by group.launchLaunch with the resolved adapter, start its managed bridge if needed, wait for readiness, and return process identity and outcome.launch_planPlan an adapter launch without starting it; returns validated arguments or required user input.list_breakpointsList active breakpoints.load_stateLoad emulator state from a file.log_artifactRegister an existing regular, non-symlink file of at most 1 GiB as an artifact of the active run and compute its SHA-256. This tool does not capture a new artifact.log_findingRecord a ROM-scoped finding. promoted:true marks it as confirmed. When rom_sha1 is omitted, use the active run's ROM identifier.log_gateRecord verification evidence on the active run. kind must be machine or judgment; omit passed for a pending result. Use this for Control MCP analysis results.log_interventionRecord a state-changing operation on the active run, such as write_memory, load_state, reset, or input_burst. Control MCP does not log mutations automatically, so record interventions needed for reproduction explicitly.log_metricRecord a numeric metric on the active run.pauseFreeze at the next supported execution boundary.pointerMove, click, or drag an advertised mouse or relative pointer. Use tap for button/key input. Call operation=describe first; execution stays in this Control session and requires the returned capability revision.poll_eventsDrain queued debugger events once.query_runsQuery stored runs using optional rom_sha1, goal, and status filters.read_memoryRead a byte range from the running game's memory.read_memory_batchRead ordered memory ranges together at one frozen boundary. Pause first if running. Use the windows and limits in status.memory_batch_capability; success returns every requested range.reattachReattach one exact managed generation after its former control lease has been returned.resetReset the game while preserving loaded ROM bytes. Adapters that recreate the control connection during reset return only after the new connection is ready and verified.resumeResume normal execution from a frozen state.run_finishFinish a run with status done, aborted, or error. With run_id, finish that stored run even when it is not active; this supports orphan recovery after a restart. Without run_id, finish the active run. run_start already supersedes an older unfinished run for the same connection when necessary.run_resumeRebind a stored running run as the in-memory active run. Use its run_id from bootstrap.running_runs after an MCP reconnect. This returns resumed:true and does not create a new run. A finished run is rejected. run_start with the same connection_ref can perform the same resume automatically.run_startStart or resume an experiment run without contacting an emulator. rom_sha1 is required and must come from Control MCP get_rom_info. With connection_ref and a stored running run for the same ROM, rebind that run and return resumed:true. With a different ROM, supersede the previous unfinished run for that connection and create a new one. Subsequent log_* calls target the active run.save_stateSave emulator state. Profiles advertising instruction_snapshot_capture require snapshot_key and issue a retained instruction receipt without recording. Reusing a key observes the original attempt. preserve_for_recording is separate and requires advertised state_load.screenshotCapture the screen with a hash and available frame and freshness provenance.set_breakpointInstall one advertised breakpoint kind.set_reproductionSet the active run's reproduction base and movie reference. reproduction status is derived automatically.snapshot_receiptReverify a producer-retained instruction snapshot receipt and optional copy. Works after emulator shutdown without a live lease. This verifies producer issuance and bytes, not decoded-state semantics or consumer claims.statusRead live state and capabilities. Pass the prior capability_revision to omit an unchanged catalog while retaining live state.stepAdvance by an exact number of advertised frame, instruction, or input-poll boundaries and return frozen. A configured pausing debugger stop preempts the advance and returns status=interrupted with its stop evidence. Read allowed units and bounds from the live contract.stopTerminate the exact managed launch generation after ownership checks.summarize_runsSummarize runs filtered by goal, tag, or ROM: status and reproduction distributions, gate outcomes, intervention kinds, metric names, and per-run summaries. This does not contact an emulator or decide success. Corrupt runs are skipped and counted.tapApply buttons and supported stick axes for press_frames, then release this input and advance after_frames. Use timing={unit:input_polls,press:N,after:M} instead for advertised poll timing. Supports long holds and simultaneous controls. Returns frozen. Read controls and limits from full status.write_memoryWrite bounded bytes from inline hex or an MCP-host raw-file slice to an advertised memory region.Security checks
- ✓README presentThe repository's README runs to about 504 words.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- !No dynamic code executionScanned 721 source files and found 4 calls to eval or shell execution, in src/analysis/bisect.rs and src/analysis/regression_tests.rs among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
Releases
README
The repository's README runs to about 504 words, fetched a month ago. The original in the repository is authoritative.
Read full README