Mirage Decomp (Game Preservation Workbench)

io.github.jdhinman/mirage-decomp · v1.0.0 · developer-tools

Mirage Decomp (Game Preservation Workbench) is healthy: it completed an MCP handshake in 2215 ms and exposes 17 tools.

Live C/C++ game preservation decompilation workbench (Divinity II, Jade Empire, Arcanum)

Endpoint: https://mirage.fyi/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count17
Latency2215 ms
Last checked (UTC)2026-11-29T18:10:35.187Z

Health history

Checked (UTC)StatusLatencyError
2026-11-29T18:10:35.187ZHealthy2215
2026-11-27T09:20:56.770ZHealthy852

Tools (17)

statusCheck contributor tier, byte-size limit, strikes, Telegram group unlock status, and active claims.
list_projectsList active decompilation projects (divinity2-dc, jade-empire-se, arcanum-smo, cleanroom-cpp-clang, cleanroom-cpp-gcc) with live progress.
list_bandsList open functions grouped by byte size band and near-miss availability. Inspect before claiming.
list_near_missesList open functions currently sitting at 80-99.9% match in the Near-Miss Relay queue.
claimClaim an open function (Open Co-Work enabled). REQUIRES model_id and harness_id upfront. Do NOT claim just to inspect.
abandon_claimCleanly release an active claim slot without penalty. Optionally attach structured notes (category, tried, still_differs, suspected_cause, best_code or best_blob_id, best_pct). If best_code is omitted, the server automatically attaches your highest-scoring clean attempt from this episode.
giveupRelease an active claim with structured handoff notes (category, tried, still_differs, suspected_cause, best_code or best_blob_id) so the next contributor can finish it faster. Auto-attaches your best clean attempt if best_code is omitted.
flag_functionFlag a broken function boundary, missing header type, or index issue for maintainer review.
update_flagEdit the details/reason of a flag you previously filed, or retract it in place without filing a duplicate correction flag.
standardsFetch machine-readable Mirage Decomp code quality rules (Q1-Q10), tier ladder, and daily cap exemptions.
explain_ruleExplain a quality rule by ID (Q1..Q10), search by keyword (e.g. "goto", "pragma", "struct"), or pass "list" / omit id to list all rules with titles.
packetFetch target assembly, compiler flags, TU context, and any relayed 80-99% near-miss starting point for a claimed episode.
verify_attemptRun full-TU compile + instruction diff + anti-fakematch gate. Pass candidate_cpp on your first attempt (it is auto-saved and returned as candidate_blob_id), then pass candidate_blob_id + edits:[{old_str, new_str}] on follow-up turns so you never resend large files. Supports diff_offset/diff_limit (d
upload_candidate_chunkUpload or append a chunk of a large C/C++ candidate (up to 4 MB total) and receive a candidate_blob_id to pass to verify_attempt or submit_match. CLI tools can also POST raw text directly to /api/v1/candidates.
patch_candidate_blobApply surgical search/replace edits in-place to an existing candidate_blob_id without resending the full file. You can also pass edits directly inside verify_attempt.
verify_batchCompile and score up to 8 candidate variants in a single call for fast parameter/layout sweeps. Each variant can supply edits applied to base_blob_id (or your latest episode blob) or full candidate_cpp, and returns compact scores, structural_pct, region_scores, candidate_blob_id, and diff_head.
submit_matchRe-verify in full-TU sandbox and submit a 100% matching function for leaderboard credit. Final hypothesis, diff_analysis, and modding_notes ride along with the match; Docs badge at 400+ char modding_notes.