← Back to Detrix

Install Detrix

Pick your client, copy the command, done.

1

Add it to Claude Code

claude mcp add detrix -- detrix mcp

Environment Variables

Set these before running Detrix.

VariableDescriptionRequired
DETRIX_CONFIGPath to the detrix.toml configuration file for blacklist/whitelist settings.No

Available 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_namecontext
observeCaptures values of variables at specific points without pausing or restarting the application.
targetcondition

Try 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 | sh
Conare · memory for coding agents

Keep 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.

Remember this setup$npx conare@latest