mcp-kubectl-server
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
naturalLanguageKubectl
Parse and run safe Kubernetes commands.
logsFetcher
Fetch pod logs.
rolloutChecker
Monitor deployment rollout status.
scaleDeployment
Scale deployments up/down.
namespaceAnalyzer
Analyze namespaces.
explain_kubectl_result
AI explanation of command outputs.
kubectlExplain
Explain Kubernetes object fields.
portForwardPod
Port forward from a pod to your local machine.
execCommandInPod
Execute shell commands in a pod.
getPodEvents
Get Kubernetes event history for a pod.
monitoringTool
Check pod health, node resource usage, cluster health, etc.
helmTool
Install, upgrade, or uninstall Helm charts.
createPodTool
Dynamically generate and deploy pods from templates or custom specs.