Short answer: at the commit we checked, bethington/ghidra-mcp scores 100/100 (grade A): 248 of 253 tools carry an MCP safety hint, 30 of 30 destructive-like tools say they change things, and its README has no npx/uvx-style launch line. This is a hygiene grade, not a security audit.
What we checked
| Repository | bethington/ghidra-mcp · Apache-2.0 · Java · about 6,371 GitHub stars |
|---|---|
| Commit checked | 5f6c416, scanned 14–15 Nov 2026, hand-checked 17 Nov 2026. The repository has had 27 commits since then (as of 26 Nov 2026), so the current code may score differently. |
| Tools the server registers | 253 |
| Tools with any MCP safety hint | 248 of 253 |
| Destructive-like tools (delete, write, run, execute…) | 30, of which 30 carry a hint |
| README install line | has no npx/uvx-style launch line |
| Config findings | none |
How the score adds up
| Start | 100 |
|---|---|
| Score | 100 / 100 → grade A |
Rules in full: methodology. A–F: A 90+, B 80–89, C 70–79, D 60–69, F below 60.
Evidence from the code
- How tools are registered: MCP server is the Python bridge (python/bridge_mcp_ghidra). Its dynamic tools come from the Java plugin's /mcp/schema, which is built from @McpTool(path=...) annotations in src/main/java (217 annotated routes, 1 internal=true hidden) + 3 hand-coded ManualToolDescriptors (check_connection, mcp/health, mcp/schema; open_project merges into its annotated twin) = 219, matching tests/endpoints.json (220 incl. 1 internal). Bridge name = sanitized path. Plus 8 static bridge tools (static_tools.py), 22 WinDbg debugger proxy tools (debugger.py, opt-in), 5 facade tools (facade.py, facade/hybrid mode). Java /import_file is shadowed by the static import_file (registry.py:337), so 218+8+22+5 = 253.
- How safety hints are set: decorator arg + registry: @McpTool(access=ToolAccess.X) -> AnnotationScanner emits read_only/destructive -> registry._tool_annotations maps to ToolAnnotations passed to mcp.tool(annotations=...); static/debugger tools pass READ_ONLY_TOOL/WRITE_TOOL/DESTRUCTIVE_TOOL constants
src/main/java/com/xebyte/core/McpTool.java:46 ToolAccess access() -> becomes readOnlyHint/destructiveHintsrc/main/java/com/xebyte/core/AnnotationScanner.java:860 access != UNSPECIFIED -> schema gets read_only/destructivepython/bridge_mcp_ghidra/schema.py:110 read_only/destructive carried into tool_defpython/bridge_mcp_ghidra/registry.py:376 mcp.tool(name, description, annotations=_tool_annotations(tool_def)) ; :395 _tool_annotations returns READ_ONLY/WRITE/DESTRUCTIVE_TOOLpython/bridge_mcp_ghidra/config.py:20-22 ToolAnnotations constants with readOnlyHint+destructiveHintpython/bridge_mcp_ghidra/static_tools.py:216-554 8 @mcp.tool(annotations=...) toolspython/bridge_mcp_ghidra/debugger.py:184-523 22 @_debugger_tool(annotations=...) tools (off unless GHIDRA_DEBUGGER_URL/TOOLS set)python/bridge_mcp_ghidra/facade.py:388-543 5 @_facade_tool() tools with no annotations (ghidra_status/connect/search/describe/call)
Using it more safely
- Give it the least access it needs: a scoped token or a test account, not your admin credentials, and only the folders or projects the task needs.
- Check your own config for unpinned servers, broad folders and hard-coded tokens with the free MCP config checker (runs in your browser).
Shipping an AI agent that uses MCP servers and facing a security review? See how to answer the MCP question, or get your agent reviewed.
Compare with similar servers
Category: Reverse engineering & security MCP servers (all grades side by side, plus the safer setup for this kind of server).
- LaurieWired/GhidraMCP grade B
- OpenOSINT/OpenOSINT grade C
- mrexodia/ida-pro-mcp grade D
- Wh0am123/MCP-Kali-Server grade D
- qybaihe/bla grade D
- cyberkaida/reverse-engineering-assistant grade D
For the maintainers
Add the badge to your README (it links back to this page, and updates when we re-check):
[](https://aireviewready.in/mcp/servers/bethington-ghidra-mcp/)
Fixed something, or think we got it wrong? Ask for a re-check and name the commit. We reply within 7 days. Code-level security issues are never published here; they're reported privately first.