Inspektor Gadget MCP Server
@mqasimsarfraz
About Inspektor Gadget MCP Server
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"inspektor-gadget": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"~/.kube/config:/kubeconfig:ro",
"-e",
"KUBECONFIG=/kubeconfig",
"ghcr.io/mqasimsarfraz/inspektor-gadget-mcp-server:latest",
"-gadget-discoverer=artifacthub"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Inspektor Gadget MCP Server?
Inspektor Gadget MCP Server is an MCP (Model Context Protocol) server that provides an AI interface to debug, inspect, and troubleshoot workloads on Kubernetes clusters using different gadgets. It helps understand and summarize gadget output and discover gadgets from Artifact Hub. It is designed for developers and operators who use Inspektor Gadget for Kubernetes observability.
How to use Inspektor Gadget MCP Server?
To use the server, you need a kubeconfig file with access to the Kubernetes cluster and Inspektor Gadget installed in the cluster. Configure it in an MCP client (e.g., VS Code) by adding a server entry with the Docker run command: docker run -i --rm -v ~/.kube/config:/kubeconfig:ro -e KUBECONFIG=/kubeconfig ghcr.io/mqasimsarfraz/inspektor-gadget-mcp-server:latest -gadget-discoverer=artifacthub. In VS Code, this can be added to either the central user settings JSON or to a .vscode/mcp.json workspace file.
Key features of Inspektor Gadget MCP Server
- AI interface to troubleshoot Kubernetes workloads
- Summarize and understand gadget output
- Discover gadgets from Artifact Hub
Use cases of Inspektor Gadget MCP Server
- Debugging Kubernetes workloads using AI-powered analysis
- Summarizing complex gadget outputs for quick insights
- Discovering relevant gadgets from Artifact Hub for specific issues
- Troubleshooting performance or security issues in clusters
FAQ from Inspektor Gadget MCP Server
What prerequisites are needed to run the server?
You need a valid kubeconfig file with access to the target Kubernetes cluster and Inspektor Gadget must be installed in that cluster.
How do I configure the server in VS Code?
You can configure it either in the centralized user settings (via "Preferences: Open User Settings (JSON)") or in workspace settings by creating a .vscode/mcp.json file. Both methods use the same Docker command with the required arguments.
What does the -gadget-discoverer=artifacthub argument do?
It enables the server to discover available gadgets from the Artifact Hub registry, allowing you to find and use gadgets beyond the default set.
Frequently asked questions
What prerequisites are needed to run the server?
You need a valid `kubeconfig` file with access to the target Kubernetes cluster and Inspektor Gadget must be installed in that cluster.
How do I configure the server in VS Code?
You can configure it either in the centralized user settings (via "Preferences: Open User Settings (JSON)") or in workspace settings by creating a `.vscode/mcp.json` file. Both methods use the same Docker command with the required arguments.
What does the `-gadget-discoverer=artifacthub` argument do?
It enables the server to discover available gadgets from the Artifact Hub registry, allowing you to find and use gadgets beyond the default set.
Basic information
More Other MCP servers
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
ghidraMCP
LaurieWiredMCP Server for Ghidra
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Awesome Mlops
visengerA curated list of references for MLOps
Comments