Skip to content
Back to search

x64dbgMCP

Model Context Protocol for x64dbg & x32dbg

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/wasdubya--x64dbgmcp/badge.svg)](/listings/wasdubya--x64dbgmcp)

HTML

<a href="/listings/wasdubya--x64dbgmcp"><img src="/api/listings/wasdubya--x64dbgmcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 88 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. <h1 align="center"><b> x64dbg MCP </b> </h1>
  2. <p align="center">
  3. <a href="https://www.buymeacoffee.com/WASDUBYA" target="_blank">
  4. <img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="120"/>
  5. </a>
  6. </p>
  7. <p align="center">
  8. <img src="https://img.shields.io/github/stars/wasdubya/x64dbgmcp?style=social" />
  9. <img src="https://img.shields.io/github/downloads/WASDUBYA/x64dbgmcp/total?style=social" />
  10. </p>
  11. <div align="center"> An MCP server that can bridge various LLMS (Claude and Cursor tested) with the x64dbg debugger, providing direct access to debugging applications through prompts. </div>
  12. <h2 align="center"> <b>Features (Build from Source for Latest)</b> </h2>
  13. - **40+ x64dbg SDK Tools** - Provides access to almost every single debugging feature given by the SDK for smart debugging.
  14. - **Cross-Architecture Support** - Works with both x64dbg and x32dbg.
  15. - **API Compatibility** - Runable from cmd using the args given in the python file.
  16. <br><br>
  17. <h2> Quick Setup in 3 Steps </h2>
  18. 1. **Download Plugin**
  19. - Grab .dp64 or .dp32 from this repo's build/release directory
  20. - Copy to your local: [x64dbg_dir]/release/x64/plugins/
  21. 2. **Configure Claude Desktop**
  22. - Copy x64dbgmcp.py from this repos src directory, ensure to ```pip install mcp requests```
  23. - Update local claude_desktop_config.json with path to x64dbgmcp.py
  24. ```json
  25. {
  26. "mcpServers": {
  27. "x64dbg": {
  28. "command": "Path\\To\\Python",
  29. "args": [
  30. "Path\\to\\x64dbg.py"
  31. ]
  32. }
  33. }
  34. }
  35. ```
  36. 3. **Start Debugging**
  37. - Launch x64dbg
  38. - Start Claude Desktop
  39. - Check plugin loaded successfully (ALT+L in x64dbg for logs)
  40. <br>
  41. <h2> Build from Source for Latest Features! </h2>
  42. ** CMake and MSVC should be installed and on PATH **
  43. - git clone https://github.com/wasdubya/x64dbgmcp
  44. - cd x64dbgmcp
  45. - cmake -S . -B build (will resolve the pluginsdk automatically, so no need to worry about dependencies.)
  46. - cmake --build build --target all_plugins --config Release (will build both 32 and 64 bit versions of the plugin)
  47. **TIP**
  48. 1. Use the --target all_plugins argument to specify both x32 and x64, otherwise use -A flag to distinguish between either x64 or Win32 build. For example 32 bit build would be:
  49. - cmake -S . -B build32 -A Win32 -DBUILD_BOTH_ARCHES=OFF
  50. - cmake --build build32 --config Release
  51. <br>
  52. <h2> Usage Examples </h2>
  53. **Register inspection:**
  54. ```
  55. "What's the current value of RAX and RIP registers?"
  56. ```
  57. **Pattern searching:**
  58. ```
  59. "Find the pattern '48 8B 05' in the current module"
  60. ```
  61. **Example from [Cursor](https://github.com/Wasdubya/x64dbgMCP/blob/main/Cursor.Opus4.5-Find-PEB.md)**
  62. <br>
  63. <br>
  64. **More Usage**
  65. - If you do not provide the model you are working with context of where your exe is, it wont have the capabiltiy to restart the binary if it crashes or hangs. So, provide it with the full path of the binary so it can call the CMDEXEC function like "init C:\Absolute\Path\to\EXE".
  66. - GetModuleBase is the best place to start for models so it will query for the right addresses, x64dbg will not respond to addresses out of range.
  67. - If large token count is a concern, try [Headroom](https://github.com/chopratejas/headroom). It's a proxy to put in-between the plugin and your LLM MCP python agent.
  68. <br>
  69. <br>
  70. <div align="center"> <b>Enjoy Automated Debugging!</b> </div>

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.