kubectl-mcp-server 1.19.3 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +72 -16
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -21,7 +21,8 @@ Talk to your clusters like you talk to a DevOps expert. Debug crashed pods, opti
21
21
  <a href="https://pypi.org/project/kubectl-mcp-server/"><img src="https://img.shields.io/pypi/v/kubectl-mcp-server?color=blue&label=PyPI" alt="PyPI"></a>
22
22
  <a href="https://www.npmjs.com/package/kubectl-mcp-server"><img src="https://img.shields.io/npm/v/kubectl-mcp-server?color=green&label=npm" alt="npm"></a>
23
23
  <a href="https://hub.docker.com/r/rohitghumare64/kubectl-mcp-server"><img src="https://img.shields.io/docker/pulls/rohitghumare64/kubectl-mcp-server.svg" alt="Docker"></a>
24
- <a href="https://github.com/rohitg00/kubectl-mcp-server"><img src="https://img.shields.io/badge/tests-234%20passed-success" alt="Tests"></a>
24
+ <a href="https://github.com/rohitg00/kubectl-mcp-server"><img src="https://img.shields.io/badge/tests-234%20passed-success"
25
+ <a href="https://deepwiki.com/rohitg00/kubectl-mcp-server"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>
25
26
  <a href="https://aregistry.ai"><img src="https://img.shields.io/badge/agentregistry-verified-blue?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0id2hpdGUiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE1Ljk5MiA2LjAzN2wtMy4wMjEtLjQzOS0xLjM1LTIuNzM2Yy0uMzQ2LS43MDItMS41MDQtLjcwMi0xLjg1IDBMOC40MjEgNS41OTggNS40IDYuMDM3Yy0uNzc2LjExMy0xLjA4OCAxLjA1My0uNTI4IDEuNTkzbDIuMTg2IDIuMTI5LS41MTYgMy4wMWMtLjEzMy43NzUuNjgyIDEuMzY2IDEuMzc4Ljk5OGwyLjcwMi0xLjQyIDIuNzAyIDEuNDJjLjY5Ni4zNjggMS41MTEtLjIyMyAxLjM3OC0uOTk4bC0uNTE2LTMuMDEgMi4xODYtMi4xMjljLjU2LS41NCAwLjI0OC0xLjQ4LS41MjgtMS41OTN6Ii8+PC9zdmc+" alt="agentregistry"></a>
26
27
  </p>
27
28
 
@@ -108,7 +109,7 @@ Simply ask your AI assistant in natural language:
108
109
  - Interactive HTML dashboards with live metrics
109
110
  - Visual timeline of events and resource usage
110
111
 
111
- **224 powerful tools** | **8 workflow prompts** | **8 data resources** | **Works with all major AI assistants**
112
+ **253 powerful tools** | **8 workflow prompts** | **8 data resources** | **Works with all major AI assistants**
112
113
 
113
114
  ## Why kubectl-mcp-server?
114
115
 
@@ -178,9 +179,12 @@ pip install git+https://github.com/rohitg00/kubectl-mcp-server.git
178
179
  ### Docker
179
180
 
180
181
  ```bash
181
- # Pull and run with Docker
182
+ # Pull from Docker Hub
182
183
  docker pull rohitghumare64/kubectl-mcp-server:latest
183
184
 
185
+ # Or pull from GitHub Container Registry
186
+ docker pull ghcr.io/rohitg00/kubectl-mcp-server:latest
187
+
184
188
  # Run with stdio transport
185
189
  docker run -i -v $HOME/.kube:/root/.kube:ro rohitghumare64/kubectl-mcp-server:latest
186
190
 
@@ -422,7 +426,7 @@ Add to `~/.config/roo-code/mcp.json` or `~/.config/kilo-code/mcp.json`:
422
426
 
423
427
  ## Complete Feature Set
424
428
 
425
- ### 224 MCP Tools for Complete Kubernetes Management
429
+ ### 253 MCP Tools for Complete Kubernetes Management
426
430
 
427
431
  | Category | Tools |
428
432
  |----------|-------|
@@ -457,6 +461,8 @@ Add to `~/.config/roo-code/mcp.json` or `~/.config/kilo-code/mcp.json`:
457
461
  | **Cluster API** | `capi_clusters_list`, `capi_cluster_get`, `capi_machines_list`, `capi_machine_get`, `capi_machinedeployments_list`, `capi_machinedeployment_scale`, `capi_machinesets_list`, `capi_machinehealthchecks_list`, `capi_clusterclasses_list`, `capi_cluster_kubeconfig`, `capi_detect` |
458
462
  | **KubeVirt VMs** | `kubevirt_vms_list`, `kubevirt_vm_get`, `kubevirt_vmis_list`, `kubevirt_vm_start`, `kubevirt_vm_stop`, `kubevirt_vm_restart`, `kubevirt_vm_pause`, `kubevirt_vm_unpause`, `kubevirt_vm_migrate`, `kubevirt_datasources_list`, `kubevirt_instancetypes_list`, `kubevirt_datavolumes_list`, `kubevirt_detect` |
459
463
  | **Istio/Kiali** | `istio_virtualservices_list`, `istio_virtualservice_get`, `istio_destinationrules_list`, `istio_gateways_list`, `istio_peerauthentications_list`, `istio_authorizationpolicies_list`, `istio_proxy_status`, `istio_analyze`, `istio_sidecar_status`, `istio_detect` |
464
+ | **vCluster (vind)** | `vind_detect_tool`, `vind_list_clusters_tool`, `vind_status_tool`, `vind_get_kubeconfig_tool`, `vind_logs_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_platform_start_tool` |
465
+ | **kind (K8s in Docker)** | `kind_detect_tool`, `kind_version_tool`, `kind_list_clusters_tool`, `kind_get_nodes_tool`, `kind_get_kubeconfig_tool`, `kind_export_logs_tool`, `kind_cluster_info_tool`, `kind_node_labels_tool`, `kind_create_cluster_tool`, `kind_delete_cluster_tool`, `kind_delete_all_clusters_tool`, `kind_load_image_tool`, `kind_load_image_archive_tool`, `kind_build_node_image_tool`, `kind_set_kubeconfig_tool` |
460
466
 
461
467
  ### MCP Resources
462
468
 
@@ -496,12 +502,12 @@ Pre-built workflow prompts for common Kubernetes operations:
496
502
 
497
503
  ### Key Capabilities
498
504
 
499
- - 🤖 **224 Powerful Tools** - Complete Kubernetes management from pods to security
505
+ - 🤖 **253 Powerful Tools** - Complete Kubernetes management from pods to security
500
506
  - 🎯 **8 AI Workflow Prompts** - Pre-built workflows for common operations
501
507
  - 📊 **8 MCP Resources** - Browsable Kubernetes data exposure
502
508
  - 🎨 **6 Interactive Dashboards** - HTML UI tools for visual cluster management
503
509
  - 🌐 **26 Browser Tools** - Web automation with cloud provider support
504
- - 🔄 **93 Ecosystem Tools** - GitOps, Cert-Manager, Policy, Backup, KEDA, Cilium, Rollouts, CAPI, KubeVirt, Istio
510
+ - 🔄 **107 Ecosystem Tools** - GitOps, Cert-Manager, Policy, Backup, KEDA, Cilium, Rollouts, CAPI, KubeVirt, Istio, vCluster
505
511
  - ⚡ **Multi-Transport** - stdio, SSE, HTTP, streamable-http
506
512
  - 🔐 **Security First** - Non-destructive mode, secret masking, RBAC validation
507
513
  - 🏥 **Advanced Diagnostics** - AI-powered troubleshooting and cost optimization
@@ -668,6 +674,54 @@ kubectl-mcp-server
668
674
  - Remote CDP connections
669
675
  - Session management
670
676
 
677
+ ## Optional: kubectl-mcp-app (8 Interactive UI Dashboards)
678
+
679
+ A standalone npm package that provides beautiful, interactive UI dashboards for Kubernetes management using the MCP ext-apps SDK.
680
+
681
+ **Installation:**
682
+
683
+ ```bash
684
+ # Via npm
685
+ npm install -g kubectl-mcp-app
686
+
687
+ # Or via npx (no install)
688
+ npx kubectl-mcp-app
689
+ ```
690
+
691
+ **Claude Desktop Configuration:**
692
+
693
+ ```json
694
+ {
695
+ "mcpServers": {
696
+ "kubectl-app": {
697
+ "command": "npx",
698
+ "args": ["kubectl-mcp-app"]
699
+ }
700
+ }
701
+ }
702
+ ```
703
+
704
+ **8 Interactive UI Tools:**
705
+
706
+ | Tool | Description |
707
+ | ---- | ----------- |
708
+ | `k8s-pods` | Interactive pod viewer with filtering, sorting, status indicators |
709
+ | `k8s-logs` | Real-time log viewer with syntax highlighting and search |
710
+ | `k8s-deploy` | Deployment dashboard with rollout status, scaling, rollback |
711
+ | `k8s-helm` | Helm release manager with upgrade/rollback actions |
712
+ | `k8s-cluster` | Cluster overview with node health and resource metrics |
713
+ | `k8s-cost` | Cost analyzer with waste detection and recommendations |
714
+ | `k8s-events` | Events timeline with type filtering and grouping |
715
+ | `k8s-network` | Network topology graph showing Services/Pods/Ingress |
716
+
717
+ **Features:**
718
+ - 🎨 Dark/light theme support
719
+ - 📊 Real-time data visualization
720
+ - 🖱️ Interactive actions (scale, restart, delete)
721
+ - 🔗 Seamless integration with kubectl-mcp-server
722
+
723
+ **More Info**: See [kubectl-mcp-app/README.md](./kubectl-mcp-app/README.md) for full documentation.
724
+
671
725
  ## Enterprise: OAuth 2.1 Authentication
672
726
 
673
727
  Secure your MCP server with OAuth 2.1 authentication (RFC 9728).
@@ -736,7 +790,7 @@ EOF
736
790
  agentgateway --config gateway.yaml
737
791
  ```
738
792
 
739
- Connect clients to `http://localhost:3000/mcp` for unified access to all 224 tools.
793
+ Connect clients to `http://localhost:3000/mcp` for unified access to all 253 tools.
740
794
 
741
795
  ## In-Cluster Deployment
742
796
 
@@ -795,7 +849,7 @@ kubectl apply -f deploy/kagent/toolserver-stdio.yaml
795
849
  kagent dashboard
796
850
  ```
797
851
 
798
- Your AI agents now have access to all 224 Kubernetes tools. See [kagent quickstart](https://kagent.dev/docs/kagent/getting-started/quickstart).
852
+ Your AI agents now have access to all 253 Kubernetes tools. See [kagent quickstart](https://kagent.dev/docs/kagent/getting-started/quickstart).
799
853
 
800
854
  ## Architecture
801
855
 
@@ -813,7 +867,7 @@ The MCP server implements the [Model Context Protocol](https://github.com/modelc
813
867
  ```
814
868
  kubectl_mcp_tool/
815
869
  ├── mcp_server.py # Main server (FastMCP, transports)
816
- ├── tools/ # 224 MCP tools organized by category
870
+ ├── tools/ # 253 MCP tools organized by category
817
871
  │ ├── pods.py # Pod management & diagnostics
818
872
  │ ├── deployments.py # Deployments, StatefulSets, DaemonSets
819
873
  │ ├── core.py # Namespaces, ConfigMaps, Secrets
@@ -835,15 +889,16 @@ kubectl_mcp_tool/
835
889
  │ ├── rollouts.py # Argo Rollouts/Flagger
836
890
  │ ├── capi.py # Cluster API
837
891
  │ ├── kubevirt.py # KubeVirt VMs
838
- └── kiali.py # Istio/Kiali service mesh
892
+ ├── kiali.py # Istio/Kiali service mesh
893
+ │ └── vind.py # vCluster (virtual clusters)
839
894
  ├── resources/ # 8 MCP Resources for data exposure
840
895
  ├── prompts/ # 8 MCP Prompts for workflows
841
896
  └── cli/ # CLI interface
842
897
  ```
843
898
 
844
- ## Agent Skills (24 Skills for AI Coding Agents)
899
+ ## Agent Skills (25 Skills for AI Coding Agents)
845
900
 
846
- Extend your AI coding agent with Kubernetes expertise using our [Agent Skills](https://agentskills.io) library. Skills provide specialized knowledge and workflows that agents can load on demand.
901
+ Extend your AI coding agent with Kubernetes expertise using our [Agent Skills](https://agenstskills.com) library. Skills provide specialized knowledge and workflows that agents can load on demand.
847
902
 
848
903
  ### Quick Install
849
904
 
@@ -855,7 +910,7 @@ cp -r kubernetes-skills/claude/* ~/.claude/skills/
855
910
  cp -r kubernetes-skills/claude/k8s-helm ~/.claude/skills/
856
911
  ```
857
912
 
858
- ### Available Skills (24)
913
+ ### Available Skills (25)
859
914
 
860
915
  | Category | Skills |
861
916
  |----------|--------|
@@ -865,7 +920,7 @@ cp -r kubernetes-skills/claude/k8s-helm ~/.claude/skills/
865
920
  | **Security** | k8s-security, k8s-policy, k8s-certs |
866
921
  | **GitOps** | k8s-gitops, k8s-rollouts |
867
922
  | **Scaling** | k8s-autoscaling, k8s-cost, k8s-backup |
868
- | **Multi-Cluster** | k8s-multicluster, k8s-capi, k8s-kubevirt |
923
+ | **Multi-Cluster** | k8s-multicluster, k8s-capi, k8s-kubevirt, k8s-vind |
869
924
  | **Networking** | k8s-service-mesh, k8s-cilium |
870
925
  | **Tools** | k8s-browser, k8s-cli |
871
926
 
@@ -893,7 +948,8 @@ Seamlessly manage multiple Kubernetes clusters through natural language. **Every
893
948
 
894
949
  ### Context Parameter (v1.15.0)
895
950
 
896
- All 224 tools accept an optional `context` parameter to target specific clusters:
951
+ Most kubectl-backed tools accept an optional `context` parameter to target specific clusters.
952
+ Note: vCluster (vind) and kind tools run via their local CLIs and do not accept the `context` parameter.
897
953
 
898
954
  **Talk to your AI assistant:**
899
955
  ```
@@ -982,7 +1038,7 @@ pytest tests/ -v -m unit
982
1038
  tests/
983
1039
  ├── __init__.py # Test package
984
1040
  ├── conftest.py # Shared fixtures and mocks
985
- ├── test_tools.py # Unit tests for 224 MCP tools
1041
+ ├── test_tools.py # Unit tests for 253 MCP tools
986
1042
  ├── test_resources.py # Tests for 8 MCP Resources
987
1043
  ├── test_prompts.py # Tests for 8 MCP Prompts
988
1044
  └── test_server.py # Server initialization tests
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kubectl-mcp-server",
3
- "version": "1.19.3",
4
- "description": "A Model Context Protocol (MCP) server for Kubernetes with 235+ tools, 8 resources, and 8 prompts for AI assistants",
3
+ "version": "1.22.0",
4
+ "description": "A Model Context Protocol (MCP) server for Kubernetes with 270+ tools, 8 resources, and 8 prompts for AI assistants",
5
5
  "keywords": [
6
6
  "kubernetes",
7
7
  "kubectl",