Skip to content
Kitbay
MCP server

ghidra-mcp

Runs locallyApache-2.0Updated on Nov 8, 20266,185GitHub starsCan change dataNo API key needed

Ghidra MCP by Ben Ethington is a Ghidra extension plus a Python bridge that an MCP client launches locally over stdio, with streamable HTTP as an option.

What it does

Ghidra MCP by Ben Ethington is a Ghidra extension plus a Python bridge that an MCP client launches locally over stdio, with streamable HTTP as an option. The extension answers on a loopback HTTP port, and a separate headless Java server can analyse without the Ghidra window. Its README lists about 209 tools covering decompilation, call graphs, cross-references, structure and type editing, bulk renaming and commenting, string and memory search, P-code emulation, debugger control through Ghidra's TraceRmi, Ghidra Server projects and script execution, which stays off unless an environment variable enables it. Binding beyond localhost requires an auth token. The project began as a derivative of LaurieWired's GhidraMCP and has since been rewritten.

Capabilities

  • Decompile functions and trace call graphs and cross-references
  • Create and edit structs, unions, enums and data types
  • Rename, comment and retype symbols in bulk
  • Emulate functions with Ghidra's P-code emulator
  • Drive Ghidra's debugger through TraceRmi
  • Run Ghidra scripts when explicitly enabled