{"type":"mcp_server","name":"GhidraMCP","description":"GhidraMCP is a Ghidra plugin and MCP server that allows LLMs to autonomously reverse engineer applications by exposing Ghidra's core functionality to MCP clients for binary analysis and decompilation.","category":"Developer Tools","language":"Java","stars":9350,"forks":131,"owner":"LaurieWired","github_url":"https://github.com/LaurieWired/GhidraMCP","homepage":null,"setup":"## Setup\n\n### Prerequisites\n- Install [Ghidra](https://ghidra-sre.org)\n- Python3\n- MCP [SDK](https://github.com/modelcontextprotocol/python-sdk)\n\n### Ghidra\nFirst, download the latest [release](https://github.com/LaurieWired/GhidraMCP/releases) from this repository. This contains the Ghidra plugin and Python MCP client. Then, you can directly import the plugin into Ghidra.\n\n1. Run Ghidra\n2. Select `File` -> `Install Extensions`\n3. Click the `+` button\n4. Select the `GhidraMCP-1-0.zip` (or your chosen version) from the downloaded release\n5. Restart Ghidra\n6. Make sure the GhidraMCPPlugin is enabled in `File` -> `Configure` -> `Developer`\n\n### MCP Clients\nTheoretically, any MCP client should work with ghidraMCP. Two examples are given below.\n\n#### Example 1: Claude Desktop\nTo set up Claude Desktop as a Ghidra MCP client, go to `Claude` -> `Settings` -> `Developer` -> `Edit Config` -> `claude_desktop_config.json` and add the following:\n\n```json\n{\n  \"mcpServers\": {\n    \"ghidra\": {\n      \"command\": \"python\",\n      \"args\": [\n        \"/ABSOLUTE_PATH_TO/bridge_mcp_ghidra.py\"\n      ]\n    }\n  }\n}\n```\n\nAlternatively, edit this file directly:\n```\n/Users/YOUR_USER/Library/Application Support/Claude/claude_desktop_config.json\n```\n\n#### Example 2: 5ire\nAnother MCP client that supports multiple models on the backend is [5ire](https://github.com/nanbingxyz/5ire). To set up GhidraMCP, open 5ire and go to `Tools` -> `New` and set the following configurations:\n\n1. Tool Key: ghidra\n2. Name: GhidraMCP\n3. Command: `python /ABSOLUTE_PATH_TO/bridge_mcp_ghidra.py`","tools":"## Available Tools\n\n1.  Decompile and analyze binaries in Ghidra (allows decompilation and analysis of binaries).\n2.  Automatically rename methods and data (provides automatic renaming functionality).\n3.  List methods, classes, imports, and exports (lists various code elements).","faq":null,"created_at":"2025-03-23T05:36:55+00:00","updated_at":"2025-03-29T00:05:16+00:00","source_url":"https://model-context-protocol.com/servers/ghidra-mcp-llm-reverse-engineering-server","related_articles":[]}