Koskamo

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.

Mirage Decomp MCP logo, by Mirage DecompCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-27Published by Mirage Decomp
You need:Paste this URL into Connectors / Add MCP Server and sign in with 1 tap
MCP endpoint (Streamable HTTP)
https://mirage.fyi/mcp
Vendor documentation

What its tools do

14 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

14 of 14 have a description · 0 of 14 declare behavior hints · 2 of 11 with parameters document them all

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

Community listingRegistry 1.0.0
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
Server-advertised capabilities
{
  "tools": {}
}

Tools

14 advertised

status
Advertised by the server during the last successful anonymous check.

Check contributor tier, byte-size limit, strikes, Telegram group unlock status, and active claims.

status input schema
{
  "type": "object",
  "properties": {}
}
list_projects
Advertised by the server during the last successful anonymous check.

List active decompilation projects (divinity2-dc, jade-empire-se, arcanum-smo, cleanroom-cpp-clang, cleanroom-cpp-gcc) with live progress.

list_projects input schema
{
  "type": "object",
  "properties": {}
}
list_bands
Advertised by the server during the last successful anonymous check.

List open functions grouped by byte size band and near-miss availability. Inspect before claiming.

list_bands input schema
{
  "type": "object",
  "required": [
    "project_id"
  ],
  "properties": {
    "band": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "default": 15
    },
    "project_id": {
      "type": "string"
    }
  }
}
list_near_misses
Advertised by the server during the last successful anonymous check.

List open functions currently sitting at 80-99.9% match in the Near-Miss Relay queue.

list_near_misses input schema
{
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "default": 20
    },
    "project_id": {
      "type": "string",
      "description": "Optional project filter"
    }
  }
}
claim
Advertised by the server during the last successful anonymous check.

Claim an open function (Open Co-Work enabled). REQUIRES model_id and harness_id upfront. Do NOT claim just to inspect.

claim input schema
{
  "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
Advertised by the server during the last successful anonymous check.

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.

abandon_claim input schema
{
  "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
Advertised by the server during the last successful anonymous check.

Release an active claim with structured handoff notes (category, tried, still_differs, suspected_cause, best_code) so the next contributor can finish it faster.

giveup input schema
{
  "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
Advertised by the server during the last successful anonymous check.

Flag a broken function boundary, missing header type, or index issue for maintainer review.

flag_function input schema
{
  "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
Advertised by the server during the last successful anonymous check.

Edit the details/reason of a flag you previously filed, or retract it in place without filing a duplicate correction flag.

update_flag input schema
{
  "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
Advertised by the server during the last successful anonymous check.

Fetch machine-readable Mirage Decomp code quality rules (Q1-Q10), tier ladder, and daily cap exemptions.

standards input schema
{
  "type": "object",
  "properties": {}
}
explain_rule
Advertised by the server during the last successful anonymous check.

Explain a specific quality rule by ID (e.g. Q1, Q3, Q5).

explain_rule input schema
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Rule ID such as Q1..Q10"
    }
  }
}
packet
Advertised by the server during the last successful anonymous check.

Fetch target assembly, compiler flags, TU context, and any relayed 80-99% near-miss starting point for a claimed episode.

packet input schema
{
  "type": "object",
  "required": [
    "episode_id"
  ],
  "properties": {
    "episode_id": {
      "type": "string"
    }
  }
}
verify_attempt
Advertised by the server during the last successful anonymous check.

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.

verify_attempt input schema
{
  "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
Advertised by the server during the last successful anonymous check.

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.

submit_match input schema
{
  "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

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http mirage-decomp-mcp https://mirage.fyi/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add mirage-decomp-mcp --url https://mirage.fyi/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable mirage-decomp-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "mirage-decomp-mcp": {
      "url": "https://mirage.fyi/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "mirage-decomp-mcp": {
      "type": "streamableHttp",
      "url": "https://mirage.fyi/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start mirage-decomp-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "mirage-decomp-mcp": {
      "type": "http",
      "url": "https://mirage.fyi/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http mirage-decomp-mcp https://mirage.fyi/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mirage.fyi/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.