Overview
What is kube-mcp?
kube-mcp is a Kubernetes MCP server that provides a set of tools for managing and interacting with Kubernetes clusters.
How to use kube-mcp?
Install via go install github.com/orvice/kube-mcp/cmd/kubemcp@latest and configure it as an MCP server in your client’s settings JSON, specifying the kubemcp command and optionally setting the KUBECONFIG environment variable.
Key features of kube-mcp
- List pods in a specified namespace
- List deployments in a specified namespace
- List ingresses in a specified namespace
- List all namespaces in the cluster
- List StatefulSets in a specified namespace
Use cases of kube-mcp
- Quickly inspect pods and deployments in a namespace
- Monitor ingress resources across the cluster
- Retrieve the list of all namespaces for cluster auditing
- Check StatefulSets in specific namespaces
FAQ from kube-mcp
What is kube-mcp?
kube-mcp is a Kubernetes MCP server that provides a set of tools for managing and interacting with Kubernetes clusters.
How do I install kube-mcp?
Run go install github.com/orvice/kube-mcp/cmd/kubemcp@latest.
How do I configure kube-mcp?
Add an entry to your MCP server configuration with "command": "kubemcp", and optionally set the KUBECONFIG environment variable to point to your kubeconfig file.
What commands does kube-mcp support?
kube-mcp supports five commands: k8s_list_pods, k8s_list_deployments, k8s_list_ingresses, k8s_list_namespaces, and k8s_list_statefulsets.
Does kube-mcp require a kubeconfig?
Yes, it uses the KUBECONFIG environment variable (defaulting to ~/.kube/.kubeconfig) to access the cluster.