Rr MCP Server

MCP server for orchestrating multi-process rr debugging sessions

Local serverstdioPython

What is the Rr MCP Server?

MCP server for orchestrating multi-process rr debugging sessions

The short version

MCP (Model Context Protocol) server for orchestrating multi-process rr debugging sessions.

rr-mcp enables AI agents (like Claude) to debug multi-process applications using rr's record-and-replay capabilities. It provides:

What it needs from you

  • Linux (rr only runs on Linux) - Python 3.11+ - rr installed and in PATH - An rr recording to debug

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
traces_listList all available rr recordings on the system
trace_infoGet metadata about a trace (creation time, binary, etc.)
trace_processesList processes in a trace with PIDs and exec info
session_createCreate a replay session for a specific process. Supports pid (exec'd processes) and fork_pid (forked-without-exec children)
session_listList all active replay sessions
session_closeEnd a session and free its resources
run_to_eventJump to a specific rr event number
interruptStop a running program
breakpoint_setSet breakpoints by function, file:line, or address. Supports conditional (condition) and temporary breakpoints. Pending breakpoints are enabled automatically for unloaded code
breakpoint_deleteDelete a breakpoint by number
breakpoint_listList all breakpoints with their state
watchpoint_setBreak on memory writes, reads, or access to an expression
catchCatchpoints for C++ throw/catch, syscalls (optionally filtered by name), and signals
backtraceCall stack with optional full mode (includes locals per frame)

How to install the Rr MCP Server

{
  "mcpServers": {
    "rr": {
      "command": "uvx",
      "args": ["rr-mcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Linux (rr only runs on Linux) - Python 3.11+ - rr installed and in PATH - An rr recording to debug

Example prompts to try

  • “Use Rr to traces list.”
  • “Use Rr to trace info.”
  • “Use Rr to trace processes.”

Frequently asked questions

MCP server for orchestrating multi-process rr debugging sessions Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.