ida-mcp-server
The IDA MCP Server facilitates interaction and automation with IDA Pro databases via the Model Context Protocol, enabling you to:
Retrieve assembly code for functions by name, address, or cursor position
Retrieve decompiled pseudocode for functions using similar methods
Get information about global variables by name or address
Rename functions, local and global variables, including batch renaming operations
Add comments to assembly code, functions, and pseudocode at specific addresses
Execute Python scripts within the IDA Pro environment and return their output
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ida-mcp-server show me the function names in the current binary"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
IDA MCP Server
The idalib mode is under development, and it will not require installing the IDA plugin or running IDA (idalib is available from IDA Pro 9.0+).
Overview
A Model Context Protocol server for IDA interaction and automation. This server provides tools to read IDA database via Large Language Models.
Please note that mcp-server-ida is currently in early development. The functionality and available tools are subject to change and expansion as we continue to develop and improve the server.
Related MCP server: Binary Ninja MCP Server
Installation
Using uv (recommended)
When using uv no specific installation is needed. We will
use uvx to directly run mcp-server-ida.
Using PIP
Alternatively you can install mcp-server-ida via pip:
pip install mcp-server-idaAfter installation, you can run it as a script using:
python -m mcp_server_idaIDA-Side
Copy repository/plugin/ida_mcp_server_plugin.py and repository/plugin/ida_mcp_server_plugin directory into IDAs plugin directory
Windows: %APPDATA%\Hex-Rays\IDA Pro\plugins
Linux/macOS: $HOME/.idapro/plugins eg: ~/.idapro/plugins
igors-tip-of-the-week-103-sharing-plugins-between-ida-installs
Configuration
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
"mcpServers": {
"ida": {
"command": "uvx",
"args": [
"mcp-server-ida"
]
}
}"mcpServers": {
"ida": {
"command": "python",
"args": [
"-m",
"mcp_server_ida"
]
}
}Debugging
You can use the MCP inspector to debug the server. For uvx installations:
npx @modelcontextprotocol/inspector uvx mcp-server-idaOr if you've installed the package in a specific directory or are developing on it:
cd path/to/mcp-server-ida/src
npx @modelcontextprotocol/inspector uv run mcp-server-idaRunning tail -n 20 -f ~/Library/Logs/Claude/mcp*.log will show the logs from the server and may
help you debug any issues.
Development
If you are doing local development, there are two ways to test your changes:
Run the MCP inspector to test your changes. See Debugging for run instructions.
Test using the Claude desktop app. Add the following to your
claude_desktop_config.json:
UVX
{
"mcpServers": {
"ida": {
"command": "uv",
"args": [
"--directory",
"/<path to mcp-server-ida>",
"run",
"mcp-server-ida"
]
}
}Alternatives
Screenshots

Available Tools
19 toolsida_add_assembly_commentC
Add a comment at a specific address in the assembly view of the IDA database
Inputs: address (required), comment (required), is_repeatable.
ida_add_function_commentC
Add a comment to a function in the IDA database
Inputs: function_name (required), comment (required), is_repeatable.
ida_add_pseudocode_commentC
Add a comment to a specific address in the function's decompiled pseudocode
Inputs: function_name (required), address (required), comment (required), is_repeatable.
ida_execute_scriptC
Execute a Python script in IDA Pro and return its output. The script runs in IDA's context with access to all IDA API modules.
Inputs: script (required).
ida_execute_script_from_fileB
Execute a Python script from a file path in IDA Pro and return its output. The file should be accessible from IDA's process.
Inputs: file_path (required).
ida_get_current_function_assemblyB
Get assembly code for the function at the current cursor position
Inputs: no named parameters.
ida_get_current_function_decompiledB
Get decompiled pseudocode for the function at the current cursor position
Inputs: no named parameters.
ida_get_function_assembly_by_addressC
Get assembly code for a function by address
Inputs: address (required).
ida_get_function_assembly_by_nameC
Get assembly code for a function by name
Inputs: function_name (required).
ida_get_function_decompiled_by_addressC
Get decompiled pseudocode for a function by address
Inputs: address (required).
ida_get_function_decompiled_by_nameC
Get decompiled pseudocode for a function by name
Inputs: function_name (required).
ida_get_global_variable_by_addressC
Get information about a global variable by address
Inputs: address (required).
ida_get_global_variable_by_nameC
Get information about a global variable by name
Inputs: variable_name (required).
ida_rename_functionB
Rename a function in the IDA database
Inputs: old_name (required), new_name (required).
ida_rename_global_variableC
Rename a global variable in the IDA database
Inputs: old_name (required), new_name (required).
ida_rename_local_variableC
Rename a local variable within a function in the IDA database
Inputs: function_name (required), old_name (required), new_name (required).
ida_rename_multi_functionsC
Rename multiple functions at once in the IDA database
Inputs: rename_pairs_old2new (required).
ida_rename_multi_global_variablesC
Rename multiple global variables at once in the IDA database
Inputs: rename_pairs_old2new (required).
ida_rename_multi_local_variablesC
Rename multiple local variables within a function at once in the IDA database
Inputs: function_name (required), rename_pairs_old2new (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools have distinct purposes targeting specific resources (assembly, pseudocode, comments, renaming) with clear boundaries, though the two script execution tools (ida_execute_script and ida_execute_script_from_file) could be confused as they differ only in input source but serve the same core function. Other tools are well-differentiated by action and target.
All tools follow a consistent 'ida_verb_noun' pattern with snake_case throughout, using clear verbs like 'add', 'get', 'rename', and 'execute'. The naming is predictable and readable, making it easy to understand each tool's function at a glance.
With 19 tools, the count is slightly high but reasonable for an IDA Pro server covering analysis tasks like comments, code retrieval, script execution, and renaming. It avoids bloat by focusing on core functionalities, though some tools could potentially be consolidated (e.g., the multiple rename variants).
The tool set provides comprehensive coverage for IDA Pro interaction, including CRUD-like operations for comments, retrieval of assembly and pseudocode by various identifiers, renaming of functions and variables (single and batch), and script execution. No obvious gaps exist for typical reverse engineering workflows.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with IDA Pro for reverse engineering and binary analysis tasks.12103MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables Large Language Models to interact with Binary Ninja for reverse engineering tasks like viewing assembly code, decompiled code, renaming functions, and adding comments.3MIT
- AlicenseNot gradedqualityDmaintenanceAn Model Context Protocol server that enables LLMs to autonomously reverse engineer applications by exposing Ghidra's decompilation and analysis tools. It allows AI agents to list code structures, rename methods, and analyze binaries directly through MCP-compatible clients.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server that runs inside IDA Pro for AI tools, exposing reverse-engineering capabilities like function listing, decompilation, and analysis via HTTP.MIT