How mxiris-reverse-engineering/ida-mcp-server works
Project type and purpose
• This is a hybrid “plugin + server” tool:
• A Python‑based Model Context Protocol (MCP) server (mcp_server_ida) that exposes an API for LLM‑driven inspection of IDA databases.
• A companion IDA Pro plugin (ida_mcp_server_plugin) that runs inside the IDA GUI and communicates with the server.
• Use case: automate and script IDA disassembly analysis via LLMs (e.g., Claude, OpenAI).
File structure
• Top‑level directories:
• plugin/ → holds the IDA plugin entrypoint (ida_mcp_server_plugin.py) and module (ida_mcp_server_plugin/ida_mcp_core.py).
• src/mcp_server_ida/ → the server’s source code (__main__.py for CLI startup, server.py for core logic).
• test/ → local tests and debug scripts.
• Screenshots/ → UI examples (could be omitted or shown as “docs”).
• Config/build files:
• pyproject.toml → Python packaging & dependencies.
• uv.lock → lockfile for the uv runner.
• Notice the clear “frontend” (IDA plugin) vs. “backend” (MCP server) separation.
Extract key insights from the README
• The server runs via uvx mcp-server-ida or python -m mcp_server_ida.
• The plugin is copied into IDA’s plugin directory and uses Python‑IDA API to forward requests to the server.
• External integration points: LLM providers (configured via MCP inspector), Claude Desktop, logs, debugging tools.