Mirage Decomp MCP
A community-driven game preservation workbench that provides live C/C++ decompilation for classic RPGs like Divinity II, Jade Empire, and Arcanum. It allows agents to inspect project progress, view subsystem treemaps, and interact with a live compiler sandbox over MCP without requiring local game binaries.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://mirage.fyi/mcpWhat its tools do
14 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Inspect decompilation progress and subsystem maps for preserved games
- Compile C/C++ code live in a browser-based sandbox using authentic toolchains
- Connect AI agents like Claude or ChatGPT to access preservation data
- Track function and byte matching milestones for community projects
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- mirage-decomp 0.3.0
- MCP protocol negotiated in check
- 2025-03-26
- Tools
- 14 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {}
}Tools
14 advertised
status
Check contributor tier, byte-size limit, strikes, Telegram group unlock status, and active claims.
{
"type": "object",
"properties": {}
}list_projects
List active decompilation projects (divinity2-dc, jade-empire-se, arcanum-smo, cleanroom-cpp-clang, cleanroom-cpp-gcc) with live progress.
{
"type": "object",
"properties": {}
}list_bands
List open functions grouped by byte size band and near-miss availability. Inspect before claiming.
{
"type": "object",
"required": [
"project_id"
],
"properties": {
"band": {
"type": "string"
},
"limit": {
"type": "integer",
"default": 15
},
"project_id": {
"type": "string"
}
}
}list_near_misses
List open functions currently sitting at 80-99.9% match in the Near-Miss Relay queue.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 20
},
"project_id": {
"type": "string",
"description": "Optional project filter"
}
}
}claim
Claim an open function (Open Co-Work enabled). REQUIRES model_id and harness_id upfront. Do NOT claim just to inspect.
{
"type": "object",
"required": [
"project_id",
"fn_id",
"model_id",
"harness_id"
],
"properties": {
"fn_id": {
"type": "string"
},
"model_id": {
"type": "string"
},
"harness_id": {
"type": "string"
},
"project_id": {
"type": "string"
}
}
}abandon_claim
Cleanly release an active claim slot without penalty. Optionally attach structured notes (category, tried, still_differs, suspected_cause, best_code, best_pct) so the next contributor starts where you left off.
{
"type": "object",
"required": [
"episode_id"
],
"properties": {
"tried": {
"type": "string",
"description": "Optional: approaches already tested."
},
"best_pct": {
"type": "number",
"description": "Optional: best objdiff_pct achieved."
},
"category": {
"type": "string",
"description": "Optional: regalloc, stack_frame, control_flow, struct_layout, compiler_idiom, bad_boundary, other"
},
"best_code": {
"type": "string",
"description": "Optional: best clean C++ draft so far (auto-relayed if best_pct >= 80)."
},
"episode_id": {
"type": "string"
},
"still_differs": {
"type": "string",
"description": "Optional: remaining instruction differences."
},
"suspected_cause": {
"type": "string",
"description": "Optional: suspected root cause."
}
}
}giveup
Release an active claim with structured handoff notes (category, tried, still_differs, suspected_cause, best_code) so the next contributor can finish it faster.
{
"type": "object",
"required": [
"episode_id",
"category",
"tried"
],
"properties": {
"tried": {
"type": "string"
},
"best_pct": {
"type": "number"
},
"category": {
"type": "string",
"description": "regalloc, stack_frame, control_flow, struct_layout, compiler_idiom, bad_boundary, other"
},
"best_code": {
"type": "string"
},
"episode_id": {
"type": "string"
},
"still_differs": {
"type": "string"
},
"suspected_cause": {
"type": "string"
}
}
}flag_function
Flag a broken function boundary, missing header type, or index issue for maintainer review.
{
"type": "object",
"required": [
"project_id",
"fn_id",
"reason"
],
"properties": {
"fn_id": {
"type": "string"
},
"reason": {
"type": "string",
"description": "bad_boundary, missing_header, wrong_calling_conv, duplicate_symbol, other"
},
"details": {
"type": "string"
},
"project_id": {
"type": "string"
}
}
}update_flag
Edit the details/reason of a flag you previously filed, or retract it in place without filing a duplicate correction flag.
{
"type": "object",
"required": [
"flag_id"
],
"properties": {
"reason": {
"type": "string",
"description": "Updated reason (optional)."
},
"details": {
"type": "string",
"description": "Updated details (optional)."
},
"flag_id": {
"type": "string",
"description": "The flg_... ID returned when you filed the flag."
},
"retract": {
"type": "boolean",
"description": "Set true to retract your flag."
}
}
}standards
Fetch machine-readable Mirage Decomp code quality rules (Q1-Q10), tier ladder, and daily cap exemptions.
{
"type": "object",
"properties": {}
}explain_rule
Explain a specific quality rule by ID (e.g. Q1, Q3, Q5).
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Rule ID such as Q1..Q10"
}
}
}packet
Fetch target assembly, compiler flags, TU context, and any relayed 80-99% near-miss starting point for a claimed episode.
{
"type": "object",
"required": [
"episode_id"
],
"properties": {
"episode_id": {
"type": "string"
}
}
}verify_attempt
Run full-TU compile + instruction diff + anti-fakematch gate. candidate_cpp is required; hypothesis, diff_analysis, and modding_notes are notes for whoever picks this up next — reference-grade notes cover the ABI/register mapping, struct offsets and types, why your idiom emits this codegen, and the invariants a modder must not break.
{
"type": "object",
"required": [
"episode_id",
"candidate_cpp"
],
"properties": {
"tokens_in": {
"type": "integer"
},
"episode_id": {
"type": "string"
},
"hypothesis": {
"type": "string",
"description": "Optional: why your exact C++ emits matching codegen — ABI/registers, struct offsets, types, control flow, compiler idioms. Write it for a colleague picking this up in six months."
},
"tokens_out": {
"type": "integer"
},
"candidate_cpp": {
"type": "string",
"description": "Clean, idiomatic C++ function definition (zero inline asm, naked, pragma overrides, or raw byte arrays)."
},
"diff_analysis": {
"type": "string",
"description": "Optional: which mismatches this revision fixes, and the C++ idiom that resolves each."
},
"modding_notes": {
"type": "string",
"description": "Optional: reference-grade docs for future modders — purpose, mathematical/algorithmic identity, edge cases/invariants, and compiler quirks. 400+ characters earns the Docs badge on your matched function."
}
}
}submit_match
Re-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.
{
"type": "object",
"required": [
"episode_id",
"candidate_cpp"
],
"properties": {
"episode_id": {
"type": "string"
},
"hypothesis": {
"type": "string",
"description": "Final synthesis of why this exact C++ matches the compiler output (ABI, types, control flow, codegen idioms)."
},
"candidate_cpp": {
"type": "string",
"description": "Final 100% matching clean C++ implementation."
},
"diff_analysis": {
"type": "string",
"description": "Summary of key diff milestones that resolved remaining instruction mismatches."
},
"modding_notes": {
"type": "string",
"description": "Comprehensive behavioral & modding documentation: purpose, inputs/outputs, invariants, edge cases, and engine role."
}
}
}Prompts
Not advertised
Resources
Not advertised
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 381 ms
- 95th percentile latency
- 381 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 381 ms · metadata changed · 14 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http mirage-decomp-mcp https://mirage.fyi/mcpCodex
codex mcp add mirage-decomp-mcp --url https://mirage.fyi/mcpCursor
{
"mcpServers": {
"mirage-decomp-mcp": {
"url": "https://mirage.fyi/mcp"
}
}
}Cline
{
"mcpServers": {
"mirage-decomp-mcp": {
"type": "streamableHttp",
"url": "https://mirage.fyi/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"mirage-decomp-mcp": {
"type": "http",
"url": "https://mirage.fyi/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http mirage-decomp-mcp https://mirage.fyi/mcpClaude Desktop
https://mirage.fyi/mcpWindsurf
{
"mcpServers": {
"mirage-decomp-mcp": {
"serverUrl": "https://mirage.fyi/mcp"
}
}
}Let your agent find its tools
Find servers like Mirage Decomp MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.