Back to Home
r1chard-lyu icon

systracesuite

by r1chard-lyu

Overview

Systracesuite is an MCP server designed to expose Linux tracing and debugging capabilities (e.g., eBPF, bpftrace, perf, ftrace, syscall tracing) to LLMs and autonomous agents for system inspection, profiling, and debugging.

Installation

Run Command
uv run --with fastmcp fastmcp run <ABS_PATH_TO_SYSTRACESUITE>/mcp_server/main.py

Environment Variables

  • BPFTRACE_TOOLS_DIR

Security Notes

The server's core functionality relies on granting passwordless sudo privileges to the `bpftrace` command via a `setup.sh` script, which modifies `/etc/sudoers.d`. This is a critical security risk if enabled in production environments or on shared systems, as `bpftrace` can interact deeply with the kernel and potentially expose or exploit system vulnerabilities if misused. While the `exec_bpftrace_tool` function attempts to prevent path traversal for script execution, the underlying power granted to `bpftrace` remains a significant concern. The README explicitly warns against enabling this in production.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2025-12-04

Tags

eBPFbpftraceLinux TracingSystem ObservabilityAI Agent Tools