mcp-kubectl-server

mcp-kubectl-server

3.2

If you are the rightful owner of mcp-kubectl-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An AI-driven Kubernetes assistant using Model Context Protocol (MCP) for natural language interaction with Kubernetes clusters.

The AI-Powered Kubernetes Assistant leverages Model Context Protocol (MCP) to facilitate natural language interactions with Kubernetes clusters. It translates user queries into safe Kubernetes commands, supports dynamic tooling, and provides real-time AI explanations. The assistant is designed to enhance Kubernetes management by integrating Helm, ensuring command safety, and offering a clean web interface for user interaction. The architecture is modular, with each Kubernetes operation encapsulated as a tool, dynamically invoked based on user intent. This approach allows for flexible and efficient management of Kubernetes resources, making it accessible even to users with limited Kubernetes expertise.

Features

  • Natural Language Kubernetes Control: Converts natural language queries into safe kubectl/helm commands using Groq/OpenAI (LLM).
  • Tool-Based Architecture: Each Kubernetes operation is modularized as a tool, invoked dynamically via MCP based on user intent.
  • Real-Time AI Explanations: Provides AI explanations for command outputs and Kubernetes object fields.
  • Helm Integration: Supports installation, upgrade, and uninstallation of Helm charts.
  • Safe Command Generation: Auto-validates generated commands and includes a fallback mechanism for unsupported or unsafe commands.

Tools

  1. naturalLanguageKubectl

    Parse and run safe Kubernetes commands.

  2. logsFetcher

    Fetch pod logs.

  3. rolloutChecker

    Monitor deployment rollout status.

  4. scaleDeployment

    Scale deployments up/down.

  5. namespaceAnalyzer

    Analyze namespaces.

  6. explain_kubectl_result

    AI explanation of command outputs.

  7. kubectlExplain

    Explain Kubernetes object fields.

  8. portForwardPod

    Port forward from a pod to your local machine.

  9. execCommandInPod

    Execute shell commands in a pod.

  10. getPodEvents

    Get Kubernetes event history for a pod.

  11. monitoringTool

    Check pod health, node resource usage, cluster health, etc.

  12. helmTool

    Install, upgrade, or uninstall Helm charts.

  13. createPodTool

    Dynamically generate and deploy pods from templates or custom specs.