add_comment_to_function

MCP tool from Binja Lattice MCP by Invoke-RE

Add comment to function

How to use it

Project documentation lists add_comment_to_function for the Binja Lattice MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Binja Lattice MCP

$pip install -r requirements.txt
FULL BINJA LATTICE MCP LISTING

Other tools in Binja Lattice MCP (24)

add_comment_to_address

Add comment at address

create_struct

Create a new struct type with JSON member definitions

create_tag

Create tag at address with type and optional description

get_all_function_names

List all function names in the binary

get_analysis_progress

Get Binary Ninja analysis status and progress percentage

get_binary_info

Get metadata about the binary (filename, architecture, entry point, segments, sections, function count)

get_call_graph

Get callers and callees of function with configurable depth

get_cross_references_to_function

List functions that call the specified function

get_data_at_address

Read bytes at address with optional type interpretation

get_exports

List exported functions with addresses

get_function_disassembly

Get assembly instructions for function by name

get_function_pseudocode

Get decompiled C-like pseudocode for function

get_function_variables

Get parameters, local variables, and global variables

get_global_variable_data

Read data from global variable referenced in function

get_imports

List imported functions with addresses and source libraries

get_strings

Get strings with optional minlength and substring filter

get_tags

List all tags with optional type filter

get_types

List defined types (structs, enums, typedefs) with optional filter

search_bytes

Search for hex byte pattern with wildcard support (e.g., '48 89 ?? 24')

set_function_signature

Set function prototype (C-style like 'int foo(char arg1)')

set_variable_type

Set variable type annotation (C-style like 'uint32t')

update_function_name

Rename a function

update_struct

Update an existing struct type

update_variable_name

Rename a variable in a function