mcp/inspektor-gadget

Verified Publisher

By mcp

Updated 1 day ago

AI interface to troubleshoot and observe Kubernetes/Container workloads

Image
Machine learning & AI
2

8.5K

mcp/inspektor-gadget repository overview

Inspektor Gadget MCP Server

AI interface to troubleshoot and observe Kubernetes/Container workloads.

What is an MCP Server?

MCP Info

Image Building Info

AttributeDetails
Dockerfilehttps://github.com/inspektor-gadget/ig-mcp-server/blob/32e48f93ef8486c1918989248671843f3f27de2f/Dockerfile
Commit32e48f93ef8486c1918989248671843f3f27de2f
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/inspektor-gadget --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceApache License 2.0

Available Tools (37)

Tools provided by this ServerShort Description
gadget_advise_networkpolicyGenerate network policies according to the K8s traffic
gadget_advise_seccompSuggest a seccomp profile
gadget_audit_seccompAudit syscalls according to the seccomp profile
gadget_bpfstatsGet memory and CPU usage of eBPF programs and Gadgets
gadget_deadlockuse uprobe to trace pthread_mutex_lock and pthread_mutex_unlock in libc.so and detect potential deadlocks
gadget_fdpassTrace file descriptor passing via a unix socket (SCM_RIGHTS)
gadget_fsnotifyenrich inotify or fanotify events
gadget_profile_blockioProfile block I/O operations
gadget_profile_cpuProfile CPU
gadget_profile_qdisc_latencyprofile network scheduler latency
gadget_profile_tcprttProfile TCP connections' Round-Trip Time (RTT)
gadget_snapshot_processShow running processes
gadget_snapshot_socketShow TCP and UDP sockets
gadget_tcpdumpCapture network packets
gadget_top_blockioPeriodically report input/output block device activity.
gadget_top_filePeriodically report read/write activity by file
gadget_top_processPeriodically report process statistics
gadget_top_tcpPeriodically report tcp send receive activity by connection
gadget_trace_bindtrace stream socket binding syscalls
gadget_trace_capabilitiestrace security capability checks
gadget_trace_dnstrace dns requests and responses
gadget_trace_exectrace process executions
gadget_trace_fsslowerTrace open, read, write and fsync operations slower than a threshold
gadget_trace_lsma strace for LSM tracepoints
gadget_trace_mallocuse uprobe to trace malloc and free in libc.so
gadget_trace_mounttrace mount syscalls
gadget_trace_oomkilltrace OOM killer
gadget_trace_opentrace open files
gadget_trace_signaltrace signal
gadget_trace_snitrace sni
gadget_trace_ssluse uprobe to capture data on read/recv or write/send functions of OpenSSL, GnuTLS, NSS and Libcrypto
gadget_trace_tcpmonitor connect, accept and close events of TCP connections
gadget_trace_tcpdroptrace TCP packets dropped by the kernel
gadget_trace_tcpretranstrace TCP retransmissions
gadget_traceloopsyscalls flight recorder
ig_deployManage the deployment of Inspektor Gadget on target system
ig_gadgetsManage running gadgets

Tools Details

Tool: gadget_advise_networkpolicy

Generate network policies according to the K8s traffic

Tool: gadget_advise_seccomp

Suggest a seccomp profile

Tool: gadget_audit_seccomp

Audit syscalls according to the seccomp profile

Tool: gadget_bpfstats

Get memory and CPU usage of eBPF programs and Gadgets

Tool: gadget_deadlock

use uprobe to trace pthread_mutex_lock and pthread_mutex_unlock in libc.so and detect potential deadlocks

Tool: gadget_fdpass

Trace file descriptor passing via a unix socket (SCM_RIGHTS)

Tool: gadget_fsnotify

enrich inotify or fanotify events

Tool: gadget_profile_blockio

Profile block I/O operations

Tool: gadget_profile_cpu

Profile CPU

Tool: gadget_profile_qdisc_latency

profile network scheduler latency

Tool: gadget_profile_tcprtt

Profile TCP connections' Round-Trip Time (RTT)

Tool: gadget_snapshot_process

Show running processes

Tool: gadget_snapshot_socket

Show TCP and UDP sockets

Tool: gadget_tcpdump

Capture network packets

Tool: gadget_top_blockio

Periodically report input/output block device activity. This gadget requires Linux Kernel Version 6.5+

Tool: gadget_top_file

Periodically report read/write activity by file

Tool: gadget_top_process

Periodically report process statistics

Tool: gadget_top_tcp

Periodically report tcp send receive activity by connection

Tool: gadget_trace_bind

trace stream socket binding syscalls

Tool: gadget_trace_capabilities

trace security capability checks

Tool: gadget_trace_dns

trace dns requests and responses

Tool: gadget_trace_exec

trace process executions

Tool: gadget_trace_fsslower

Trace open, read, write and fsync operations slower than a threshold

Tool: gadget_trace_lsm

a strace for LSM tracepoints

Tool: gadget_trace_malloc

use uprobe to trace malloc and free in libc.so

Tool: gadget_trace_mount

trace mount syscalls

Tool: gadget_trace_oomkill

trace OOM killer

Tool: gadget_trace_open

trace open files

Tool: gadget_trace_signal

trace signal

Tool: gadget_trace_sni

trace sni

Tool: gadget_trace_ssl

use uprobe to capture data on read/recv or write/send functions of OpenSSL, GnuTLS, NSS and Libcrypto

Tool: gadget_trace_tcp

monitor connect, accept and close events of TCP connections

Tool: gadget_trace_tcpdrop

trace TCP packets dropped by the kernel

Tool: gadget_trace_tcpretrans

trace TCP retransmissions

Tool: gadget_traceloop

syscalls flight recorder

Tool: ig_deploy

Manage the deployment of Inspektor Gadget on target system

ParametersTypeDescription
actionstring optionalLifecycle action to perform: deploy(deploy Inspektor Gadget), undeploy(undeploy Inspektor Gadget), upgrade(upgrade Inspektor Gadget), is_deployed(check if Inspektor Gadget is deployed)
chart_versionstring optionalVersion of the Inspektor Gadget Helm chart to deploy, only set if user explicitly specifies a version

This tool may perform destructive updates.

This tool interacts with external entities.


Tool: ig_gadgets

Manage running gadgets

ParametersTypeDescription
actionstring optionalLifecycle action to perform: list_running_gadgets(list running gadgets), stop_gadget(stop a running gadget using its ID), get_results(get results of a running gadget using its ID, only available before stopping it)
gadget_idstring optionalID of the gadget to stop or get results from, required for stop_gadget and get_results

This tool is read-only. It does not modify its environment.

This tool may perform destructive updates.

This tool interacts with external entities.


Use this MCP Server

{
  "mcpServers": {
    "inspektor-gadget": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "/local-directory:/local-directory",
        "mcp/inspektor-gadget",
        "-gadget-discoverer=artifacthub",
        "-gadget-images={{inspektor-gadget.gadget-images}}"
      ]
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Install from MCP:Hub

Tag summary

Content type

Image

Digest

sha256:a54c99a50

Size

37.5 MB

Last updated

1 day ago

docker pull mcp/inspektor-gadget

This week's pulls

Pulls:

1,436

Last week