IDA Pro MCP Documentation and Utilities
LocalAbout IDA Pro MCP Documentation and Utilities
IDA Pro MCP Documentation and Utilities is an experimental server and utility set for working with IDA Pro documentation and APIs. It is intended for learning and testing, rather than production use, and targets plugin and script development.
Key features
- 01IDA Pro documentation access
- 02Utilities for IDA Pro work
- 03Uses idalib
- 04Supports API exploration
Use cases
- 01Look up IDA Pro API information
- 02Develop IDA Pro plugins
- 03Create IDA Pro scripts
MCP support
Provides an MCP server for accessing IDA Pro documentation and utilities; the server must be running for IDA Pro automation scripts to work.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEIDA Pro MCP Documentation and Utilities
This project provides documentation and utilities for working with IDA Pro through MCP (Machine Code Processor).
This project was a for-fun for myself to learn how to use MCP, it is not meant for real-life use.
⚠️ System Requirements
- IDA Pro installation is required
- Python 3.8 or higher
🔧 Prerequisites
- IDA Pro Installation
- Ensure you have a working installation of IDA Pro
- Set the
IDADIRenvironment variable to point to your IDA Pro installation directory# Example (PowerShell): $env:IDADIR = "C:\Program Files\IDA Pro" # or set it permanently through Windows System Properties > Environment Variables
📥 Installation
-
Install Poetry (if not already installed)
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -OR
pipx install poetry -
Install Dependencies
poetry install
🚀 Setting up the MCP Server
- Cursor MCP configuration setup
"ida-pro-doc": { "command": "<venv_python_path>/python.exe", "args": [ "<path_to_project>/server.py" ] }
🔍 Troubleshooting
-
If you encounter issues with MCP server:
- Ensure
IDADIRenvironment variable is correctly set - Verify IDA Pro installation is working properly
- Check if any antivirus software is blocking the connections
- Ensure
-
Common Issues:
- "IDADIR not found": Set the environment variable as shown in Prerequisites
- Connection refused: Make sure no other instance of MCP server is running
- Windows only: This project has been tested and is supported only on Windows systems
- Cursor only: This project has only been tested inside of cursor but should work with other software.
📝 Notes
- The server uses idalib and opening ida pro is not required! (this is supported only after IDA 9.0)
- Always ensure IDA Pro is properly closed before starting the MCP server
- The MCP server needs to be running for any IDA Pro automation scripts to work
- This project is Windows-only at the moment - other operating systems are not supported but should work (with a little tweaking)
- This is a rough stupid implementation but it works for my tests, it allows the LLM to better understand the api of ida-pro it's accessible to, this will help developing plugins and scripts for ida!
For any and all questions feel free to reach out to me at [email protected]
📄 License
MIT License
Copyright (c) 2024 IDA Pro MCP Documentation and Utilities
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.