GhidrAssistMCP

MCP.Pizza Chef: symgraph

This extension turns Ghidra, the free program-analysis tool, into something an AI assistant can work inside directly. Once it's installed and running, a connected assistant such as GhidrAssist can look at whichever binary window you have open, list its functions, text strings, imports, and exports, and answer questions about what the code is doing — even across several open binaries at once. It runs entirely on your own computer, needs no account or paid key, but setup means installing a Ghidra plugin rather than a single click.

Coding

Use This MCP server To

Ask my AI assistant to explain what a function does List every string hidden inside a program I'm analyzing Find all the imports and exports in a binary Get a plain-English summary of code I'm reverse-engineering Work across several open binaries in Ghidra at once Have my assistant walk me through a standard analysis routine

README

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; use list_binaries Project 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

Clients

Shameless self-promotion: GhidrAssist supports GhidrAssistMCP right out of the box.

Screenshots

Screenshot Screenshot

GhidrAssistMCP FAQ

Can I use this to understand what a function in my program does?
Yes — once the extension is running inside Ghidra, a connected AI assistant such as GhidrAssist can look at the function you're viewing and explain it in plain language.
Can I use this to find all the text hidden inside a program I'm analyzing?
Yes — the extension exposes every string in your open binary as something your assistant can search through and summarize for you.
Which apps can I use this with?
It's built to work with GhidrAssist, a companion app made specifically for it, but any assistant or setup that speaks the Model Context Protocol — including ones built around Claude, ChatGPT, or Gemini — can connect to it too.
Do I need an account or an API key to use this?
No — it runs entirely on your own computer and doesn't ask for an account, a subscription, or an API key.
How hard is this to set up?
It takes some technical comfort. You either download a ready-made release and install it through Ghidra's own extension menu, or build it yourself from the source code — there's no single-click install.
Do I need Ghidra already installed to use this?
Yes — this adds onto Ghidra, the free program-analysis tool, so you'll need Ghidra 11.4 or newer installed before this will do anything.
Can I use this without opening Ghidra's full program window?
Yes — it also offers a background ('headless') mode that lets your assistant work with a loaded program without you opening the regular Ghidra interface, handy for automated analysis.
Will this still work if I have several programs open at once?
Yes — it keeps track of every open binary and automatically knows which one you're currently looking at.