# Gdbstub MCP

> Gdbstub MCP is an open-source MCP server. Debug kernels through QEMU's gdbstub with no gdb binary - and explain triple faults. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/0xmortuex/gdbstub-mcp
- **MCP Registry name:** io.github.0xmortuex/gdbstub-mcp
- **Listing updated:** 2026-11-13

## About

Debug kernels through QEMU's gdbstub with no gdb binary - and explain triple faults.

## Install

### Claude Code (Terminal)

```sh
claude mcp add gdbstub-mcp -- uvx gdbstub-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "gdbstub-mcp": {
      "command": "uvx",
      "args": [
        "gdbstub-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gdbstub-mcp": {
      "command": "uvx",
      "args": [
        "gdbstub-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "gdbstub-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "gdbstub-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "gdbstub-mcp": {
      "command": "uvx",
      "args": [
        "gdbstub-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "gdbstub-mcp": {
      "command": "uvx",
      "args": [
        "gdbstub-mcp"
      ]
    }
  }
}
```

## FAQ

### Is Gdbstub MCP free?

Yes. Gdbstub MCP is open source, so you can use and self-host it for free.

### How do I add Gdbstub MCP to Claude Code?

Run this command in your terminal: claude mcp add gdbstub-mcp -- uvx gdbstub-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/gdbstub-mcp
