MCP Tool Reference
GHIDRA TOOLS
27 tools from the Ghidra MCP Server, categorised by risk level.
View the Ghidra policy →READ TOOLS
19list_methods List all methods/functions in the binary list_classes List all classes defined in the binary list_functions List all functions in the binary list_segments List all memory segments in the binary list_imports List all imported symbols list_exports List all exported symbols list_namespaces List all namespaces in the binary list_data_items List labelled data items with pagination list_strings List all strings found in the binary search_functions_by_name Search functions by name substring get_function_by_address Retrieve function info for a given address get_current_address Get the address currently selected in Ghidra get_current_function Get the function currently selected in Ghidra get_xrefs_to Get cross-references pointing to a given address get_xrefs_from Get cross-references originating from a given address get_function_xrefs Get cross-references for a named function decompile_function Decompile a function by name decompile_function_by_address Decompile a function at a given address disassemble_function Get raw disassembly for a function WRITE TOOLS
8rename_function Rename a function by its current name rename_function_by_address Rename a function by its memory address rename_data Rename a data label at a given address rename_variable Rename a local variable within a function set_decompiler_comment Add a comment in the decompiler view set_disassembly_comment Add a comment in the disassembly view set_function_prototype Set the type signature of a function set_local_variable_type Set the data type of a local variable ENFORCE POLICIES ON GHIDRA
Open source. One binary. Zero dependencies.