Atlas / MCP servers / eunomia-bpf / BPFtrace

BPFtraceSAFE

mcp/eunomia-bpf/bpftrace

MCP server: using eBPF to tracing your kernel

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
4 3r · 1w · 0d
Transport
stdio
License
MIT
Stars
74
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

A minimal MCP (Model Context Protocol) server that provides AI assistants with access to bpftrace kernel tracing capabilities.

Now implemented in Rust using the rmcp crate for better performance and type safety. The Python implementation is still available in the git history.

Features

  • AI-Powered Kernel Debugging: Enable AI assistants to help you debug complex Linux kernel issues through natural language - no eBPF expertise required
  • Discover System Trace Points: Browse and search through thousands of kernel probes to find exactly what you need to monitor - from system calls to network packets
  • Rich Context and Examples: Access a curated collection of production-ready bpftrace scripts for common debugging scenarios like performance bottlenecks, security monitoring, and system troubleshooting
  • Secure Execution Model: Run kernel traces safely without giving AI direct root access - MCPtrace acts as a secure gateway with proper authentication
  • Asynchronous Operation: Start long-running traces and retrieve results later - perfect for monitoring production issues that occur intermittently
  • System Capability Detection: Automatically discover what tracing features your kernel supports, including available helpers, map types, and probe types

Why MCPtrace?

Debugging kernel issues traditionally requires deep eBPF expertise. MCPtrace changes that.

By bridging AI assistants with bpftrace (the perfect eBPF tracing language), MCPtrace lets you debug complex system issues through natural conversation. Just describe what you want to observe - "show me which processes are opening files" or "trace slow disk operations" - and let AI generate the appropriate kernel traces.

AI never gets root access. MCPtrace acts as a secure gateway, and with its rich collection of example scripts and probe information, AI has everything n

Read from source at commit b6e6dae686e1OBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add mcptrace --env OPENAI_API_KEY=${OPENAI_API_KEY} -- uvx mcptrace
claude-desktop
{
  "mcpServers": {
    "mcptrace": {
      "command": "uvx",
      "args": [
        "mcptrace"
      ],
      "env": {
        "OPENAI_API_KEY": "${OPENAI_API_KEY}"
      }
    }
  }
}
03

Exposed tools (4)

3 read · 1 write · 0 destructive.

ToolRiskDescription
exec_programwrite
get_resultread
list_helpersread
list_probesread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (5)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
fastmcp
Why it matters. 1 requirement(s) not pinned with ==
Fix. pin exact versions
LOWPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
SECURITY.md:3
> ⚠️ **WARNING**: This MCP server executes system-level tracing commands with elevated privileges. Proper security configuration is CRITICAL.
LOWSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
CLAUDE.md:16
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
LOWSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
README.md:32
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
INFOInventory / provenance · inv.oversize · CWE-1104
doc/compressed_output.gif
doc/compressed_output.gif
Why it matters. 4318239 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha b6e6dae686e1full audit observations/trust-audit/mcp-server/eunomia-bpf__bpftrace.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07b6e6dae686e1SAFEB89first audit
06

Questions

What is the BPFtrace MCP server?

MCP server: using eBPF to tracing your kernel

What tools does BPFtrace expose?

4 in total: 3 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is BPFtrace safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does BPFtrace need?

It reads OPENAI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does BPFtrace run?

It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as mcptrace.

How current is this page?

The grade is for one exact copy of the source (b6e6dae686e1), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement