AI interface to troubleshoot and observe Kubernetes/Container workloads.
1.1K
36 Tools
Version 4.43 or later needs to be installed to add the server automatically
Use cases
About
AI interface to troubleshoot and observe Kubernetes/Container workloads.
Attribute | Details |
---|---|
Docker Image | mcp/inspektor-gadget |
Author | inspektor-gadget |
Repository | https://github.com/inspektor-gadget/ig-mcp-server |
Docker Image built by|Docker Inc.
Docker Scout Health Score| Verify Signature|
COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/inspektor-gadget --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
Licence|Apache License 2.0
Tools provided by this Server | Short Description |
---|---|
gadget_advise_networkpolicy | Generate network policies according to the K8s traffic |
gadget_advise_seccomp | Suggest a seccomp profile |
gadget_audit_seccomp | Audit syscalls according to the seccomp profile |
gadget_bpfstats | Get memory and CPU usage of eBPF programs and Gadgets |
gadget_deadlock | use uprobe to trace pthread_mutex_lock and pthread_mutex_unlock in libc.so and detect potential deadlocks |
gadget_fdpass | Trace file descriptor passing via a unix socket (SCM_RIGHTS) |
gadget_fsnotify | enrich inotify or fanotify events |
gadget_profile_blockio | Profile block I/O operations |
gadget_profile_cpu | Profile CPU |
gadget_profile_qdisc_latency | profile network scheduler latency |
gadget_profile_tcprtt | Profile TCP connections' Round-Trip Time (RTT) |
gadget_snapshot_process | Show running processes |
gadget_snapshot_socket | Show TCP and UDP sockets |
gadget_top_blockio | Periodically report input/output block device activity. |
gadget_top_file | Periodically report read/write activity by file |
gadget_top_process | Periodically report process statistics |
gadget_top_tcp | Periodically report tcp send receive activity by connection |
gadget_trace_bind | trace stream socket binding syscalls |
gadget_trace_capabilities | trace security capability checks |
gadget_trace_dns | trace dns requests and responses |
gadget_trace_exec | trace process executions |
gadget_trace_fsslower | Trace open, read, write and fsync operations slower than a threshold |
gadget_trace_lsm | a strace for LSM tracepoints |
gadget_trace_malloc | use uprobe to trace malloc and free in libc.so |
gadget_trace_mount | trace mount syscalls |
gadget_trace_oomkill | trace OOM killer |
gadget_trace_open | trace open files |
gadget_trace_signal | trace signal |
gadget_trace_sni | trace sni |
gadget_trace_ssl | use uprobe to capture data on read/recv or write/send functions of OpenSSL, GnuTLS, NSS and Libcrypto |
gadget_trace_tcp | monitor connect, accept and close events of TCP connections |
gadget_trace_tcpdrop | trace TCP packets dropped by the kernel |
gadget_trace_tcpretrans | trace TCP retransmissions |
gadget_traceloop | syscalls flight recorder |
ig_deploy | Manage the deployment of Inspektor Gadget on target system |
ig_gadgets | Manage running gadgets |
gadget_advise_networkpolicy
Generate network policies according to the K8s traffic
gadget_advise_seccomp
Suggest a seccomp profile
gadget_audit_seccomp
Audit syscalls according to the seccomp profile
gadget_bpfstats
Get memory and CPU usage of eBPF programs and Gadgets
gadget_deadlock
use uprobe to trace pthread_mutex_lock and pthread_mutex_unlock in libc.so and detect potential deadlocks
gadget_fdpass
Trace file descriptor passing via a unix socket (SCM_RIGHTS)
gadget_fsnotify
enrich inotify or fanotify events
gadget_profile_blockio
Profile block I/O operations
gadget_profile_cpu
Profile CPU
gadget_profile_qdisc_latency
profile network scheduler latency
gadget_profile_tcprtt
Profile TCP connections' Round-Trip Time (RTT)
gadget_snapshot_process
Show running processes
gadget_snapshot_socket
Show TCP and UDP sockets
gadget_top_blockio
Periodically report input/output block device activity. This gadget requires Linux Kernel Version 6.5+
gadget_top_file
Periodically report read/write activity by file
gadget_top_process
Periodically report process statistics
gadget_top_tcp
Periodically report tcp send receive activity by connection
gadget_trace_bind
trace stream socket binding syscalls
gadget_trace_capabilities
trace security capability checks
gadget_trace_dns
trace dns requests and responses
gadget_trace_exec
trace process executions
gadget_trace_fsslower
Trace open, read, write and fsync operations slower than a threshold
gadget_trace_lsm
a strace for LSM tracepoints
gadget_trace_malloc
use uprobe to trace malloc and free in libc.so
gadget_trace_mount
trace mount syscalls
gadget_trace_oomkill
trace OOM killer
gadget_trace_open
trace open files
gadget_trace_signal
trace signal
gadget_trace_sni
trace sni
gadget_trace_ssl
use uprobe to capture data on read/recv or write/send functions of OpenSSL, GnuTLS, NSS and Libcrypto
gadget_trace_tcp
monitor connect, accept and close events of TCP connections
gadget_trace_tcpdrop
trace TCP packets dropped by the kernel
gadget_trace_tcpretrans
trace TCP retransmissions
gadget_traceloop
syscalls flight recorder
ig_deploy
Manage the deployment of Inspektor Gadget on target system
Parameters | Type | Description |
---|---|---|
action | string optional | Lifecycle action to perform: deploy(deploy Inspektor Gadget), undeploy(undeploy Inspektor Gadget), upgrade(upgrade Inspektor Gadget), is_deployed(check if Inspektor Gadget is deployed) |
chart_version | string optional | Version 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.
ig_gadgets
Manage running gadgets
Parameters | Type | Description |
---|---|---|
action | string optional | Lifecycle 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_id | string optional | ID 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.
{
"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}}"
]
}
}
}
Manual installation
You can install the MCP server using:
Installation for