Inspektor Gadget MCP Server

by mqasimsarfraz

143 downloads
Not rated
GitHub

Description

# Inspektor Gadget MCP Server Inspektor Gadget MCP Server allows you to debug and inspect Kubernetes clusters using different gadgets. https://github.com/user-attachments/assets/86367982-c0aa-455c-ac9e-ca43348899df # Features - AI interface to troubleshoot and workload your…

About

# Inspektor Gadget MCP Server Inspektor Gadget MCP Server allows you to debug and inspect Kubernetes clusters using different gadgets. https://github.com/user-attachments/assets/86367982-c0aa-455c-ac9e-ca43348899df # Features - AI interface to troubleshoot and workload your workloads on Kubernetes clusters. - Helps…

Details

Author
mqasimsarfraz
Downloads
143
Categories
Other

- AI interface to troubleshoot Kubernetes workloads
- Summarize and understand gadget output
- Discover gadgets from Artifact Hub

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Inspektor Gadget MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "inspektor gadget mcp server": {
            "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"
                ]
            }
        }
    }
}

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

Inspektor Gadget MCP Server

Inspektor Gadget MCP Server allows you to debug and inspect Kubernetes clusters using different gadgets.

https://github.com/user-attachments/assets/86367982-c0aa-455c-ac9e-ca43348899df

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.