GhidrAssistMCP
A powerful Ghidra extension that provides an MCP (Model Context Protocol) server, enabling AI assistants and other tools to interact with Ghidra's reverse engineering capabilities through a standardized API.
Overview
GhidrAssistMCP bridges the gap between AI-powered analysis tools and Ghidra's comprehensive reverse engineering platform. By implementing the Model Context Protocol, this extension allows external AI assistants, automated analysis tools, and custom scripts to seamlessly interact with Ghidra's analysis capabilities.
Key Features
- MCP Server Integration: Full Model Context Protocol server implementation using official SDK
- Dual HTTP Transports: Supports SSE and Streamable HTTP transports for maximum client compatibility
- 49 Built-in Tools: Comprehensive set of analysis tools with action-based consolidation for cleaner APIs
- 6 MCP Resources: Static data resources for program info, functions, strings, imports, exports, and segments
- 7 MCP Prompts: Pre-built analysis prompts for common reverse engineering tasks
- Result Caching: Intelligent caching system to improve performance for repeated queries
- Async Task Support: Long-running operations execute asynchronously with task management
- Multi-Program Support: Work with multiple open programs simultaneously using
program_name; uselist_binariesProject Path values to disambiguate duplicate filenames - Multi-Window Support: Single MCP server shared across all CodeBrowser windows with intelligent focus tracking
- Active Context Awareness: Automatic detection of which binary window is in focus, with context hints in all tool responses
- Configurable UI: Easy-to-use interface for managing tools and monitoring activity
- Real-time Logging: Track all MCP requests and responses with detailed logging
- Dynamic Tool Management: Enable/disable tools individually with persistent settings






