Setting up GhidraMCP Server with Claude AI Desktop for AI assisted Reverse Engineering

Setting up GhidraMCP Server with Claude AI Desktop for AI assisted Reverse Engineering

1.004 Lượt nghe
Setting up GhidraMCP Server with Claude AI Desktop for AI assisted Reverse Engineering
Prerequisites: 1. Python 3.10+ Why Needed: To run the MCP bridge script and SDK. Download Python: https://www.python.org/downloads/ Check Installation: python --version 2. Java Runtime Environment (JRE) Why Needed: Ghidra requires Java to run Download from: https://www.java.com/en/download/manual.jsp 3. Java JDK 21+ Why Needed: Ghidra extension requires JDK 21+ Download JDK 24 (Windows): https://www.oracle.com/cis/java/technologies/downloads/ Check Installation: java -version Ghidra Setup: 1. Install Ghidra - Download from Ghidra's official site: https://ghidra-sre.org/ (if not already installed). 2. Install GhidraMCP Extension - Download the latest .zip from GhidraMCP Releases: https://github.com/LaurieWired/GhidraMCP - In Ghidra: Help → Install Extensions → Click + → Select the downloaded .zip → Restart Ghidra. 3. Install Python Dependencies pip install requests "mcp[cli]" Claude Desktop Configuration: 1. Install Claude Desktop - Download from claude.ai/download: https://claude.ai/download 2. Enable Developer Mode - Open Claude → Click ☰ (Hamburger Menu) → Settings → Enable Developer Mode. 3. Edit Config File - In Claude's settings, click Edit Config (under Developer Mode). - Add the Ghidra MCP server entry: { "mcpServers": { "ghidra": { "command": "python", "args": ["ABSOLUTE_PATH_TO/bridge_mcp_ghidra.py"] } } } - Replace ABSOLUTE_PATH_TO with the actual path to bridge_mcp_ghidra.py - Example Paths: Windows: C:\ghidra\Extensions\GhidraMCP\bridge_mcp_ghidra.py macOS/Linux: ~/ghidra/Extensions/GhidraMCP/bridge_mcp_ghidra.py 4. Restart Claude - After saving the config, restart Claude.