1. Conduid
  2. Files
  3. Detrix
MCP server · Files

Detrix

Observe any line of running code — no restarts, no code changes, production-safe

47Fair

Scored 22 hours ago · breakdown

About Detrix

Detrix is an MCP server published by flashus in the Files category: observe any line of running code — no restarts, no code changes, production-safe. Conduid read 29 tools from its source: acknowledge_events, add_metric, close_connection, create_connection, disable_group, disconnect_all and 23 more. No package is published for it, so it installs from a source checkout.

The repository has 29 stars and 5 forks, and its last commit was on 24 Aug 2026. Conduid has no tagged release on record for it. Its topics include ai-coding, dap, debugging and observability.

Install

From source
git clone https://github.com/flashus/detrix

Tools (29)

acknowledge_eventsMark system events as acknowledged/read. Use this after processing events to avoid seeing them again in unacknowledged_only queries.
add_metricAdd observation point at @file:line. USE INSTEAD of print(). Requires connection_id from create_connection.
close_connectionDisconnect from a debugpy process. Use when you're done debugging or want to release the connection.
create_connectionConnect to debugger at host:port. Returns connection_id. CALL FIRST after starting debugger. Language-specific setup: - Python: `python -m debugpy --listen HOST:PORT --wait-for-client script.py` - Go: `dlv debug --headless --listen=:PORT --api-version=2` Note: Simple variables recommended. Function calls work but BLOCK the process. - Rust: `detrix lldb-serve ./target/debug/binary --listen 127.0.0.1:PORT` Binary MUST be built with debug symbols (cargo build, NOT --release). The lldb-serve wrapper handles program launch and type formatters automatically.
disable_groupDisable all metrics in a specific group.
disconnect_allStop all local debugger adapters. Metrics remain configured. Use this to cleanly disconnect from all debug sessions.
enable_from_diffEnable metrics from git diff. Parses print/log statements and creates observation points automatically.
enable_groupEnable all metrics in a specific group.
get_configGet the current Detrix configuration as TOML.
get_connectionGet detailed information about a specific debugger connection by ID.
get_mcp_usageGet MCP tool usage statistics. Shows success rates, common errors, and workflow patterns. Use for debugging agent behavior and tuning prompts.
get_metricGet details about a specific metric by name.
get_statusGet Detrix system status including uptime, active connections, and metrics count.
inspect_fileFind correct line for metric. Returns variables at line. USE BEFORE add_metric. File Paths All file paths (observe, add_metric, inspect_file) accept **absolute or relative** paths. Relative paths are resolved against the connection's workspace_root. When the connection has a pinned build_commit, source is served from that git commit with local drift detection.
list_connectionsList all debugger connections. Optionally filter to show only active (connected) connections.
list_groupsList all metric groups with their metric counts.
list_metricsList all metrics. Filter by group or enabled status.
observeObserve a value in code. Simplest way to add metrics - auto-finds line if not specified. When the connection has a pinned build_commit, source is served from that git commit. Response includes source info (commit SHA, drift detection).
query_metricsQuery captured values by metric name or group. Returns events with timestamps.
query_system_eventsQuery system events like debugger crashes, connection changes, and metric lifecycle events. Use for catch-up after disconnect or to check what happened. Events are persisted in database for reliable retrieval.
reload_configReload configuration from the config file on disk.
remove_metricRemove metric by name. Deletes metric and historical data.
sleepSleep an app by calling its control plane /detrix/sleep endpoint. The app stops its debugger and unregisters from this Detrix server.
toggle_metricEnable/disable metric without removing. Keeps historical data.
update_configUpdate Detrix configuration with partial TOML. Only runtime-safe settings can be changed (no port/storage path changes).
update_metricUpdate an existing metric's properties (expression, group, enabled status).
validate_configValidate TOML configuration without applying it. Returns any errors found.
validate_expressionCheck if expression is safe. Prevents eval/exec/file I/O.
wakeWake an app by calling its control plane /detrix/wake endpoint. The app starts its debugger and registers with this Detrix server. Use this to start observing an application.

Security checks

6 checks have not been run yet.

Questions

About Detrix

How do I install Detrix?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Detrix safe to use with an AI agent?

Its trust score is 47 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Detrix still maintained?

Yes — the last commit was 3 months ago. The repository has 29 stars and 5 forks.

What tools does Detrix provide?

Conduid read 29 tools from the source: acknowledge_events, add_metric, close_connection, create_connection, disable_group, disconnect_all, enable_from_diff, enable_group and 21 more.