Detrix MCP Server Adds Runtime Debugging to AI Coding Agents

What Detrix Does
Detrix is an MCP (Model Context Protocol) server that connects AI coding agents to your application's debugger via DAP (Debug Adapter Protocol). It allows agents to observe running code without stopping execution, using logpoints—breakpoints that capture values without pausing.
Key Features
- Observe any variable at any line without specifying line numbers (
find_variable) - Capture stack traces, memory snapshots, and evaluate expressions
- Throttle, sample, or rate-limit captures on hot paths
- Observations expire automatically—nothing leaks into production
- Runs locally by default—no cloud dependency, no data leaves your machine
- Works in Docker/cloud—agent connects to wherever the daemon is, no VPN needed
Example Use Case
In the source example, a Go microservice in Docker was reporting wildly inflated revenue. The agent used Detrix to:
- Read the source code and spot dead unit-conversion code
- Wake the service via Detrix
- Observe
txn.Amount,txn.Unit, andtotalvariables in the running container - Identify that
txn.Amount = 8957withtxn.Unit = "cents"was being summed as dollars instead of converting to $89.57 - Fix the client code and report the API contract change upstream
Setup
For Claude Code:
brew install flashus/tap/detrix && detrix init && claude mcp add --scope user detrix -- detrix mcp
For any other MCP-compatible agent, add to .mcp.json:
{
"mcpServers": {
"detrix": {
"command": "detrix",
"args": ["mcp"]
}
}
}
Add one line to your app:
import detrix
detrix.init(name="my-app") # sleeps until the agent needs it
Claude Code Skill
There's a Claude Code skill that changes Claude's default debugging behavior—once installed, Claude reaches for Detrix before suggesting print statements. It also has enable_from_diff: point it at a git diff with print statements someone already added and it converts them to observations automatically.
Install the skill:
mkdir -p ~/.claude/skills/detrix && cp skills/detrix/* ~/.claude/skills/detrix/
GitHub: https://github.com/flashus/detrix
📖 Read the full source: r/LocalLLaMA
👀 See Also

ClawHost Open-Source OpenClaw One-Click Deploy Hits 200+ GitHub Stars
ClawHost, an open-source tool for one-click OpenClaw installation with full server access and control, has reached 200+ GitHub stars. The project addresses issues with unstable commercial wrappers by providing a free, self-hostable solution.

ClawCall: OpenClaw skill for AI phone calls with bridge mode
ClawCall is an OpenClaw skill that enables AI agents to make actual phone calls, navigate menus, wait on hold, and conduct conversations. It includes a bridge mode that patches you in when a human picks up.

APEX Testing Benchmark Results: Qwen 3.5 Performance on Real Coding Tasks
APEX Testing benchmark results show Qwen 3.5 models' performance on 70 real GitHub coding tasks, with the 397B version dropping to 1194 ELO on master-level tasks while GLM-4.7 quantized leads local models at 1572 ELO.

Claudraband: Terminal Wrapper for Persistent Claude Code Sessions
Claudraband wraps the official Claude Code TUI in a controlled terminal to enable resumable workflows, remote session control via HTTP daemon, and ACP server integration for alternative frontends like Zed or Toad. It requires Node.js/Bun, authenticated Claude Code, and tmux for first-class local workflows.