MCP Servers / development / PCM

PCM

JSON →
none46development

A server for reverse engineering tasks using the pcm toolkit. Requires a local clone of the pcm repository.

Install
How to run this server

No install command recorded.

server path: pcm
Tools
What this server exposes
get_function_by_name
Get a function by its name.
get_function_by_address
Get a function by its address.
get_current_address
Get the address currently selected by the user.
get_current_function
Get the function currently selected by the user.
list_functions
List all functions in the database.
decompile_function
Decompile a function at the given address using Hex-Rays.
disassemble_function
Get assembly code (address: instruction; comment) for a function.
get_entrypoints
Get all entrypoints in the binary.
get_function_blocks
Get all basic blocks in a function.
get_function_cfg
Get control flow graph for a function.
get_xrefs_to
Get all cross references to the given address.
get_xrefs_from
Get all cross references from the given address.
set_decompiler_comment
Set a comment for a given address in the function pseudocode.
set_disassembly_comment
Set a comment for a given address in the function disassembly.
rename_local_variable
Rename a local variable in a function.
rename_function
Rename a function.
set_function_prototype
Set a function's prototype.
set_local_variable_type
Set a local variable's type.
create_structure_type
Create a new structure type.
get_metadata
Get metadata about the current IDB.
repl_idapython
Run IDAPython code and return the results with stdout/stderr captured.
add_note
Add a new analysis note for the current binary.
update_note
Update an existing note.
get_notes
Get analysis notes for a binary.
delete_note
Delete an analysis note.
Configuration
Environment & auth
authnone
Resources
PCM — MCP Server · libregistry