hyperdbg-mcp

hyperdbg-mcp

Exposes the HyperDbg hypervisor-assisted, ring-0 debugger to LLM agents, enabling low-level debugging operations with safety features like read-only mode and confirmation gates.

Category
Visit Server

README

hyperdbg-mcp

An MCP server that exposes HyperDbg

  • the hypervisor-assisted, ring-0 debugger - to LLM agents.

Status: early development (v0.0.1). The design is documented in docs/DESIGN.md. End-to-end operation requires a Windows host with HyperDbg installed and its driver loaded; the FFI layer has not yet been validated against a live libhyperdbg.dll.

How it works

The server loads libhyperdbg.dll via ctypes (there is no HTTP API) and registers a set of MCP tools that map to HyperDbg's command surface. Command text output is captured through HyperDbg's message callback (see docs/DESIGN.md §2).

MCP client ──stdio──► hyperdbg-mcp (Python) ──ctypes──► libhyperdbg.dll ──► driver + VMM

Safety

HyperDbg operates at ring-0; a bad write can bugcheck the host, and memory/disassembly read back from the target may be adversarial (you may be debugging malware). The server therefore:

  • annotates read-only vs destructive tools (ToolAnnotations);
  • requires per-call confirmation (MCP elicitation) for destructive tools;
  • supports a hard --read-only mode that does not register write/script tools at all;
  • wraps all debuggee-sourced data in an untrusted-data envelope so it is treated as inert;
  • writes an append-only audit log of every call.
# read-only, safest
hyperdbg-mcp --read-only

# full access (destructive tools gated behind confirmation)
hyperdbg-mcp --lib-path C:\path\to\libhyperdbg.dll --audit-log audit.jsonl

# mock backend - exercise the full tool surface with no HyperDbg / DLL
hyperdbg-mcp --mock

# Debugger Mode - connect to a remote debuggee over serial (halts it on connect)
hyperdbg-mcp --remote-com com4 --baudrate 115200

Modes. Default is local VMI (single machine, debug via the local hypervisor). Debugger Mode (--remote-com / --remote-pipe / --remote-net) connects to a separate debuggee machine and, by default, halts it on connect - which is what gives a valid CPU context for register/memory reads and stepping. (Register reads are not meaningful in local VMI mode with nothing paused.)

Tools

Read (always available): hd_mem_read, hd_reg_read_all, hd_reg_read, hd_eval, hd_disasm, hd_list_modules, hd_status. Execution control (available in --read-only): hd_exec_continue, hd_exec_pause, hd_exec_step. Target-mutating (full mode only, confirmation-gated): hd_exec_command, hd_bp_set, hd_mem_write, hd_reg_write, hd_script_run.

Development

pip install -e ".[dev]"
pytest
ruff check .

Roadmap

  • Validate FFI against a live HyperDbg host.
  • Streamable-HTTP transport + progress streaming for long Intel-PT / LBR traces.
  • Symbol-aware helpers; richer structured outputs.

License

GPL-3.0-or-later, matching the HyperDbg project.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured