re-code-mode
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RE_ALLOWED_DIRS | No | Colon-separated allow-list; analysed files must live under these directories. | |
| RE_CODE_MODE_HOME | No | Override the project root (default: auto-detected). | |
| RE_ENABLE_REA_EXEC | No | Set to 1 to expose the free-form rea_exec tool (off by default — REA can drive debuggers and devices). | 0 |
| RE_KEEP_ALL_SKILLS | No | Set to 1 to keep the offensive-security modules when cloning reverse-skill. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| catalog_searchC | Search the indexed catalog of community reverse-engineering tools, MCP servers and agent skills. |
| catalog_categoriesB | List catalog categories and counts. |
| get_playbookB | Get the step-by-step triage playbook for a target type. |
| skill_listB | List markdown/scripts of the agent-skill repositories cloned into ./skills-repos (see scripts/fetch-skills.sh). |
| skill_readC | Read a file from ./skills-repos by (partial) relative path, optionally filtering lines with a regex. |
| fetch_toolA | Shallow-clone a GitHub repository (from the catalog, 'owner/repo' or a github.com URL) into ./tools-cache. Clone only: nothing is built or executed. |
| triage_binaryA | Fast static triage of ELF/PE/Mach-O/DEX: arch, bits, language, hardening flags, linked libs, sections, SHA-256. |
| imports_exportsB | List imports/exports of a binary, filtered with a regex (done in-process so only matches reach the caller). |
| extract_stringsC | Extract strings from a binary (rabin2 -zzj) and filter by regex or preset before returning them. |
| list_functionsB | Run radare2 analysis (aa; aflj) and return a filtered function list. only_leaf=true gives call-graph leaves for bottom-up review. |
| disassemble_functionC | Disassemble (pdf) and/or pseudo-decompile (pdc) one function by name or 0x address using radare2. |
| apk_inspectC | Fingerprint an APK/AAR (Flutter, React Native, Hermes, Unity IL2CPP, Kotlin, native libs) and optionally harvest URLs / API routes from its DEX files. |
| firmware_scanC | Scan a firmware image or packed binary for embedded files/filesystems (binwalk) and UPX packing. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 13 tools
The tools split into a discovery tier (catalog_*, get_playbook, skill_*, fetch_tool) and an analysis tier (triage_binary, imports_exports, extract_strings, list_functions, disassemble_function, apk_inspect, firmware_scan), each targeting a distinct artifact or action. Minor overlap: apk_inspect's URL harvesting duplicates extract_strings territory, and triage_binary overlaps with apk_inspect for Android binaries, but descriptions make the intended split clear.
All names are snake_case, but verb placement is inconsistent: verb_noun (list_functions, extract_strings, fetch_tool, triage_binary, disassemble_function) mixed with noun_verb (skill_list, skill_read, apk_inspect, firmware_scan) and noun_noun (catalog_categories, imports_exports). Still readable, but an agent can't predict the prefix from the resource.
13 tools sits comfortably in the well-scoped range, forming a coherent pipeline from catalog discovery through skill reading and repo fetching to binary triage and function-level analysis. Each tool covers a distinct stage or artifact type without filler.
The surface covers the full workflow: find a tool, fetch it, fingerprint it, list imports/strings/functions, and disassemble. Gaps are minor but real: no cross-reference/xref tool (only leaf detection in list_functions), no raw byte read or byte-pattern search, and no way to inspect a function not reachable by name or address.