ida
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DSH_IDA_LOG | No | Override the log file for the GUI bridge plugin (default %TEMP%\dsh_ida_bridge.log). | |
| DSH_IDA_BACKEND | No | Set to `idalib` or `gui` to force one backend; otherwise the server picks headless automatically when no bridge is listening and prefers the live GUI bridge when present. | |
| DSH_IDA_TIMEOUT | No | The default per-call timeout. | |
| DSH_IDA_GUI_PORT | No | Change the port the live GUI bridge listens on (default 127.0.0.1:13371). | 13371 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
IDA Pro analysis. Open a database with ida_open (headless) or load the dsh_ida_bridge plugin in IDA (live GUI), then explore with ida_status, ida_functions, ida_string_refs, ida_decompile.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ida_statusA | State of the loaded IDA database: backend (headless idalib or live GUI), input file, processor, bitness, imagebase, function/segment/entry counts, whether Hex-Rays is available. |
| ida_openA | Headless only. Open a binary (or existing .i64/.idb) and run auto-analysis. Returns the resulting database status. Analysis of a large libUE4.so can take many minutes; raise timeout_s for those. |
| ida_closeA | Headless only. Close the current database, optionally saving the IDB first. |
| ida_saveA | Write the current database to disk (keeps renames, comments, types and patches). |
| ida_segmentsA | Memory map: every segment with name, class, start/end, size, permissions and bitness. |
| ida_functionsB | Paginated function list with address, name, size and library/thunk flags. Filter by substring, restrict to or exclude library functions. |
| ida_functionA | Everything about one function: bounds, prototype, basic-block count, and up to 40 callers and callees. |
| ida_disasmC | Linear disassembly from an address, one item per line, with resolved names and comments. |
| ida_decompileB | Hex-Rays pseudocode for the function containing the address. This is the main tool for understanding game logic. |
| ida_xrefs_toC | Every reference to an address (who calls, reads, writes or points at it). |
| ida_xrefs_fromB | Every reference made from an address (what it calls, reads, writes or points at). |
| ida_stringsB | String literals in the database, paginated, with address, length and value. Filter by substring. |
| ida_string_refsA | Strings matching a filter plus the code that references them. The fastest way to go from a known string ('Killed by', '/Game/', 'AntiCheat') to the functions and offsets behind it. |
| ida_namesB | The name list: every symbol with its address. Filter by substring to find a class, field or function by name. |
| ida_importsB | Imported functions grouped by module, with the IAT address of each. |
| ida_entriesC | Entry points / exports with ordinal, address and name. |
| ida_structsC | Declared structs with size and member count. |
| ida_structC | One struct's full member layout: offset, name and size per field. |
| ida_enumsC | Declared enums with their underlying size. |
| ida_call_graphB | Breadth-first call graph around a function, capped at 400 nodes. direction=down (callees), up (callers) or both. |
| ida_search_bytesA | Masked byte-pattern search over the database. '??' matches any byte: '48 8B ?? 89', 'E8 ? ? ? ?' for calls. Returns addresses plus the containing function. |
| ida_search_textC | Search string literals by substring (case-insensitive). |
| ida_search_immediateB | Find instructions whose immediate operand equals a constant — useful for magic numbers, struct offsets and enum values. |
| ida_sigA | Build the shortest unique AOB signature for a function: grows the pattern until it matches once, wildcarding call targets, RIP-relative displacements and absolute immediates so the sig survives a game update. Start here when you need a stable offset. |
| ida_sig_verifyB | Test a saved signature against the currently open database — the post-update binary. Reports how many times it matches and where, so a broken offset is caught before it ships. |
| ida_lua_bindingsB | Recover luaL_Reg tables — every native function registered into the Lua VM, as {name, address, function} rows. Use it to go from a Lua dump name straight to the C++ implementation. |
| ida_import_sdkA | Parse a C/C++ header (Dumper-7 or any SDK dump) into the local type library so structs, field names and offsets appear in the decompiler. Returns the error count and how many types were added. |
| ida_read_bytesC | Raw bytes at an address as hex plus printable ASCII. |
| ida_renameA | Rename an address (function, global, field). Writes to the database; call ida_save to persist. |
| ida_commentB | Set a comment at an address. repeatable=true writes a repeatable comment that follows xrefs. |
| ida_set_typeB | Apply a C declaration at an address — a function prototype or a data type, e.g. 'int __fastcall f(void *self, int idx)'. |
| ida_patch_bytesB | Patch bytes at an address (hex string). Affects the database, not the original file unless applied to input. |
| ida_gui_stateA | Live GUI only: the address the analyst's cursor is on, the function it belongs to, the active widget title and any selection. |
| ida_gui_jumpA | Live GUI only: navigate the open IDA window to an address so the analyst sees what the agent is looking at. |
| ida_gui_markB | Live GUI only: colour an address in the listing to flag a finding for the analyst. |
| ida_execA | Escape hatch: run arbitrary IDAPython inside the kernel and return captured stdout plus a 'result' variable if the script sets one. Use when no dedicated tool fits. |
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 36 tools
Most tools have a clear resource+action identity: read_bytes vs patch_bytes vs disasm, xrefs_to vs xrefs_from, structs vs struct, GUI vs headless operations are all distinguishable. A few boundaries blur: ida_strings vs ida_search_text both do substring string lookup, ida_names vs ida_functions both enumerate symbols by name filter, and ida_sig_verify vs ida_search_bytes both test byte patterns, so an agent could pick the wrong one without reading closely.
A uniform ida_ prefix makes the toolset easy to scan, and most names are verb_noun or clear single nouns. The convention is mixed, though: verbs (ida_open, ida_close, ida_save, ida_rename), verb_noun (ida_read_bytes, ida_set_type, ida_search_bytes), and bare plurals (ida_segments, ida_strings, ida_names, ida_structs, ida_enums) coexist, and ida_sig vs ida_sig_verify breaks the pattern of the rest.
Reverse engineering is a genuinely broad domain, and most of the 36 tools map to distinct IDA capabilities, but 36 is on the heavy side and a few could be consolidated (strings/search_text, names/functions, sig_verify/search_bytes). The three GUI-only tools and the headless-only open/close split also add surface that many agents will never use in a given session.
The surface covers the full workflow: open/close/save/status, memory map, function listing and detail, disassembly, decompilation, xrefs both ways, strings, imports, entries, structs, enums, multiple search modes, renaming, typing, commenting and patching. Gap areas (creating/deleting structs and enums, undefining functions, instruction-level edits) are explicitly covered by the ida_exec escape hatch and ida_set_type/ida_import_sdk.