MCP.so
登录

Inspektor Gadget MCP Server

@mqasimsarfraz

关于 Inspektor Gadget MCP Server

暂无概览

基本信息

分类

其他

运行时

go

传输方式

stdio

发布者

mqasimsarfraz

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

其他 分类下的更多 MCP 服务器