Data as of
ghidraMCP for Windsurf: Setup & Config
ghidraMCP connects Windsurf to core Ghidra analysis features through a plugin and Python bridge.
What you can do with ghidraMCP in Windsurf
Choose it to bring Ghidra decompilation and renaming into an assistant workflow through a plugin bridge.
- Rename methods and data during reverse-engineering analysis.
- Connect a running Ghidra instance to Claude Desktop or Cline.
Before you start: ghidraMCP in Windsurf
- 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 Windsurf configuration
Choose Windsurf configuration scope
For ghidraMCP, open macOS/Linux: ~/.codeium/windsurf/mcp_config.json Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json. Merge into mcpServers; remote endpoints use serverUrl.
Add ghidraMCP to Windsurf
Use the GhidraMCP entry below in mcpServers. Keep ghidraMCP's documented stdio connection fields and your other Windsurf entries.
Check ghidraMCP in Windsurf
ghidraMCP: Refresh MCP in Windsurf settings and inspect Cascade’s tools.
Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"GhidraMCP": {
"command": "python",
"args": [
"/ABSOLUTE_PATH_TO/bridge_mcp_ghidra.py",
"--ghidra-server",
"http://127.0.0.1:8080/"
],
"env": {}
}
}
}Troubleshooting ghidraMCP in Windsurf
- Check python (Python) on the machine running Windsurf's MCP integration for ghidraMCP; refresh MCP and inspect Cascade's tools.
- ghidraMCP uses stdio here: Windsurf 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 Windsurf troubleshooting lives in the /clients/windsurf guide.
ghidraMCP — details. Windsurf guide