Skip to main content
Glama

Inspektor Gadget MCP Server

Inspektor Gadget MCP Server

AI-powered debugging and inspection for Kubernetes clusters using Inspektor Gadget.

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

Features

  • AI-powered interface for Kubernetes troubleshooting and monitoring
  • One-click Inspektor Gadget deployment and removal
  • Intelligent output summarization and analysis
  • Automatic gadget discovery from Artifact Hub

Quick Start

  1. Ensure you have Docker and a valid kubeconfig file
  2. Configure the MCP server in VS Code (see INSTALL.md)
  3. Start using AI commands in VS Code Copilot Chat
  4. Try: "Show me DNS traffic" or "Deploy Inspektor Gadget"
code --add-mcp '{ "name": "inspektor-gadget", "command": "docker", "args": [ "run", "-i", "--rm", "--mount", "type=bind,src=${env:HOME}/.kube/config,dst=/kubeconfig", "ghcr.io/inspektor-gadget/ig-mcp-server:latest", "-gadget-discoverer=artifacthub" ] }'

or with specific network gadgets:

code --add-mcp '{ "name": "inspektor-gadget", "command": "docker", "args": [ "run", "-i", "--rm", "--mount", "type=bind,src=${env:HOME}/.kube/config,dst=/kubeconfig", "ghcr.io/inspektor-gadget/ig-mcp-server:latest", "-gadget-images=trace_dns:latest,trace_tcp:latest,snapshot_process:latest,snapshot_socket:latest" ] }'

Available Tools

Management Tools

  • deploy_inspektor_gadget: Installs Inspektor Gadget in your cluster
  • undeploy_inspektor_gadget: Removes Inspektor Gadget from your cluster

Gadget Discovery

Gadget Tools

  • Automatic: Uses Artifact Hub (-gadget-discoverer=artifacthub)
  • Manual: Specify gadgets directly (-gadget-images=trace_dns:latest)

See INSTALL.md for configuration options.

Security Notes

  • Requires read-only access to your kubeconfig file
  • Needs network access for Artifact Hub discovery
  • Ensure appropriate RBAC policies in your cluster

Resources

License

Apache License 2.0 - see LICENSE for details.

-
security - not tested
A
license - permissive license
-
quality - not tested

Debug your Container and Kubernetes workloads with an AI interface powered by eBPF

  1. Features
    1. Quick Start
      1. Available Tools
        1. Management Tools
        2. Gadget Discovery
      2. Security Notes
        1. Resources
          1. Related Projects
            1. License

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                TypeScript implementation of Kubernetes cluster operations for pods, deployments, services.
                Last updated -
                9
                4,688
                822
                TypeScript
                MIT License
                • Linux
                • Apple
              • A
                security
                A
                license
                A
                quality
                Enables intelligent code analysis and debugging through the Perplexity AI's API, offering detailed error analysis, pattern detection, and comprehensive solutions, with integration support for the Claude desktop client.
                Last updated -
                1
                10
                JavaScript
                MIT License
                • Apple
              • -
                security
                F
                license
                -
                quality
                Provides GDB debugging functionality for use with Claude or other AI assistants, allowing users to manage debugging sessions, set breakpoints, examine variables, and execute GDB commands through natural language.
                Last updated -
                JavaScript
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that enables AI assistants to interact with Kubernetes clusters through natural language, supporting core Kubernetes operations, monitoring, security, and diagnostics.
                Last updated -
                649
                Python
                MIT License
                • Linux
                • Apple

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/inspektor-gadget/ig-mcp-server'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server