About Binassistmcp
Binassistmcp is an MCP server published by symgraph in the Developer Tools category: binary Ninja plugin to provide MCP functionality. Conduid read 45 tools from its source: analyze_function, assemble_code, batch_rename, bookmarks, cancel_task, comments and 39 more. No package is published for it, so it installs from a source checkout.
The repository has 50 stars and 11 forks, is licensed MIT, and its last commit was on 9 Oct 2026. The latest release is 2.11.0 (31 Aug 2026): BinAssistMCP 2.11.0 prevents large binaries and BNDB databases from blocking MCP requests during loading. It follows 2.10.0 (27 Aug 2026), and the 5 most recent releases go back to 2.7.0 (31 Mar 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include binary-ninja, binary-ninja-plugin, ml, re and reverse-engineering.
Install
git clone https://github.com/symgraph/BinAssistMCPTools (45)
analyze_functionComprehensive function analysis with control flow and complexity metrics| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
| function_name_or_address * | string | Function name or address |
assemble_codeAssemble instruction text at an address and optionally patch it| Parameter | Type | Description |
|---|---|---|
| address * | string | Address to assemble at (hex string or symbol name) |
| clear_code_units | boolean | Accepted for parity with other clients; ignored by Binary Ninja |
| code * | string | Single instruction or newline-separated assembly block |
| filename * | string | Name of the binary file |
| patch | boolean | If true, write assembled bytes into the binary |
batch_renameRename multiple symbols in one operation| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
| renames * | array | List of {address_or_name, new_name} dicts |
bookmarksUnified bookmark management - actions: `list`, `set`, `remove`| Parameter | Type | Description |
|---|---|---|
| action * | string | Operation: 'list', 'set', or 'remove' |
| address | string | Address for set/remove (hex string) |
| comment | string | Comment text for set |
| filename * | string | Name of the binary file |
cancel_taskCancel a running task| Parameter | Type | Description |
|---|---|---|
| task_id * | string | ID of the task to cancel |
commentsUnified comment management - actions: `get`, `set`, `list`, `remove`, `set_function`| Parameter | Type | Description |
|---|---|---|
| action * | string | 'get', 'set', 'list', 'remove', or 'set_function' |
| address | string | Address for get/set/remove |
| filename * | string | Name of the binary file |
| function_name_or_address | string | Function for set_function |
| text | string | Comment text for set/set_function |
create_data_varDefine data variables at addresses| Parameter | Type | Description |
|---|---|---|
| address * | string | Address in hex format (e.g., '0x401000') |
| filename * | string | Name of the binary file |
| name | string | Optional name for the variable |
| var_type * | string | Type of the variable (e.g., 'int32_t', 'char*') |
export_programExport the patched binary or Binary Ninja database to disk| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
| format | string | 'binary' for a patched executable or 'bndb' for a database |
| output_path * | string | Destination path on the host filesystem |
| overwrite | boolean | Whether to replace an existing output file |
get_basic_blocksGet basic block information for control flow analysis| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
| function_name_or_address * | string | Function identifier |
get_binary_infoCheck analysis status and metadata| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
get_binary_statusPoll a queued open by operation ID, path, or name and report analysis progress| Parameter | Type | Description |
|---|---|---|
| filename * | string | Operation ID returned by open_binary, final binary name, requested filename, or full file path. |
get_classesList all classes and structures| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
get_codeRead analysis-safe code with signatures and comments; supports `decompile`, `hlil`, `mlil`, `llil`, `disasm`, and `pseudo_c`| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
| format | string | Output format - 'decompile', 'hlil', 'mlil', 'llil', 'disasm', 'pseudo_c' |
| function_name_or_address * | string | Function identifier |
get_current_addressGet current cursor position with context| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
get_current_functionIdentify function at current address| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
get_data_atRead and analyze raw data| Parameter | Type | Description |
|---|---|---|
| address * | string | Address in hex format |
| filename * | string | Name of the binary file |
| size | integer | Optional size to read (if not specified, uses data var size or default 16) |
get_data_varsList all defined data variables| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
get_entry_pointsList all binary entry points| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
get_exportsExport table with symbol information| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
get_function_low_level_ilGet Low-Level IL for a function| Parameter | Type | Description |
|---|---|---|
| address_or_name * | string | Function name or address |
| filename * | string | Name of the binary file |
get_function_signatureGenerate the native masked byte signature for a function| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
| function_name_or_address * | string | Function name or address |
get_function_stack_layoutGet stack frame layout with variable offsets| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
| function_name_or_address * | string | Function identifier |
get_function_statisticsComprehensive statistics for all functions| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
get_functionsList all functions with metadata| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
get_functions_advancedAdvanced filtering by size, complexity, parameters| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
| has_parameters | boolean | Filter by whether function has parameters |
| limit | integer | Maximum number of results |
| max_size | integer | Maximum function size in bytes |
| min_size | integer | Minimum function size in bytes |
| name_filter | string | Filter by function name (substring match) |
| sort_by | string | Sort by 'address', 'name', 'size', or 'complexity' |
get_importsImport table grouped by module| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
get_namespacesList namespaces and symbol organization| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
get_sectionsBinary section information| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
get_segmentsMemory segment layout| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
get_stringsPaginated string extraction| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
| page_number | integer | Page number starting from 1 (default: 1) |
| page_size | integer | Number of strings per page (default: 100) |
get_task_statusCheck status of async operations| Parameter | Type | Description |
|---|---|---|
| task_id * | string | ID of the task to check |
list_binariesSynchronize with Binary Ninja and list all loaded binary fileslist_tasksList all pending/running tasks| Parameter | Type | Description |
|---|---|---|
| status | string | Optional filter - 'pending', 'running', 'completed', 'failed', 'cancelled' |
open_binaryQueue a nonblocking binary or `.bndb` open; raw binaries require a destination `bndb_path`| Parameter | Type | Description |
|---|---|---|
| bndb_path | string | Path where the .bndb database file will be saved after analysis completes. This is required. Ask the user for the desired save location before calling this tool. Example: "C:/analysis/output/notepad.exe.bndb" |
| file_path * | string | Absolute or relative path to the binary file to open |
| wait_for_analysis | boolean | Whether to wait for Binary Ninja's initial analysis to complete before returning (default False). Set to False for faster return on large binaries. |
patch_bytesPatch raw bytes in the binary at an address| Parameter | Type | Description |
|---|---|---|
| address * | string | Address to patch (hex string or symbol name) |
| bytes * | any | Bytes to write, as a hex string (e.g. '90 90') or integer array |
| clear_code_units | boolean | Accepted for parity with other clients; ignored by Binary Ninja |
| filename * | string | Name of the binary file |
rename_symbolRename functions and data variables| Parameter | Type | Description |
|---|---|---|
| address_or_name * | string | Address (hex string) or name of the symbol |
| filename * | string | Name of the binary file |
| new_name * | string | New name for the symbol |
search_bytesSearch for byte patterns in binary| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
| max_results | integer | Maximum results |
| pattern * | string | Hex pattern (e.g., '90 90 90') |
| start_address | string | Optional start address |
search_functions_advancedMulti-target search (name, comments, calls, variables)| Parameter | Type | Description |
|---|---|---|
| case_sensitive | boolean | Whether search should be case sensitive |
| filename * | string | Name of the binary file |
| search_in | string | Where to search ('name', 'comment', 'calls', 'variables') |
| search_term * | string | Term to search for |
search_functions_by_nameFind functions by name pattern| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
| search_term * | string | Substring to search for |
search_stringsSearch strings by pattern| Parameter | Type | Description |
|---|---|---|
| case_sensitive | boolean | Case-sensitive matching |
| filename * | string | Name of the binary file |
| page_number | integer | Page number starting from 1 (default: 1) |
| page_size | integer | Number of results per page (default: 100) |
| pattern * | string | Search pattern (substring match) |
start_taskCreate a placeholder background task record; `tool_name` dispatch is not implemented yet| Parameter | Type | Description |
|---|---|---|
| name * | string | Human-readable task name |
| tool_name * | string | Name of the tool to run |
typesUnified type management - actions: `create`, `create_enum`, `create_typedef`, `create_class`, `add_member`, `info`, `list`| Parameter | Type | Description |
|---|---|---|
| action * | string | 'list', 'info', 'create', 'create_class', 'create_enum', 'create_typedef', 'add_member' |
| base_type | string | Base type for typedef |
| class_name | string | Class for add_member |
| definition | string | C-like type definition |
| filename * | string | Name of the binary file |
| member_name | string | Member name |
| member_type | string | Member type |
| members | object | Dict of enum members |
| name | string | Type/class/enum name |
| offset | integer | Member offset |
| size | integer | Size in bytes for create_class |
update_analysis_and_waitForce analysis update and wait for completion| Parameter | Type | Description |
|---|---|---|
| filename * | string | Name of the binary file |
variablesUnified variable management - actions: `list`, `create`, `rename`, `set_type`; `rename` supports local/global via `scope`| Parameter | Type | Description |
|---|---|---|
| action * | string | 'list', 'create', 'rename', or 'set_type' |
| address_or_name | string | Global/data symbol address or name for global rename |
| filename * | string | Name of the binary file |
| function_name_or_address | string | Function identifier for local variable operations |
| new_name | string | New name for rename |
| scope | string | Rename scope ('auto', 'local', 'global') |
| storage | string | Storage type for create |
| var_name | string | Variable name, or global symbol name fallback for global rename |
| var_type | string | Variable type |
xrefsUnified cross-references with `direction` set to `to`, `from`, or `both`; optionally includes call relationships| Parameter | Type | Description |
|---|---|---|
| address_or_name * | string | Address or symbol name |
| direction | string | 'to', 'from', or 'both' |
| filename * | string | Name of the binary file |
| include_calls | boolean | Include call graph info |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.1K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 15 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- Streamable HTTP and HTTP with SSEsrc/binassist_mcp/server.py:1951, src/binassist_mcp/server.py:1874
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- No file writes or deletes
- Lockfile
- None in the repository
Pattern matches on the source text of 15 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.1K words, fetched a month ago. The original in the repository is authoritative.
Read full README