Data as of
ghidraMCP for Claude Code: Setup & Config
ghidraMCP connects Claude Code to core Ghidra analysis features through a plugin and Python bridge.
What you can do with ghidraMCP in Claude Code
Choose it to bring Ghidra decompilation and renaming into an assistant workflow through a plugin bridge.
- Ask an assistant to decompile and inspect binaries in Ghidra.
- Connect a running Ghidra instance to Claude Desktop or Cline.
Before you start: ghidraMCP in Claude Code
- Ghidra
- Python 3
- MCP Python SDK
- The installed and enabled GhidraMCP plugin
- The Python bridge from a project release
Replace the README’s absolute-path placeholder with the bridge location. The HTTP URL is the bridge’s Ghidra backend, not a remote MCP endpoint. Cline can instead use the documented SSE bridge mode.
ghidraMCP Claude Code configuration
Choose Claude Code configuration scope
For ghidraMCP, open Project scope: .mcp.json at the repository root. Project JSON: merge into mcpServers; user scope: use the CLI.
Add ghidraMCP to Claude Code
Use the GhidraMCP entry below in mcpServers. Keep ghidraMCP's documented stdio connection fields and your other Claude Code entries.
Check ghidraMCP in Claude Code
ghidraMCP: Inspect claude mcp list and /mcp status.
Config file · Project scope: .mcp.json at the repository root
{
"mcpServers": {
"GhidraMCP": {
"type": "stdio",
"command": "python",
"args": [
"/ABSOLUTE_PATH_TO/bridge_mcp_ghidra.py",
"--ghidra-server",
"http://127.0.0.1:8080/"
],
"env": {}
}
}
}claude mcp add-json --scope project 'GhidraMCP' '{"type":"stdio","command":"python","args":["/ABSOLUTE_PATH_TO/bridge_mcp_ghidra.py","--ghidra-server","http://127.0.0.1:8080/"],"env":{}}'Troubleshooting ghidraMCP in Claude Code
- If ghidraMCP fails to start, check python (Python), the working directory, and Claude Code's selected scope; inspect claude mcp list and /mcp.
- ghidraMCP uses stdio here: Claude Code must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
- Known limitation: Requires Ghidra extension installation, restart, and plugin enablement.
- Known limitation: Building from source requires Ghidra JAR files and Maven packaging.
- Known limitation: Individual MCP tool identifiers are Not stated in the README.
- General Claude Code troubleshooting lives in the /clients/claude-code guide.
ghidraMCP — details. Claude Code guide