An MCP server exposing Inspektor Gadget eBPF telemetry for AI-driven Kubernetes workload debugging and root cause analysis.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Ig MCP Server.
ig_deployDeploy, upgrade, undeploy, or check the status of Inspektor Gadget on your cluster
ig_gadgetsList running gadgets, retrieve results from background runs, or stop gadgets
The Inspektor Gadget MCP Server bridges Inspektor Gadget's low-level kernel observability with LLMs through the Model Context Protocol (MCP). It turns raw eBPF-powered telemetryβDNS traces, TCP connections, process executions, file activity, syscalls, and moreβinto actionable intelligence that AI agents can reason over, enabling data-driven root cause analysis directly from your IDE or AI chat interface.
gadget_trace_dns, gadget_trace_tcp), with parameters, field descriptions, and filtering automatically generated from gadget metadata.Kubernetes troubleshooting is hard. Traditional tools give you logs, metrics, and high-level resource statesβbut when things go wrong at the network, syscall, or kernel level, there's a gap between what you can see and what's actually happening.
Inspektor Gadget fills this gap. It provides modular observability units called gadgetsβeBPF programs that hook into the Linux kernel to collect low-level telemetry data in real time. Gadgets can trace DNS queries, TCP connections, process executions, file opens, signals, OOM kills, syscalls, and much more, all enriched with Kubernetes metadata (pod, namespace, container, node).
This kernel-level data is a superpower, but it's also dense. A single 10-second DNS trace can produce hundreds of events across dozens of pods. Manually sifting through raw telemetry to correlate events, spot anomalies, and identify root causes requires deep expertise and significant time.
LLMs are the missing piece. By exposing Inspektor Gadget through MCP, AI agents can:
The AI selects relevant gadgets, collects data, and analyzes resultsβall in a single conversational flow:
https://github.com/user-attachments/assets/0f146943-3bf9-4c4d-90c8-76a101d7a4b4
The LLM autonomously runs
gadget_tcpdumpandgadget_snapshot_socketto capture TCP connection RESET events, then analyzes the enriched telemetry to identify the exact connection that was refused, correlating it with the pod and container metadata to provide a precise root cause analysis.
kubeconfig fileThe IG MCP Server can be installed via Docker, binary, or deployed directly into your Kubernetes cluster. See the Installation Guide for full instructions, client setup (VS Code, Copilot CLI, Claude Code), and all configuration options.
| Tool | Description |
|---|---|
ig_deploy | Deploy, upgrade, undeploy, or check the status of Inspektor Gadget on your cluster |
| Tool | Description |
|---|---|
ig_gadgets | List running gadgets, retrieve results from background runs, or stop gadgets |
Each gadget is registered as its own MCP tool, prefixed with gadget_, with full parameter support. The available gadgets depend on your configuration:
| Category | Example Tools | What they do |
|---|---|---|
| Tracing | gadget_trace_dns, gadget_trace_tcp, gadget_trace_exec, gadget_trace_open, gadget_trace_signal, gadget_trace_bind | Capture real-time events (DNS queries, TCP connections, process executions, file opens, signals, socket bindings) |
| Snapshots | gadget_snapshot_process, gadget_snapshot_socket | Point-in-time snapshots of running processes or open sockets |
| Top | gadget_top_file, gadget_top_tcp, gadget_top_blockio | Periodically report top resource consumers (file I/O, TCP traffic, block I/O) |
| Profiling | gadget_profile_blockio, gadget_profile_tcprtt | Profile block I/O latency or TCP round-trip times |
| Security | gadget_trace_capabilities, gadget_advise_seccomp, gadget_audit_seccomp, gadget_trace_lsm | Trace capability checks, suggest/audit seccomp profiles, trace LSM hooks |
| Advanced | gadget_traceloop, gadget_trace_oomkill, gadget_trace_ssl, gadget_deadlock | Syscall flight recorder, OOM kill tracing, SSL/TLS capture, deadlock detection |
Each tool supports foreground (default) and background run modes, field-level output filtering, and produces structured JSON output that the LLM automatically summarizes.
β οΈ Context window note: Every registered MCP tool consumes part of the LLM's context window β its tool definition, parameter schema, and field descriptions all count toward the limit. If you're working with a model that has a smaller context window, or you want to maximize the space available for gadget output and analysis, use
-gadget-imagesto load only the gadgets you need instead of discovering all available gadgets via Artifact Hub. For example,-gadget-images=trace_dns:latest,trace_tcp:latestregisters just two tools instead of 30+.
Control which gadgets are available:
-gadget-discoverer=artifacthub)-gadget-images=trace_dns:latest,trace_tcp:latest)See INSTALL.md for all configuration options.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/inspektor-gadget-ig-mcp-server)<a href="https://allmcps.com/mcp/inspektor-gadget-ig-mcp-server"><img src="https://allmcps.com/api/badge/inspektor-gadget-ig-mcp-server?style=directory" alt="Ig MCP Server on AllMCPs" /></a>