What is Ghostmcp?
Ghostmcp is an injectable MCP (Model Context Protocol) server for reverse engineering on Windows. It combines memory inspection, disassembly, debugging, and code injection into a single tool that any MCP-compatible AI client can use. Users inject it into a target process and interact through natural conversation.
How to use Ghostmcp?
Inject Ghostmcp into the target process and use an MCP-compatible AI client to issue natural-language commands. Launch one or all servers via the scripts/launch-mcp.ps1 script (agent listens on port 13338, core uses stdio, analysis/static on TCP). Destructive operations require a safety token: call safety_request_token and include the returned token_id.
Key features of Ghostmcp
- Memory read/write with automatic type conversion
- AOB and YARA pattern scanning
- Full memory dump with PE reconstruction
- Cheat Engine-style value and pointer scanning
- Disassembly (Capstone) and decompilation (Hex-Rays style)
- Software and hardware breakpoints, single stepping
- Code injection and shellcode execution
- Win32 API call tracing with argument decoding
- AI‑friendly summaries, debugging sessions, and vulnerability hints
Use cases of Ghostmcp
- Find and freeze a game's health value at a constant number
- Locate all functions referencing a specific string in memory
- Set a breakpoint on system calls and trigger notifications when hit
- Disassemble a function at a given address and explain its logic
- Discover all pointer paths leading to a particular address
Comments