# Inspektor Gadget

Connects Inspektor Gadget eBPF telemetry with AI coding agents to diagnose container and Kubernetes issues directly in chat.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: inspektor-gadget
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/inspektor-gadget/ig-mcp-server
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/inspektor-gadget

## What it does

This server translates low-level Linux eBPF telemetry into distinct MCP tools. Functions like `gadget_trace_dns` and `gadget_trace_tcp` expose network queries, process activity, and file events enriched with pod and namespace metadata. It supports foreground inspection alongside background data capture.

AI models use these tools to isolate cluster failures. The assistant cross-references DNS lookup failures, socket resets, and memory terminations without manual log parsing.

Production clusters can run under a dedicated read-only mode to prevent unintended changes. You must supply a valid `kubeconfig` and have Docker available before starting the server.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- Pinpoint failed DNS resolutions and refused TCP handshakes inside cluster pods
- Capture kernel syscalls and file operations via eBPF probes
- Investigate container memory terminations and anomalous process spawns
- Deploy and stop low-level telemetry collectors directly from your coding assistant

## Example prompts
- Check why DNS lookups are failing in the default namespace
- Trace active TCP connections for the auth-service container
- Inspect recent pod drops and show any refused socket connections

## Similar
- [mcp](https://affpapa.org/en/nevibecode/mcp/kubeshark-mcp.md) — MCP server · ★ 12142 repo stars
- [beyla](https://affpapa.org/en/nevibecode/skills/beyla.md) — skill · 5200 installs
- [pyroscope](https://affpapa.org/en/nevibecode/skills/pyroscope.md) — skill · 5100 installs
- [gke-basics](https://affpapa.org/en/nevibecode/skills/gke-basics.md) — skill · 13953 installs
- [aws-containers](https://affpapa.org/en/nevibecode/skills/aws-containers.md) — skill · 10800 installs
- [ebpf-observability](https://affpapa.org/en/nevibecode/skills/ebpf-observability.md) — skill · 355 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
