Best for
- Developers and operators managing Kubernetes clusters via AI assistants
- Scenarios requiring quick troubleshooting and diagnosis of K8s issues
- Users integrating with MCP clients like Claude Desktop, Codex CLI
The server is powerful but requires caution, especially in production. It is advised to enable non-destructive mode to reduce risk.
mcp-server-kubernetes is an MCP server that enables AI assistants to interact with Kubernetes clusters via kubectl. It supports loading kubeconfig from multiple sources and offers a rich set of tools for managing resources, performing Helm operations, port forwarding, node management, and more. The server supports non-destructive and read-only modes, and includes secrets masking for enhanced security.
{
"mcpServers": {
"kubernetes": {
"command": "npx",
"args": [
"mcp-server-kubernetes"
]
}
}
}