ida-headless-mcp
Verified Safeby Zdhhjhfjkhhhhjilk
Overview
A headless server that enables automated binary analysis using IDA Pro, exposing its capabilities via the Model Context Protocol (MCP) for programmatic interaction.
Installation
go run ./cmd/ida-mcp-server/main.goEnvironment Variables
- IDA_MCP_PORT
- IDA_MCP_SESSION_TIMEOUT_MIN
- IDA_MCP_MAX_SESSIONS
- IDA_MCP_WORKER
- IDA_MCP_DEBUG
- XDG_DATA_HOME
- HOME
Security Notes
The server, by default, appears to lack strong authentication for its HTTP API (port 17300). While `scripts/inspector.sh` uses `DANGEROUSLY_OMIT_AUTH=true` for testing, this indicates a potential security gap if the server is exposed publicly without proper firewalling or additional authentication layers. The `ida_wrapper.py` allows importing external scripts (`script.json`, `il2cpp.h`, `addNames.py`) via the `import_il2cpp` and `import_flutter` tools. Although `addNames.py` is parsed by regex rather than directly `eval`-ed, processing arbitrary external scripts in the IDA context still poses a risk of unexpected or malicious IDA API calls if input sources are untrusted. Certain search functions, while having pagination limits, could potentially be optimized further to prevent excessive resource consumption in extreme cases, though current limits (1000/10000) offer some protection.
Similar Servers
ida-pro-mcp
This project provides an MCP (Model Context Protocol) server that integrates with IDA Pro, enabling AI assistants to perform reverse engineering tasks like binary analysis, decompilation, memory manipulation, and debugging within the IDA Pro environment.
reverse-engineering-assistant
Provides an MCP (Model Context Protocol) server to expose Ghidra's reverse engineering capabilities for AI models and automated binary analysis in a headless environment.
GhidrAssistMCP
This Ghidra extension provides an MCP server, enabling AI assistants and other tools to interact with Ghidra's reverse engineering capabilities through a standardized API, supporting program analysis, modification, and navigation.
jadx-mcp-server
Facilitates live, LLM-driven reverse engineering and vulnerability analysis of Android APKs by integrating JADX with the Model Context Protocol.