Expand description
re-ghidra-qwen-mcp — the extension’s MCP server, spoken over stdio.
Qwen Code launches this binary via mcpServers in qwen-extension.json and
talks JSON-RPC to it on stdin/stdout. It owns no reverse-engineering logic:
the server, its 19 tools, the config contract and the embedded Ghidra worker
all live in the shared ghidra-mcp crate, so the cc and agy plugins front
exactly the same code. What this binary contributes is the Qwen-Code-shaped
part — reading .qwen/re-ghidra-mcp-qwen.local.md as the lowest config layer.
Two rules follow from stdio being the protocol channel, and both are easy to get wrong:
- stdout belongs to the protocol.
servelogs only to its per-instance file log; usage and configuration errors go to stderr. - The process is long-lived. It stays up until Qwen Code closes the pipe.
Functions§
- main 🔒