angr-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
angr MCP Plugin
An angr-management plugin that embeds an MCP (Model Context Protocol) server, exposing angr's binary analysis capabilities to LLM clients like Claude Code, Cursor, and other MCP-compatible tools.
Features
Live GUI integration -- MCP tools bind to the active angr-management workspace, so LLM agents operate on the same binary you have open
Function analysis -- List, inspect, and decompile functions from the angr knowledge base
Symbolic execution -- Build CFGs, explore paths with constraints, and solve for stdin
Live mutations -- Rename functions and set comments that update the GUI in real time
Batch operations -- Run multiple analysis actions in a single call
Snapshot export/import -- Versioned JSON contract for reproducible analysis state transfer
Headless dev mode -- Run the MCP server standalone without angr-management for development and testing
Related MCP server: GhidraMCP
MCP Tools
Tool | Category | Description |
| Core | Get metadata for the active binary |
| Core | Paginated function listing from the knowledge base |
| Core | Detailed info for a function at a given address |
| Core | Decompile a function to pseudocode |
| Core | Paginated string listing |
| Core | Cross-references to a target address |
| Core | Rename a function (live GUI update) |
| Core | Set a comment at an address (live GUI update) |
| Symbolic | Get the binary entry point address |
| Symbolic | Build a CFG and return node/edge summary |
| Symbolic | Symbolic execution with find/avoid constraints |
| Automation | Export current analysis state as a snapshot |
| Automation | Import and optionally apply a snapshot |
| Automation | Execute multiple actions in one call |
Installation
Requires Python 3.10+. Install with uv (recommended) or pip:
# Clone the repo
git clone https://github.com/sandbornm/angr_mcp.git
cd angr_mcp
# Install with dev dependencies
uv pip install -e ".[dev]"
# Include angr/angr-management in the same environment
uv pip install -e ".[dev,angr]"Usage
Plugin mode (angr-management GUI)
Symlink the plugin into angr-management's plugin directory:
mkdir -p ~/.local/share/angr-management/plugins
ln -sfn "$(pwd)/src/angr_mcp_plugin" ~/.local/share/angr-management/plugins/angr_mcpRestart angr-management and enable angr MCP Plugin from the plugin manager.
Open a binary -- the MCP server starts automatically on
http://127.0.0.1:8766/mcp.
Dev mode (standalone server)
Run the MCP server without angr-management for development:
angr-mcp-dev-serverConnect your LLM client
Add this to your MCP client configuration (Cursor, Claude Code, etc.):
{
"mcpServers": {
"angr-mcp": {
"url": "http://127.0.0.1:8766/mcp"
}
}
}Configuration
The plugin reads these environment variables:
Variable | Default | Description |
|
| MCP transport type |
|
| Server bind address |
|
| Server port |
Development
# Install dev dependencies
uv pip install -e ".[dev]"
# Run tests
pytest
# Lint
ruff check src/ tests/
# Type check
mypy src/Validate sync snapshots
angr-mcp-validate-sync snapshot.jsonArchitecture
src/angr_mcp_plugin/
plugin.py # angr-management plugin entrypoint
mcp_server.py # Embedded MCP server (FastMCP + background thread)
session_state.py # Thread-safe workspace/project binding
sync_contract.py # Versioned snapshot export/import schema
cli.py # Dev server and validation CLI
plugin.toml # angr-management plugin metadata
tools/
core.py # GUI-bound analysis tools (8 tools)
symbolic.py # Symbolic execution helpers (3 tools)
automation.py # Batch and sync tools (3 tools)License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage tickets, run agents and workflows, query tables, and search workspace knowledge.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Sandbox workspace tools: search, file read, DB queries, integrations. Returns synthetic data.
Build, run, inspect, and continue AgentScript workflows on connected Super Chrome and Mac clients.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to import binaries into Ghidra, trigger analysis, browse functions, symbols, strings, and imports, and read decompiled C code and disassembly via MCP tools.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs and MCP clients to autonomously reverse engineer applications by exposing core Ghidra functionality, including decompiling and analyzing binaries, renaming methods and data, and listing methods, classes, imports, and exports.Apache 2.0
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to remotely control a disassembler/debugger for reverse engineering, including executing Python scripts, inspecting binaries, searching for values, text, or byte sequences, and retrieving disassembly, functions, exports, and strings.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to execute scripts, inspect binaries, search values, strings, and byte sequences, retrieve functions, exports, and strings, and obtain disassembly through a standardized interface.-