Inspektor Gadget MCP Server

Inspektor Gadget MCP Server

AI-powered Kubernetes troubleshooting via Model Context Protocol.

16
Stars
1
Forks
16
Watchers
11
Issues
Inspektor Gadget MCP Server provides an AI-powered debugging and inspection interface for Kubernetes clusters. Leveraging the Model Context Protocol, it enables intelligent output summarization, one-click deployment of Inspektor Gadget, and automated discovery of debugging tools from Artifact Hub. The server integrates seamlessly with VS Code for interactive AI commands, simplifying Kubernetes troubleshooting and monitoring workflows.

Key Features

AI-powered interface for Kubernetes troubleshooting and monitoring
One-click deployment and removal of Inspektor Gadget
Intelligent output summarization and analysis
Automatic gadget discovery from Artifact Hub
Context-oriented communication via Model Context Protocol
Docker and binary installation options
VS Code integration with Copilot Chat support
Supports custom gadget images
Cache management for efficient operations
Multi-platform support (Linux, macOS, Windows)

Use Cases

Diagnosing Kubernetes networking issues using AI commands
Automated deployment and management of debugging tools in clusters
Summarizing complex cluster states and diagnostics for operators
Rapid onboarding to Kubernetes troubleshooting for new users
Integrating with developers’ VS Code workflows for live debugging
Monitoring Kubernetes resource health and activity
Collecting and visualizing DNS or TCP traffic data
Interacting with Kubernetes clusters using natural language queries
Streamlining troubleshooting during incident response
Discovering and utilizing new Inspektor Gadget tools from Artifact Hub

README

GitHub Release License Slack Go Report Card Examples Ask DeepWiki

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"
  5. Head to examples for detailed examples.

Installation

You can use the following commands to quickly configure the Inspektor Gadget MCP server using either Docker or a binary in your VS Code settings.

Docker

Binary

You can head to the Releases page and download the latest binary for your platform:

After downloading, you can run the following command to add it to your VS Code MCP configuration.

Available Tools

Inspektor Gadget Lifecycle

  • ig_deploy: Manage deployment of Inspektor Gadget on target Kubernetes cluster

Gadget Lifecycle

  • ig_gadgets: Manage the lifecycle of running gadgets (stop/list/get-results)

Dynamic Tools

Each gadget is registered as its own MCP tool (e.g., gadget_trace_dns, gadget_trace_tcp, etc.) and supports running gadgets in foreground mode, which is useful for debugging/development and also in background mode for observability.

Also, You can control which gadgets are available by configuring the MCP server with the -gadget-discoverer or -gadget-images options, allowing you to limit the tools to only those you need.

Gadget Discovery

Gadget discovery allows controlling which gadgets are available for use. You can choose between two methods:

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

Gadget Tools

See INSTALL.md for configuration options.

Security Notes

  • Requires read-only access to your kubeconfig file
  • Needs network access for Artifact Hub discovery
  • See security guide for setting up server with minimal permissions

Resources

Related Projects

License

Apache License 2.0 - see LICENSE for details.

Star History

Star History Chart

Repository Owner

inspektor-gadget
inspektor-gadget

Organization

Repository Details

Language Go
Default Branch main
Size 4,871 KB
Contributors 3
License Apache License 2.0
MCP Verified Nov 12, 2025

Programming Languages

Go
89.2%
Makefile
4.68%
Shell
4.08%
Dockerfile
2.05%

Tags

Topics

ai container ebpf kubernetes linux mcp-server

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Azure MCP Server

    Azure MCP Server

    Connect AI agents with Azure services through Model Context Protocol.

    Azure MCP Server provides a seamless interface between AI agents and Azure services by implementing the Model Context Protocol (MCP) specification. It enables integration with tools like GitHub Copilot for Azure and supports a wide range of Azure resource management tasks directly via conversational AI interfaces. Designed for extensibility and compatibility, it offers enhanced contextual capabilities for agents working with Azure environments.

    • 1,178
    • MCP
    • Azure/azure-mcp
  • GitHub MCP Server

    GitHub MCP Server

    Connect AI tools directly to GitHub for repository, issue, and workflow management via natural language.

    GitHub MCP Server enables AI tools such as agents, assistants, and chatbots to interact natively with the GitHub platform. It allows these tools to access repositories, analyze code, manage issues and pull requests, and automate workflows using the Model Context Protocol (MCP). The server supports integration with multiple hosts, including VS Code and other popular IDEs, and can operate both remotely and locally. Built for developers seeking to enhance AI-powered development workflows through seamless GitHub context access.

    • 24,418
    • MCP
    • github/github-mcp-server
  • RAD Security MCP Server

    RAD Security MCP Server

    AI-powered security insights for Kubernetes and cloud environments via the Model Context Protocol.

    RAD Security MCP Server is an implementation of the Model Context Protocol designed to deliver AI-powered security insights and operations for Kubernetes and cloud platforms. It serves as an MCP server for RAD Security, providing a range of toolkits for container, cluster, identity, audit, and threat management. The server is easily configurable via environment variables, allowing for flexible toolkit activation and authentication options. Multiple deployment options are supported, including Node.js, Docker, and integration with development environments like Cursor IDE and Claude Desktop.

    • 5
    • MCP
    • rad-security/mcp-server
  • Semgrep MCP Server

    Semgrep MCP Server

    A Model Context Protocol server powered by Semgrep for seamless code analysis integration.

    Semgrep MCP Server implements the Model Context Protocol (MCP) to enable efficient and standardized communication for code analysis tasks. It facilitates integration with platforms like LM Studio, Cursor, and Visual Studio Code, providing both Docker and Python (PyPI) deployment options. The tool is now maintained in the main Semgrep repository with continued updates, enhancing compatibility and support across developer tools.

    • 611
    • MCP
    • semgrep/mcp
  • kibitz

    kibitz

    The coding agent for professionals with MCP integration.

    kibitz is a coding agent that supports advanced AI collaboration by enabling seamless integration with Model Context Protocol (MCP) servers via WebSockets. It allows users to configure Anthropic API keys, system prompts, and custom context providers for each project, enhancing contextual understanding for coding tasks. The platform is designed for developers and professionals seeking tailored AI-driven coding workflows and provides flexible project-specific configuration.

    • 104
    • MCP
    • nick1udwig/kibitz
  • GXtract MCP Server

    GXtract MCP Server

    MCP server for seamless GroundX platform integration with modern editors.

    GXtract MCP Server implements the Model Context Protocol (MCP) to facilitate direct integration between the GroundX document understanding platform and editors such as VS Code. It offers tools for document search, querying, and semantic object explanations, leveraging Python 3.12+ and FastMCP v2 for high performance. The system includes an in-memory cache to boost efficiency and reduce API calls, with support for both stdio and HTTP transport layers for maximum flexibility.

    • 1
    • MCP
    • sascharo/gxtract
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results