← Back to search

binary-ninja-mcp

cx330.tw Scanned 30d ago

Model Context Protocol server for Binary Ninja - enables seamless integration of Binary Ninja's capabilities with MCP clients

D
57.4 / 100

Versions

1.0.0latest
Jan 17, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 56

list_methods
annotations: none low

List all function names in the program with pagination.

limit int offset int
get_entry_points
annotations: none low

List entry point(s) of the loaded binary.

retype_variable
annotations: none low

Retype a variable in a function.

type_str str function_name str variable_name str
rename_single_variable
annotations: none low

Rename a variable in a function.

new_name str function_name str variable_name str
rename_multi_variables
annotations: none low

Rename multiple local variables in one call. - function_identifier: function name or address (hex) - Provide either mapping_json (JSON object old->new), renames_json (JSON array of {old,new}), or pairs ("old1:new1,old2:new2"). Returns per-item results and totals.

pairs str mapping_json str renames_json str function_identifier str
define_types
annotations: none low

Define types from a C code string.

c_code str
list_classes
annotations: none low

List all namespace/class names in the program with pagination.

limit int offset int
hexdump_address
annotations: none low

Hexdump data starting at an address. When length < 0, reads the exact defined size if available.

length int address str
hexdump_data
annotations: none low

Hexdump a data symbol by name or address. When length < 0, reads the exact defined size if available.

length int name_or_address str
get_data_decl
annotations: none low

Return a declaration-like string and a hexdump for a data symbol by name or address. LLM-friendly: includes both a C-like declaration (when possible) and text hexdump.

length int name_or_address str
decompile_function
annotations: none low

Decompile a specific function by name and return the decompiled C code.

name str
get_il
annotations: none low

Get IL for a function in the selected view. - view: one of hlil, mlil, llil - ssa: set True to request SSA form (MLIL/LLIL only)

ssa bool view str name_or_address str
fetch_disassembly
annotations: none low

Retrive the disassembled code of a function with a given name as assemby mnemonic instructions.

name str
get_xrefs_to_field
annotations: none low

Get all cross references to a named struct field (member).

field_name str struct_name str
rename_function
annotations: none low

Rename a function by its current name to a new user-defined name. The configured prefix (default "mcp_") will be automatically prepended if not present.

new_name str old_name str
rename_data
annotations: none low

Rename a data label at the specified address.

address str new_name str
set_comment
annotations: none low

Set a comment at a specific address.

address str comment str
set_function_comment
annotations: none low

Set a comment for a function.

comment str function_name str
get_comment
annotations: none low

Get the comment at a specific address.

address str
get_function_comment
annotations: none low

Get the comment for a function.

function_name str
list_segments
annotations: none low

List all memory segments in the program with pagination.

limit int offset int
list_sections
annotations: none low

List sections in the program with pagination. Returns one line per section with: start-end, size, name, and any semantics/type if available.

limit int offset int
list_imports
annotations: none low

List imported symbols in the program with pagination.

limit int offset int
list_strings
annotations: none low

List all strings in the database (paginated).

count int offset int
list_strings_filter
annotations: none low

List matching strings in the database (paginated, filtered).

count int filter str offset int
list_local_types
annotations: none low

List all local types in the database (paginated).

count int offset int include_libraries bool
search_types
annotations: none low

Search local types whose name or declaration contains the substring.

count int query str offset int include_libraries bool
list_all_strings
annotations: none low

List all strings in the database (aggregated across pages).

batch_size int
list_exports
annotations: none low

List exported functions/symbols with pagination.

limit int offset int
list_namespaces
annotations: none low

List all non-global namespaces in the program with pagination.

limit int offset int
list_data_items
annotations: none low

List defined data labels and their values with pagination.

limit int offset int
search_functions_by_name
annotations: none low

Search for functions whose name contains the given substring.

limit int query str offset int
get_binary_status
annotations: none low

Get the current status of the loaded binary.

list_binaries
annotations: none low

List managed/open binaries known to the server with ids and active flag.

select_binary
annotations: none low

Select which binary to analyze by ordinal, internal view id, full path, or basename. Call this after listing binaries whenever you need to switch analysis targets.

view str
delete_comment
annotations: none low

Delete the comment at a specific address.

address str
delete_function_comment
annotations: none low

Delete the comment for a function.

function_name str
function_at
annotations: none low

Retrive the name of the function the address belongs to. Address must be in hexadecimal format 0x00001

address str
get_user_defined_type
annotations: none low

Retrive definition of a user defined type (struct, enumeration, typedef, union)

type_name str
get_xrefs_to
annotations: none low

Get all cross references (code and data) to the given address. Address can be hex (e.g., 0x401000) or decimal.

address str
get_xrefs_to_struct
annotations: none low

Get cross references/usages related to a struct name.

struct_name str
get_xrefs_to_type
annotations: none low

Get xrefs/usages related to a struct or type name. Includes global instances, code refs to those, HLIL matches, and functions whose signature mentions the type.

type_name str
get_xrefs_to_enum
annotations: none low

Get usages/xrefs of an enum by scanning for member values and matches.

enum_name str
get_xrefs_to_union
annotations: none low

Get cross references/usages related to a union type by name.

union_name str
get_stack_frame_vars
annotations: none low

Get stack frame variable information for a function by name or address. Returns names, offsets, sizes, and types of local variables.

function_identifier str
format_value
annotations: none low

Convert and annotate a value at an address in Binary Ninja. Adds a comment with hex/dec and C literal/string so you can see the change.

size int text str address str
convert_number
annotations: none low

Convert a number or string to multiple representations (hex/dec/bin, LE/BE, C char/string literals). Accepts decimal (e.g., 123), hex (0x7b or 7Bh), binary (0b1111011), octal (0o173), char ('A'), or string ("ABC" with escapes like A).

size int text str
get_type_info
annotations: none low

Resolve a type name and return its declaration and details (kind, members, enum values).

type_name str
get_callers
annotations: none low

List callers and caller sites for one or more function identifiers (name or address). Provide comma-separated identifiers like "sub_401000,main".

identifiers str
get_callees
annotations: none low

List callees and call sites for one or more function identifiers (name or address). Provide comma-separated identifiers like "sub_401000,main".

identifiers str
set_function_prototype
annotations: none low

Set a function's prototype by name or address.

prototype str name_or_address str
make_function_at
annotations: none low

Create a function at the given address. Platform is optional (e.g., "linux-x86_64"). Use "default" to explicitly select the BinaryView/platform default. Returns status and function info; no-op if the function already exists.

address str platform str
list_platforms
annotations: none low

List all available platform names from Binary Ninja.

declare_c_type
annotations: none low

Create or update a local type from a C declaration.

c_declaration str
set_local_variable_type
annotations: none low

Set a local variable's type.

new_type str variable_name str function_address str
patch_bytes
annotations: none low

Patch bytes at a given address in the binary. - address: Address to patch (hex string like "0x401000" or decimal) - data: Hex string of bytes to write (e.g., "90 90" or "9090" or "0x90 0x90") - save_to_file: If True (default), save patched binary to disk and re-sign on macOS. If False, only modify in memory without affecting the original file. Returns status with original and patched bytes. On macOS, automatically re-signs the binary after patching to avoid execution errors.

data str address str save_to_file bool

Permissions 4

network medium
Server uses network capabilities via: http, requests, urllib
filesystem low
Server uses filesystem capabilities via: open(), os, pathlib
shell high
Server uses shell capabilities via: subprocess
env_vars low
Server uses env_vars capabilities via: os.environ, os.getenv(), process.env

Scan Findings 160

low
Tool 'list_methods' has no annotations annotation_checker · 100%
low
Tool 'get_entry_points' has no annotations annotation_checker · 100%
low
Tool 'retype_variable' has no annotations annotation_checker · 100%
low
Tool 'rename_single_variable' has no annotations annotation_checker · 100%
low
Tool 'rename_multi_variables' has no annotations annotation_checker · 100%
low
Tool 'define_types' has no annotations annotation_checker · 100%
low
Tool 'list_classes' has no annotations annotation_checker · 100%
low
Tool 'hexdump_address' has no annotations annotation_checker · 100%
low
Tool 'hexdump_data' has no annotations annotation_checker · 100%
low
Tool 'get_data_decl' has no annotations annotation_checker · 100%
low
Tool 'decompile_function' has no annotations annotation_checker · 100%
low
Tool 'get_il' has no annotations annotation_checker · 100%
low
Tool 'fetch_disassembly' has no annotations annotation_checker · 100%
low
Tool 'rename_function' has no annotations annotation_checker · 100%
low
Tool 'rename_data' has no annotations annotation_checker · 100%
low
Tool 'set_comment' has no annotations annotation_checker · 100%
low
Tool 'set_function_comment' has no annotations annotation_checker · 100%
low
Tool 'get_comment' has no annotations annotation_checker · 100%
low
Tool 'get_function_comment' has no annotations annotation_checker · 100%
low
Tool 'list_segments' has no annotations annotation_checker · 100%
low
Tool 'list_sections' has no annotations annotation_checker · 100%
low
Tool 'list_imports' has no annotations annotation_checker · 100%
low
Tool 'list_strings' has no annotations annotation_checker · 100%
low
Tool 'list_strings_filter' has no annotations annotation_checker · 100%
low
Tool 'list_local_types' has no annotations annotation_checker · 100%
low
Tool 'search_types' has no annotations annotation_checker · 100%
low
Tool 'list_all_strings' has no annotations annotation_checker · 100%
low
Tool 'list_exports' has no annotations annotation_checker · 100%
low
Tool 'list_namespaces' has no annotations annotation_checker · 100%
low
Tool 'list_data_items' has no annotations annotation_checker · 100%
low
Tool 'search_functions_by_name' has no annotations annotation_checker · 100%
low
Tool 'get_binary_status' has no annotations annotation_checker · 100%
low
Tool 'list_binaries' has no annotations annotation_checker · 100%
low
Tool 'select_binary' has no annotations annotation_checker · 100%
low
Tool 'delete_comment' has no annotations annotation_checker · 100%
low
Tool 'delete_function_comment' has no annotations annotation_checker · 100%
low
Tool 'function_at' has no annotations annotation_checker · 100%
low
Tool 'get_user_defined_type' has no annotations annotation_checker · 100%
low
Tool 'get_xrefs_to' has no annotations annotation_checker · 100%
low
Tool 'get_xrefs_to_field' has no annotations annotation_checker · 100%
low
Tool 'get_xrefs_to_struct' has no annotations annotation_checker · 100%
low
Tool 'get_xrefs_to_type' has no annotations annotation_checker · 100%
low
Tool 'get_xrefs_to_enum' has no annotations annotation_checker · 100%
low
Tool 'get_xrefs_to_union' has no annotations annotation_checker · 100%
low
Tool 'get_stack_frame_vars' has no annotations annotation_checker · 100%
low
Tool 'format_value' has no annotations annotation_checker · 100%
low
Tool 'convert_number' has no annotations annotation_checker · 100%
low
Tool 'get_type_info' has no annotations annotation_checker · 100%
low
Tool 'get_callers' has no annotations annotation_checker · 100%
low
Tool 'get_callees' has no annotations annotation_checker · 100%
low
Tool 'set_function_prototype' has no annotations annotation_checker · 100%
low
Tool 'make_function_at' has no annotations annotation_checker · 100%
low
Tool 'list_platforms' has no annotations annotation_checker · 100%
low
Tool 'declare_c_type' has no annotations annotation_checker · 100%
low
Tool 'set_local_variable_type' has no annotations annotation_checker · 100%
low
Tool 'patch_bytes' has no annotations annotation_checker · 100%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.0.0 (GHSA-w48q-cv73-mx4w) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-35jp-ww65-95wh) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-3g43-6gmg-66jw) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-3p68-rc4w-qgx5) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-3w6x-2g7m-8v23) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-42h9-826w-cgv3) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-43fc-jf86-j433) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-445q-vr5w-6q77) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-4hjh-wcwx-xvwj) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-5c9x-8gcm-mpgx) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-62hf-57xw-28j9) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-6chq-wfr3-2hj9) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-777c-7fjr-54vf) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-7q8q-rj6j-mhjq) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-898c-q2cr-xwhg) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-8hc4-vh64-cxmj) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-fvcv-3m26-pcqx) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-hfxv-24rg-xrqf) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-j5f8-grm9-p9fc) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-jqh4-m9w3-8hp9) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-jr5f-v2jv-69x6) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-m7pr-hjqh-92cm) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-mmx7-hfxf-jppx) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-p92q-9vqr-4j8v) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-pf86-5x62-jrwf) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-pmv8-rq9r-6j72) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-pmwg-cvhr-8vh7) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-q8qp-cvcw-x6jj) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-vf2m-468p-8v99) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-w9j2-pvgh-6h63) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-xhjh-pmcv-23jw) dependency_analyzer · 95%
medium
Vulnerable dependency: axios@1.7.0 (GHSA-xx6v-rp6x-q39c) dependency_analyzer · 95%
medium
Vulnerable dependency: requests@2.32.3 (GHSA-9hjg-9r4m-mvj7) dependency_analyzer · 95%
medium
Vulnerable dependency: requests@2.32.3 (GHSA-gc5v-m9x4-r6x2) dependency_analyzer · 95%
medium
Vulnerable dependency: requests@2.32.3 (PYSEC-2026-1872) dependency_analyzer · 95%
medium
Vulnerable dependency: requests@2.32.3 (PYSEC-2026-2275) dependency_analyzer · 95%
info
package.json metadata manifest_parser · 100%
info
Tool: list_methods manifest_parser · 90%
info
Tool: get_entry_points manifest_parser · 90%
info
Tool: retype_variable manifest_parser · 90%
info
Tool: rename_single_variable manifest_parser · 90%
info
Tool: rename_multi_variables manifest_parser · 90%
info
Tool: define_types manifest_parser · 90%
info
Tool: list_classes manifest_parser · 90%
info
Tool: hexdump_address manifest_parser · 90%
info
Tool: hexdump_data manifest_parser · 90%
info
Tool: get_data_decl manifest_parser · 90%
info
Tool: decompile_function manifest_parser · 90%
info
Tool: get_il manifest_parser · 90%
info
Tool: fetch_disassembly manifest_parser · 90%
info
Tool: rename_function manifest_parser · 90%
info
Tool: rename_data manifest_parser · 90%
info
Tool: set_comment manifest_parser · 90%
info
Tool: set_function_comment manifest_parser · 90%
info
Tool: get_comment manifest_parser · 90%
info
Tool: get_function_comment manifest_parser · 90%
info
Tool: list_segments manifest_parser · 90%
info
Tool: list_sections manifest_parser · 90%
info
Tool: list_imports manifest_parser · 90%
info
Tool: list_strings manifest_parser · 90%
info
Tool: list_strings_filter manifest_parser · 90%
info
Tool: list_local_types manifest_parser · 90%
info
Tool: search_types manifest_parser · 90%
info
Tool: list_all_strings manifest_parser · 90%
info
Tool: list_exports manifest_parser · 90%
info
Tool: list_namespaces manifest_parser · 90%
info
Tool: list_data_items manifest_parser · 90%
info
Tool: search_functions_by_name manifest_parser · 90%
info
Tool: get_binary_status manifest_parser · 90%
info
Tool: list_binaries manifest_parser · 90%
info
Tool: select_binary manifest_parser · 90%
info
Tool: delete_comment manifest_parser · 90%
info
Tool: delete_function_comment manifest_parser · 90%
info
Tool: function_at manifest_parser · 90%
info
Tool: get_user_defined_type manifest_parser · 90%
info
Tool: get_xrefs_to manifest_parser · 90%
info
Tool: get_xrefs_to_field manifest_parser · 90%
info
Tool: get_xrefs_to_struct manifest_parser · 90%
info
Tool: get_xrefs_to_type manifest_parser · 90%
info
Tool: get_xrefs_to_enum manifest_parser · 90%
info
Tool: get_xrefs_to_union manifest_parser · 90%
info
Tool: get_stack_frame_vars manifest_parser · 90%
info
Tool: format_value manifest_parser · 90%
info
Tool: convert_number manifest_parser · 90%
info
Tool: get_type_info manifest_parser · 90%
info
Tool: get_callers manifest_parser · 90%
info
Tool: get_callees manifest_parser · 90%
info
Tool: set_function_prototype manifest_parser · 90%
info
Tool: make_function_at manifest_parser · 90%
info
Tool: list_platforms manifest_parser · 90%
info
Tool: declare_c_type manifest_parser · 90%
info
Tool: set_local_variable_type manifest_parser · 90%
info
Tool: patch_bytes manifest_parser · 90%
info
Transport: stdio manifest_parser · 90%
info
Required env vars (5) manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
medium
Permission: network access detected permission_analyzer · 90%
low
Permission: filesystem access detected permission_analyzer · 80%
high
Permission: shell access detected permission_analyzer · 95%
low
Permission: env_vars access detected permission_analyzer · 90%
critical
Tool poisoning in 'select_binary': Cross-tool sequencing directive poisoning · 85%
info
SBOM generated: 137 components sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%