Loading...
npx mcp-chat --server "npx mcp-server-kubernetes"{
"mcpServers": {
"kubernetes": {
"command": "npx",
"args": ["mcp-server-kubernetes"]
}
}
}kubectl_getRetrieves Kubernetes resources.
Read-only operation.
kubectl_describeDescribes Kubernetes resources.
Read-only operation.
kubectl_createCreates Kubernetes resources.
Creates new resources, but doesn't modify existing ones without further action.
kubectl_applyApplies YAML manifests to create or update resources.
Can modify existing resources based on the manifest.
kubectl_deleteDeletes Kubernetes resources.
Destructive operation that permanently removes resources.
kubectl_logsRetrieves logs from Kubernetes pods.
Read-only operation.
kubectl_scaleScales the number of replicas in a deployment or replicaset.
Modifies the number of replicas, potentially impacting application availability.
kubectl_patchUpdates specific fields of a Kubernetes resource.
Can modify resource configurations, potentially causing unexpected behavior.
kubectl_rolloutManages deployment rollouts (status, history, pause, resume, undo).
Can alter the state of deployments, potentially disrupting service.
kubectl_genericExecutes arbitrary kubectl commands.
Unrestricted access to kubectl functionality, including destructive operations.
helm_template_applyApplies a Helm chart template to the cluster.
Can create or modify resources based on the template.
helm_template_uninstallUninstalls a Helm chart template from the cluster.
Removes resources deployed by the Helm chart.
cleanup_podsCleans up problematic pods in various error states.
Deletes pods, potentially disrupting workloads.
node_managementCordons, drains, and uncordons Kubernetes nodes.
Can disrupt workloads running on the affected nodes.
k8s-diagnoseGuides through a systematic Kubernetes troubleshooting flow for pods.
Primarily read-only, guiding the user through diagnostic steps.
This server provides powerful Kubernetes management capabilities, but its safety depends heavily on configuration and usage. Running in non-destructive mode significantly reduces risk. Exercise caution with `kubectl_generic` and untrusted Helm charts.