Kubernetes MCP Server
by reza-gholizade
Manage and monitor Kubernetes clusters, including Pod logs and Helm releases, via MCP.
What it does
Provides a standardized interface for AI agents to interact with Kubernetes clusters. It allows agents to discover API resources, inspect pod health, retrieve logs, and manage the lifecycle of resources and Helm releases.
Tools
listResources: List any K8s resource type with filtering.describeResource: Get comprehensive details of a resource (similar to kubectl describe).getPodsLogs: Fetch logs from specific containers in a pod.getPodMetrics: Retrieve CPU and memory usage for pods.createOrUpdateResourceYAML: Apply K8s manifests directly from YAML.helmInstall/helmUpgrade: Manage Helm chart releases.rolloutRestart: Trigger rolling restarts for deployments and statefulsets.
Installation
For Claude Desktop (stdio mode), add this to claude_desktop_config.json:
{
"mcpServers": {
"k8s-mcp-server": {
"command": "k8s-mcp-server",
"args": ["--mode", "stdio"],
"env": {
"KUBECONFIG": "/home/user/.kube/config"
}
}
}
}
Supported hosts
- claude
- vscode-copilot
Quick install
go build -o k8s-mcp-server main.goInformation
- Pricing
- free
- Published
- 4/12/2026
- stars







