1
Add it to Claude Code
claude mcp add detrix -- detrix mcpEnvironment Variables
Set these before running Detrix.
VariableDescriptionRequired
DETRIX_CONFIGPath to the detrix.toml configuration file for blacklist/whitelist settings.NoAvailable Tools (2)
Once configured, Detrix gives your AI agent access to:
find_variableLocates a variable in the running container or process to set an observation point.variable_namecontextobserveCaptures values of variables at specific points without pausing or restarting the application.targetconditionTry It Out
After setup, try these prompts with your AI agent:
→Find the variable responsible for the inflated revenue calculation in the order-service container.
→Set an observation point on the user_id variable in the authentication module and report back when it changes.
→Monitor the transaction amount in the payment processing function and alert me if it exceeds $1000.
→List all active observation points currently set in the running Go service.
Alternative installation methods
Shell Script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/flashus/detrix/releases/latest/download/detrix-installer.sh | shKeep this setup from going cold
Save the docs, env vars, and workflow around Detrix in Conare so Claude Code, Codex, and Cursor remember it next time.