IDA Pro MCP
by mrexodia
IDA Pro MCP is a simple MCP Server designed to facilitate vibe reversing in IDA Pro. It enables interaction with IDA Pro through MCP clients, allowing for automated analysis and modification of IDB databases.
Last updated: N/A
What is IDA Pro MCP?
IDA Pro MCP is an MCP (Model Context Protocol) server that allows you to interact with IDA Pro using various MCP clients. It provides a set of tools to retrieve information from and modify an IDA Pro database (IDB), enabling automated reverse engineering tasks.
How to use IDA Pro MCP?
- Install Python 3.11 or higher and IDA Pro 8.3 or higher.
- Install the IDA Pro MCP package using
pip install --upgrade git+https://github.com/mrexodia/ida-pro-mcp
. - Configure the MCP server using
ida-pro-mcp --install
. - Restart IDA Pro and your chosen MCP client (Cline, Roo Code, Claude, Cursor, VSCode Agent Mode, etc.).
- Use the available MCP tools through your client to interact with IDA Pro.
Key features of IDA Pro MCP
Retrieve metadata about the current IDB.
Get functions by name or address.
Decompile and disassemble functions.
List and search strings.
Get cross-references.
Set comments and rename variables/functions.
Modify variable types and function prototypes.
Declare C types.
Use cases of IDA Pro MCP
Automated analysis of binaries in IDA Pro.
Integration with LLMs for reverse engineering tasks.
Scripting and automation of common reverse engineering workflows.
Collaboration and sharing of reverse engineering insights.
FAQ from IDA Pro MCP
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol that allows different applications to communicate and share context with each other.
What are the prerequisites for using IDA Pro MCP?
What are the prerequisites for using IDA Pro MCP?
You need Python 3.11 or higher, IDA Pro 8.3 or higher, and a supported MCP client.
How do I install the IDA Pro plugin?
How do I install the IDA Pro plugin?
The IDA Pro plugin is installed automatically when the MCP server starts if you use the --install-plugin
option. Otherwise, you can manually copy the mcp-plugin.py
file to your IDA Pro plugins folder.
How do I improve LLM accuracy when using IDA Pro MCP?
How do I improve LLM accuracy when using IDA Pro MCP?
Be specific with your prompting, use the convert_number
MCP tool for number conversions, and remove obfuscation from the code before using an LLM.
How do I add new features to IDA Pro MCP?
How do I add new features to IDA Pro MCP?
Add a new @jsonrpc
function to mcp-plugin.py
. Your function will be available in the MCP server without any additional boilerplate.