MCP.so
ログイン

Inspektor Gadget MCP Server

@mqasimsarfraz

基本情報

カテゴリ

その他

トランスポート

stdio

作者

mqasimsarfraz

Inspektor Gadget MCP Server について

概要はまだありません

Inspektor Gadget MCP Server の設定

以下の設定を使って、このサーバーを 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"
      ]
    }
  }
}

Inspektor Gadget MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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

よくある質問

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.

コメント

「その他」の他のコンテンツ