# kubectl-mcp-server

> Published in CNCF Landscape: A MCP server for Kubernetes.

- **URL**: https://www.freshcrate.ai/projects/kubectl-mcp-server
- **Author**: rohitg00
- **Category**: MCP Servers
- **Latest version**: `v1.24.0` (2026-02-20)
- **License**: MIT
- **Source**: https://github.com/rohitg00/kubectl-mcp-server
- **Homepage**: https://www.npmjs.com/package/kubectl-mcp-server
- **Language**: Python
- **GitHub**: 871 stars, 168 forks
- **Registry**: github
- **Tags**: `ai`, `deployment`, `devops`, `genai`, `kubernetes`, `kubernetes-cluster`, `kubernetes-tools`, `llms`, `python`

## Description

Published in CNCF Landscape: A MCP server for Kubernetes.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v1.24.0` | 2026-02-20 | Low | ## 3D Cluster Topology Viewer  <img width="823" height="366" alt="Screenshot 2026-02-20 at 22 26 21" src="https://github.com/user-attachments/assets/5d26057d-feb1-4a72-ace2-d2f4ae2ef214" />   New interactive 3D Kubernetes cluster topology UI (`k8s-3d-topology`) powered by Three.js. Visualize your entire cluster as a navigable 3D scene.  ### Features - **15 distinct 3D mesh types** for K8s resources (Pod, Deployment, ReplicaSet, Service, Ingress, Node, StatefulSet, DaemonSet, ConfigMap, S |
| `v1.23.1` | 2026-02-04 | Low | ## Changes  ### Security Fixes - Fixed `os.system()` command injection in `networking.py` port-forward — replaced with `subprocess.Popen` using list args - Fixed temp file leak in `kubectl_apply` — wrapped `os.unlink` in `try/finally` - Fixed `command.split()` in `kind_node_exec` — replaced with `shlex.split()` - Added non-destructive guard to `exec_in_pod` and `port_forward` - Restricted `kubectl_generic` allowlist — `config` limited to safe subcommands, `auth` limited to `can-i` - Fixed hardco |
| `v1.23.0` | 2026-02-03 | Low | ## Fix: In-Cluster Kubernetes Config  Resolves the `HTTPConnectionPool(host='localhost', port=80): Max retries exceeded` error when the server is deployed inside a Kubernetes cluster (#61).  ### What Changed  - **Fixed config loading** — `_patched_load_kube_config` no longer short-circuits calls with explicit arguments (config_file, context, client_configuration), which was preventing the kubernetes client from loading the correct API server address - **In-cluster fallback** — The kubeconfig pro |
| `v1.22.0` | 2026-02-02 | Low | ## What's New  ### kubectl-mcp-app - 8 Interactive UI Dashboards  Added a standalone npm package `kubectl-mcp-app` that provides beautiful, interactive UI dashboards for Kubernetes management using the MCP ext-apps SDK.  **Installation:** ```bash # Via npm npm install -g kubectl-mcp-app  # Or via npx (no install) npx kubectl-mcp-app ```  **Claude Desktop Configuration:** ```json {   "mcpServers": {     "kubectl-app": {       "command": "npx",       "args": ["kubectl-mcp-app"]     }   } } ```  ** |
| `v1.21.0` | 2026-01-30 | Low | ## What's New  ### vCluster (vind) Support - 14 Tools Manage virtual Kubernetes clusters using vCluster CLI: - `vind_detect_tool`, `vind_list_clusters_tool`, `vind_status_tool` - `vind_create_cluster_tool`, `vind_delete_cluster_tool` - `vind_pause_tool`, `vind_resume_tool`, `vind_connect_tool`, `vind_disconnect_tool` - `vind_upgrade_tool`, `vind_describe_tool`, `vind_get_kubeconfig_tool` - `vind_logs_tool`, `vind_platform_start_tool`  ### kind (Kubernetes IN Docker) Support - 32 Tools Comprehens |
| `v1.19.3` | 2026-01-27 | Low | ## What's Changed - Added GitHub Container Registry (ghcr.io) publishing - Docker images now available on both Docker Hub and GitHub Packages  ## Docker Images ```bash # Docker Hub docker pull rohitghumare64/kubectl-mcp-server:1.19.3  # GitHub Container Registry docker pull ghcr.io/rohitg00/kubectl-mcp-server:1.19.3 ```  ## Install from GitHub Packages ```bash # npm npm install @rohitg00/kubectl-mcp-server --registry=https://npm.pkg.github.com  # Python (wheel from release) pip install https://g |
| `v1.19.2` | 2026-01-27 | Low | ## What's Changed - Added GitHub Packages publishing for npm package - Package now available at `@rohitg00/kubectl-mcp-server` on GitHub Packages  ## Install from GitHub Packages ```bash npm install @rohitg00/kubectl-mcp-server --registry=https://npm.pkg.github.com ``` |
| `v1.19.1` | 2026-01-27 | Low | ## What's Changed - Upload wheel files to GitHub releases for direct pip install - Updated documentation with GitHub release install instructions  ## Install from GitHub Release ```bash pip install https://github.com/rohitg00/kubectl-mcp-server/releases/download/v1.19.1/kubectl_mcp_server-1.19.1-py3-none-any.whl ``` |
| `v1.19.0` | 2026-01-25 | Low | ## What's New in v1.19.0  ### New Features  #### Multi-Cluster Operations (4 new tools) - **`multi_cluster_query`**: Query resources across multiple clusters simultaneously - **`multi_cluster_health`**: Check health status of all clusters at once - **`multi_cluster_pod_count`**: Get pod counts across all clusters with breakdown by phase  #### Kubeconfig Auto-Detection - **`enable_kubeconfig_watching`**: Auto-detect kubeconfig file changes (useful for cloud CLI credential updates) - **`disable_ku |
| `v1.18.0` | 2026-01-25 | Low | ## What's New  ### Agent Skills Library (24 Skills)  Added comprehensive Kubernetes skills for AI coding agents following the [Agent Skills](https://agentskills.io) specification.  **Categories:** \| Category \| Skills \| \|----------\|--------\| \| **Core Resources** \| k8s-core, k8s-networking, k8s-storage \| \| **Workloads** \| k8s-deploy, k8s-operations, k8s-helm \| \| **Observability** \| k8s-diagnostics, k8s-troubleshoot, k8s-incident \| \| **Security** \| k8s-security, k8s-policy, k8s-certs \| |

## Citation

- HTML: https://www.freshcrate.ai/projects/kubectl-mcp-server
- Markdown: https://www.freshcrate.ai/projects/kubectl-mcp-server.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/kubectl-mcp-server/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
