Feedback

Inspektor Gadget MCP Server

@mqasimsarfraz Claim

Basic information

Runtime
go
Category
License
Apache-2.0
Transports
stdio
Author
mqasimsarfraz
Submitted by
Community
Quality
10
Stars
28

About Inspektor Gadget MCP Server

# Inspektor Gadget MCP Server

Inspektor Gadget MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by mqasimsarfraz. Supported transport: stdio. Runtime: go. License: Apache-2.0. The repository has 28 GitHub stars. Source code is hosted on github.com. Related topics: ai, container, ebpf, kubernetes, linux.

Setup

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

Inspektor Gadget MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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

Frequently asked questions

1 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.

2 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.

3 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.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬