IDA-MCP
Provides Python-based tools for interacting with IDA Pro instances, enabling programmatic access to reverse engineering functions, binary analysis, and disassembly operations through IDA's Python API.
Click on "Install 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-MCPlist all functions 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
IDA-MCP is an IDA Pro plugin that exposes IDA analysis, database modification, debugger, and lifecycle operations through MCP. Each IDA instance runs a local FastMCP HTTP server, and an optional standalone gateway provides a stable multi-instance MCP endpoint.
This repository is now the standalone plugin repository. The desktop IDE and
application shell live in the separate Sarma repository and consume this
project as a Git submodule.
Layout
IDA-MCP/
├── ida_mcp.py # IDA plugin entry point, exposes PLUGIN_ENTRY()
├── ida-plugin.json # IDA plugin metadata
├── ida_mcp/ # plugin package, gateway, proxy, tools, resources
├── test/ # live-IDA pytest suite
├── API.md # MCP, tool, resource, and internal HTTP contract
├── project.md # repository map and boundaries
├── roadmap.md # current direction and milestones
└── requirements.txt # IDA Python runtime dependenciesRelated MCP server: IDA Pro MCP Server
Runtime Model
IDA loads
ida_mcp.py, which startsida_mcp/plugin_runtime.py.Each IDA instance chooses a free port starting at
ida_default_portand serves MCP at/mcp/.The standalone gateway listens on
127.0.0.1:11338, registers instances under/internal/*, and exposes the proxy MCP endpoint at/mcp.Tool registration is decorator based: use
@toolplus@idareador@idawrite.py_evalanddbg_*tools are unsafe and gated byenable_unsafeinida_mcp/config.conf.
Installation
Copy ida_mcp.py and the ida_mcp/ directory into IDA's plugin directory, then
install dependencies into IDA's Python environment:
<ida_python> -m pip install -r requirements.txtOpen a database in IDA and wait for initial analysis. The plugin starts its per-instance MCP server automatically when HTTP transport is enabled.
Gateway And CLI
# Start the standalone gateway
python ida_mcp/command.py gateway start --json
# Status, stop, open IDA, call a tool directly
python ida_mcp/command.py gateway status
python ida_mcp/command.py gateway stop
python ida_mcp/command.py ida open ./target.exe
python ida_mcp/command.py tool call get_metadata --port 10000Default endpoints:
Gateway MCP proxy:
http://127.0.0.1:11338/mcpGateway internal API:
http://127.0.0.1:11338/internal/*Direct IDA instance MCP:
http://127.0.0.1:<instance_port>/mcp/
Tests
Tests require a running gateway and at least one registered IDA instance.
python test/test.py
python test/test.py --core --analysis
python test/test.py --transport=http --analysis
pytest -m "core or analysis"
pytest -m "not debug"
pytest --transport=httpThe debug marker is excluded by default because it requires an active
debugger. API call logs are written to .artifacts/api_logs/.
Documentation
API.mddocuments the MCP tools, resources, proxy behavior, and internal HTTP routes.project.mdexplains repository responsibilities and module boundaries.roadmap.mdtracks current stabilization work.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Captain-AI-Hub/IDA-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server