kubectl-mcp-server 1.15.0__tar.gz → 1.16.0__tar.gz
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.
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/PKG-INFO +34 -13
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/README.md +32 -11
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_server.egg-info/PKG-INFO +34 -13
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_server.egg-info/SOURCES.txt +12 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/__init__.py +1 -1
- kubectl_mcp_server-1.16.0/kubectl_mcp_tool/crd_detector.py +247 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/k8s_config.py +19 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/mcp_server.py +27 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/__init__.py +20 -0
- kubectl_mcp_server-1.16.0/kubectl_mcp_tool/tools/backup.py +881 -0
- kubectl_mcp_server-1.16.0/kubectl_mcp_tool/tools/capi.py +727 -0
- kubectl_mcp_server-1.16.0/kubectl_mcp_tool/tools/certs.py +709 -0
- kubectl_mcp_server-1.16.0/kubectl_mcp_tool/tools/cilium.py +582 -0
- kubectl_mcp_server-1.16.0/kubectl_mcp_tool/tools/gitops.py +552 -0
- kubectl_mcp_server-1.16.0/kubectl_mcp_tool/tools/keda.py +464 -0
- kubectl_mcp_server-1.16.0/kubectl_mcp_tool/tools/kiali.py +652 -0
- kubectl_mcp_server-1.16.0/kubectl_mcp_tool/tools/kubevirt.py +803 -0
- kubectl_mcp_server-1.16.0/kubectl_mcp_tool/tools/policy.py +554 -0
- kubectl_mcp_server-1.16.0/kubectl_mcp_tool/tools/rollouts.py +790 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/setup.py +2 -2
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/tests/test_browser.py +2 -2
- kubectl_mcp_server-1.16.0/tests/test_ecosystem.py +331 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/tests/test_tools.py +70 -8
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/LICENSE +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_server.egg-info/dependency_links.txt +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_server.egg-info/entry_points.txt +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_server.egg-info/requires.txt +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_server.egg-info/top_level.txt +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/__main__.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/auth/__init__.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/auth/config.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/auth/scopes.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/auth/verifier.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/cli/__init__.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/cli/__main__.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/cli/cli.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/cli/errors.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/cli/output.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/diagnostics.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/prompts/__init__.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/prompts/prompts.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/resources/__init__.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/resources/resources.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/browser.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/cluster.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/core.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/cost.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/deployments.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/diagnostics.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/helm.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/networking.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/operations.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/pods.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/security.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/storage.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/tools/ui.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/utils/__init__.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_tool/utils/helpers.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/setup.cfg +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/tests/__init__.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/tests/conftest.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/tests/test_auth.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/tests/test_cli.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/tests/test_prompts.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/tests/test_resources.py +0 -0
- {kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/tests/test_server.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kubectl-mcp-server
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: A Model Context Protocol (MCP) server for Kubernetes with
|
|
3
|
+
Version: 1.16.0
|
|
4
|
+
Summary: A Model Context Protocol (MCP) server for Kubernetes with 220+ tools, 8 resources, and 8 prompts
|
|
5
5
|
Home-page: https://github.com/rohitg00/kubectl-mcp-server
|
|
6
6
|
Author: Rohit Ghumare
|
|
7
7
|
Author-email: ghumare64@gmail.com
|
|
@@ -70,7 +70,7 @@ Talk to your clusters like you talk to a DevOps expert. Debug crashed pods, opti
|
|
|
70
70
|
[](https://pypi.org/project/kubectl-mcp-server/)
|
|
71
71
|
[](https://www.npmjs.com/package/kubectl-mcp-server)
|
|
72
72
|
[](https://hub.docker.com/r/rohitghumare64/kubectl-mcp-server)
|
|
73
|
-
[](https://github.com/rohitg00/kubectl-mcp-server)
|
|
74
74
|
[](https://aregistry.ai)
|
|
75
75
|
|
|
76
76
|
---
|
|
@@ -155,7 +155,7 @@ Simply ask your AI assistant in natural language:
|
|
|
155
155
|
- Interactive HTML dashboards with live metrics
|
|
156
156
|
- Visual timeline of events and resource usage
|
|
157
157
|
|
|
158
|
-
**
|
|
158
|
+
**224 powerful tools** | **8 workflow prompts** | **8 data resources** | **Works with all major AI assistants**
|
|
159
159
|
|
|
160
160
|
## Why kubectl-mcp-server?
|
|
161
161
|
|
|
@@ -456,7 +456,7 @@ Add to `~/.config/roo-code/mcp.json` or `~/.config/kilo-code/mcp.json`:
|
|
|
456
456
|
|
|
457
457
|
## Complete Feature Set
|
|
458
458
|
|
|
459
|
-
###
|
|
459
|
+
### 224 MCP Tools for Complete Kubernetes Management
|
|
460
460
|
|
|
461
461
|
| Category | Tools |
|
|
462
462
|
|----------|-------|
|
|
@@ -481,6 +481,16 @@ Add to `~/.config/roo-code/mcp.json` or `~/.config/kilo-code/mcp.json`:
|
|
|
481
481
|
| **Cost Optimization** | `get_resource_recommendations`, `get_idle_resources`, `get_resource_quotas_usage`, `get_cost_analysis`, `get_overprovisioned_resources`, `get_resource_trends`, `get_namespace_cost_allocation`, `optimize_resource_requests` |
|
|
482
482
|
| **Advanced** | `kubectl_generic`, `kubectl_explain`, `get_api_resources`, `port_forward`, `get_resource_usage`, `node_management` |
|
|
483
483
|
| **UI Dashboards** | `show_pod_logs_ui`, `show_pods_dashboard_ui`, `show_resource_yaml_ui`, `show_cluster_overview_ui`, `show_events_timeline_ui`, `render_k8s_dashboard_screenshot` |
|
|
484
|
+
| **GitOps (Flux/Argo)** | `gitops_apps_list`, `gitops_app_get`, `gitops_app_sync`, `gitops_app_status`, `gitops_sources_list`, `gitops_source_get`, `gitops_detect_engine` |
|
|
485
|
+
| **Cert-Manager** | `certs_list`, `certs_get`, `certs_issuers_list`, `certs_issuer_get`, `certs_renew`, `certs_status_explain`, `certs_challenges_list`, `certs_requests_list`, `certs_detect` |
|
|
486
|
+
| **Policy (Kyverno/Gatekeeper)** | `policy_list`, `policy_get`, `policy_violations_list`, `policy_explain_denial`, `policy_audit`, `policy_detect` |
|
|
487
|
+
| **Backup (Velero)** | `backup_list`, `backup_get`, `backup_create`, `backup_delete`, `restore_list`, `restore_create`, `restore_get`, `backup_locations_list`, `backup_schedules_list`, `backup_schedule_create`, `backup_detect` |
|
|
488
|
+
| **KEDA Autoscaling** | `keda_scaledobjects_list`, `keda_scaledobject_get`, `keda_scaledjobs_list`, `keda_triggerauths_list`, `keda_triggerauth_get`, `keda_hpa_list`, `keda_detect` |
|
|
489
|
+
| **Cilium/Hubble** | `cilium_policies_list`, `cilium_policy_get`, `cilium_endpoints_list`, `cilium_identities_list`, `cilium_nodes_list`, `cilium_status`, `hubble_flows_query`, `cilium_detect` |
|
|
490
|
+
| **Argo Rollouts/Flagger** | `rollouts_list`, `rollout_get`, `rollout_status`, `rollout_promote`, `rollout_abort`, `rollout_retry`, `rollout_restart`, `analysis_runs_list`, `flagger_canaries_list`, `flagger_canary_get`, `rollouts_detect` |
|
|
491
|
+
| **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` |
|
|
492
|
+
| **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` |
|
|
493
|
+
| **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` |
|
|
484
494
|
|
|
485
495
|
### MCP Resources
|
|
486
496
|
|
|
@@ -520,11 +530,12 @@ Pre-built workflow prompts for common Kubernetes operations:
|
|
|
520
530
|
|
|
521
531
|
### Key Capabilities
|
|
522
532
|
|
|
523
|
-
- 🤖 **
|
|
533
|
+
- 🤖 **224 Powerful Tools** - Complete Kubernetes management from pods to security
|
|
524
534
|
- 🎯 **8 AI Workflow Prompts** - Pre-built workflows for common operations
|
|
525
535
|
- 📊 **8 MCP Resources** - Browsable Kubernetes data exposure
|
|
526
536
|
- 🎨 **6 Interactive Dashboards** - HTML UI tools for visual cluster management
|
|
527
537
|
- 🌐 **26 Browser Tools** - Web automation with cloud provider support
|
|
538
|
+
- 🔄 **93 Ecosystem Tools** - GitOps, Cert-Manager, Policy, Backup, KEDA, Cilium, Rollouts, CAPI, KubeVirt, Istio
|
|
528
539
|
- ⚡ **Multi-Transport** - stdio, SSE, HTTP, streamable-http
|
|
529
540
|
- 🔐 **Security First** - Non-destructive mode, secret masking, RBAC validation
|
|
530
541
|
- 🏥 **Advanced Diagnostics** - AI-powered troubleshooting and cost optimization
|
|
@@ -759,7 +770,7 @@ EOF
|
|
|
759
770
|
agentgateway --config gateway.yaml
|
|
760
771
|
```
|
|
761
772
|
|
|
762
|
-
Connect clients to `http://localhost:3000/mcp` for unified access to all
|
|
773
|
+
Connect clients to `http://localhost:3000/mcp` for unified access to all 224 tools.
|
|
763
774
|
|
|
764
775
|
## In-Cluster Deployment
|
|
765
776
|
|
|
@@ -818,7 +829,7 @@ kubectl apply -f deploy/kagent/toolserver-stdio.yaml
|
|
|
818
829
|
kagent dashboard
|
|
819
830
|
```
|
|
820
831
|
|
|
821
|
-
Your AI agents now have access to all
|
|
832
|
+
Your AI agents now have access to all 224 Kubernetes tools. See [kagent quickstart](https://kagent.dev/docs/kagent/getting-started/quickstart).
|
|
822
833
|
|
|
823
834
|
## Architecture
|
|
824
835
|
|
|
@@ -836,7 +847,7 @@ The MCP server implements the [Model Context Protocol](https://github.com/modelc
|
|
|
836
847
|
```
|
|
837
848
|
kubectl_mcp_tool/
|
|
838
849
|
├── mcp_server.py # Main server (FastMCP, transports)
|
|
839
|
-
├── tools/ #
|
|
850
|
+
├── tools/ # 224 MCP tools organized by category
|
|
840
851
|
│ ├── pods.py # Pod management & diagnostics
|
|
841
852
|
│ ├── deployments.py # Deployments, StatefulSets, DaemonSets
|
|
842
853
|
│ ├── core.py # Namespaces, ConfigMaps, Secrets
|
|
@@ -848,7 +859,17 @@ kubectl_mcp_tool/
|
|
|
848
859
|
│ ├── operations.py # kubectl apply/patch/describe/etc
|
|
849
860
|
│ ├── diagnostics.py # Metrics, namespace comparison
|
|
850
861
|
│ ├── cost.py # Resource optimization & cost analysis
|
|
851
|
-
│
|
|
862
|
+
│ ├── ui.py # MCP-UI interactive dashboards
|
|
863
|
+
│ ├── gitops.py # GitOps (Flux/ArgoCD)
|
|
864
|
+
│ ├── certs.py # Cert-Manager
|
|
865
|
+
│ ├── policy.py # Policy (Kyverno/Gatekeeper)
|
|
866
|
+
│ ├── backup.py # Backup (Velero)
|
|
867
|
+
│ ├── keda.py # KEDA autoscaling
|
|
868
|
+
│ ├── cilium.py # Cilium/Hubble network observability
|
|
869
|
+
│ ├── rollouts.py # Argo Rollouts/Flagger
|
|
870
|
+
│ ├── capi.py # Cluster API
|
|
871
|
+
│ ├── kubevirt.py # KubeVirt VMs
|
|
872
|
+
│ └── kiali.py # Istio/Kiali service mesh
|
|
852
873
|
├── resources/ # 8 MCP Resources for data exposure
|
|
853
874
|
├── prompts/ # 8 MCP Prompts for workflows
|
|
854
875
|
└── cli/ # CLI interface
|
|
@@ -860,7 +881,7 @@ Seamlessly manage multiple Kubernetes clusters through natural language. **Every
|
|
|
860
881
|
|
|
861
882
|
### Context Parameter (v1.15.0)
|
|
862
883
|
|
|
863
|
-
All
|
|
884
|
+
All 224 tools accept an optional `context` parameter to target specific clusters:
|
|
864
885
|
|
|
865
886
|
**Talk to your AI assistant:**
|
|
866
887
|
```
|
|
@@ -949,13 +970,13 @@ pytest tests/ -v -m unit
|
|
|
949
970
|
tests/
|
|
950
971
|
├── __init__.py # Test package
|
|
951
972
|
├── conftest.py # Shared fixtures and mocks
|
|
952
|
-
├── test_tools.py # Unit tests for
|
|
973
|
+
├── test_tools.py # Unit tests for 224 MCP tools
|
|
953
974
|
├── test_resources.py # Tests for 8 MCP Resources
|
|
954
975
|
├── test_prompts.py # Tests for 8 MCP Prompts
|
|
955
976
|
└── test_server.py # Server initialization tests
|
|
956
977
|
```
|
|
957
978
|
|
|
958
|
-
**
|
|
979
|
+
**234 tests covering**: tool registration, resource exposure, prompt generation, server initialization, non-destructive mode, secret masking, error handling, transport methods, CLI commands, browser automation, and ecosystem tools.
|
|
959
980
|
|
|
960
981
|
### Code Quality
|
|
961
982
|
|
|
@@ -12,7 +12,7 @@ Talk to your clusters like you talk to a DevOps expert. Debug crashed pods, opti
|
|
|
12
12
|
[](https://pypi.org/project/kubectl-mcp-server/)
|
|
13
13
|
[](https://www.npmjs.com/package/kubectl-mcp-server)
|
|
14
14
|
[](https://hub.docker.com/r/rohitghumare64/kubectl-mcp-server)
|
|
15
|
-
[](https://github.com/rohitg00/kubectl-mcp-server)
|
|
16
16
|
[](https://aregistry.ai)
|
|
17
17
|
|
|
18
18
|
---
|
|
@@ -97,7 +97,7 @@ Simply ask your AI assistant in natural language:
|
|
|
97
97
|
- Interactive HTML dashboards with live metrics
|
|
98
98
|
- Visual timeline of events and resource usage
|
|
99
99
|
|
|
100
|
-
**
|
|
100
|
+
**224 powerful tools** | **8 workflow prompts** | **8 data resources** | **Works with all major AI assistants**
|
|
101
101
|
|
|
102
102
|
## Why kubectl-mcp-server?
|
|
103
103
|
|
|
@@ -398,7 +398,7 @@ Add to `~/.config/roo-code/mcp.json` or `~/.config/kilo-code/mcp.json`:
|
|
|
398
398
|
|
|
399
399
|
## Complete Feature Set
|
|
400
400
|
|
|
401
|
-
###
|
|
401
|
+
### 224 MCP Tools for Complete Kubernetes Management
|
|
402
402
|
|
|
403
403
|
| Category | Tools |
|
|
404
404
|
|----------|-------|
|
|
@@ -423,6 +423,16 @@ Add to `~/.config/roo-code/mcp.json` or `~/.config/kilo-code/mcp.json`:
|
|
|
423
423
|
| **Cost Optimization** | `get_resource_recommendations`, `get_idle_resources`, `get_resource_quotas_usage`, `get_cost_analysis`, `get_overprovisioned_resources`, `get_resource_trends`, `get_namespace_cost_allocation`, `optimize_resource_requests` |
|
|
424
424
|
| **Advanced** | `kubectl_generic`, `kubectl_explain`, `get_api_resources`, `port_forward`, `get_resource_usage`, `node_management` |
|
|
425
425
|
| **UI Dashboards** | `show_pod_logs_ui`, `show_pods_dashboard_ui`, `show_resource_yaml_ui`, `show_cluster_overview_ui`, `show_events_timeline_ui`, `render_k8s_dashboard_screenshot` |
|
|
426
|
+
| **GitOps (Flux/Argo)** | `gitops_apps_list`, `gitops_app_get`, `gitops_app_sync`, `gitops_app_status`, `gitops_sources_list`, `gitops_source_get`, `gitops_detect_engine` |
|
|
427
|
+
| **Cert-Manager** | `certs_list`, `certs_get`, `certs_issuers_list`, `certs_issuer_get`, `certs_renew`, `certs_status_explain`, `certs_challenges_list`, `certs_requests_list`, `certs_detect` |
|
|
428
|
+
| **Policy (Kyverno/Gatekeeper)** | `policy_list`, `policy_get`, `policy_violations_list`, `policy_explain_denial`, `policy_audit`, `policy_detect` |
|
|
429
|
+
| **Backup (Velero)** | `backup_list`, `backup_get`, `backup_create`, `backup_delete`, `restore_list`, `restore_create`, `restore_get`, `backup_locations_list`, `backup_schedules_list`, `backup_schedule_create`, `backup_detect` |
|
|
430
|
+
| **KEDA Autoscaling** | `keda_scaledobjects_list`, `keda_scaledobject_get`, `keda_scaledjobs_list`, `keda_triggerauths_list`, `keda_triggerauth_get`, `keda_hpa_list`, `keda_detect` |
|
|
431
|
+
| **Cilium/Hubble** | `cilium_policies_list`, `cilium_policy_get`, `cilium_endpoints_list`, `cilium_identities_list`, `cilium_nodes_list`, `cilium_status`, `hubble_flows_query`, `cilium_detect` |
|
|
432
|
+
| **Argo Rollouts/Flagger** | `rollouts_list`, `rollout_get`, `rollout_status`, `rollout_promote`, `rollout_abort`, `rollout_retry`, `rollout_restart`, `analysis_runs_list`, `flagger_canaries_list`, `flagger_canary_get`, `rollouts_detect` |
|
|
433
|
+
| **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` |
|
|
434
|
+
| **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` |
|
|
435
|
+
| **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` |
|
|
426
436
|
|
|
427
437
|
### MCP Resources
|
|
428
438
|
|
|
@@ -462,11 +472,12 @@ Pre-built workflow prompts for common Kubernetes operations:
|
|
|
462
472
|
|
|
463
473
|
### Key Capabilities
|
|
464
474
|
|
|
465
|
-
- 🤖 **
|
|
475
|
+
- 🤖 **224 Powerful Tools** - Complete Kubernetes management from pods to security
|
|
466
476
|
- 🎯 **8 AI Workflow Prompts** - Pre-built workflows for common operations
|
|
467
477
|
- 📊 **8 MCP Resources** - Browsable Kubernetes data exposure
|
|
468
478
|
- 🎨 **6 Interactive Dashboards** - HTML UI tools for visual cluster management
|
|
469
479
|
- 🌐 **26 Browser Tools** - Web automation with cloud provider support
|
|
480
|
+
- 🔄 **93 Ecosystem Tools** - GitOps, Cert-Manager, Policy, Backup, KEDA, Cilium, Rollouts, CAPI, KubeVirt, Istio
|
|
470
481
|
- ⚡ **Multi-Transport** - stdio, SSE, HTTP, streamable-http
|
|
471
482
|
- 🔐 **Security First** - Non-destructive mode, secret masking, RBAC validation
|
|
472
483
|
- 🏥 **Advanced Diagnostics** - AI-powered troubleshooting and cost optimization
|
|
@@ -701,7 +712,7 @@ EOF
|
|
|
701
712
|
agentgateway --config gateway.yaml
|
|
702
713
|
```
|
|
703
714
|
|
|
704
|
-
Connect clients to `http://localhost:3000/mcp` for unified access to all
|
|
715
|
+
Connect clients to `http://localhost:3000/mcp` for unified access to all 224 tools.
|
|
705
716
|
|
|
706
717
|
## In-Cluster Deployment
|
|
707
718
|
|
|
@@ -760,7 +771,7 @@ kubectl apply -f deploy/kagent/toolserver-stdio.yaml
|
|
|
760
771
|
kagent dashboard
|
|
761
772
|
```
|
|
762
773
|
|
|
763
|
-
Your AI agents now have access to all
|
|
774
|
+
Your AI agents now have access to all 224 Kubernetes tools. See [kagent quickstart](https://kagent.dev/docs/kagent/getting-started/quickstart).
|
|
764
775
|
|
|
765
776
|
## Architecture
|
|
766
777
|
|
|
@@ -778,7 +789,7 @@ The MCP server implements the [Model Context Protocol](https://github.com/modelc
|
|
|
778
789
|
```
|
|
779
790
|
kubectl_mcp_tool/
|
|
780
791
|
├── mcp_server.py # Main server (FastMCP, transports)
|
|
781
|
-
├── tools/ #
|
|
792
|
+
├── tools/ # 224 MCP tools organized by category
|
|
782
793
|
│ ├── pods.py # Pod management & diagnostics
|
|
783
794
|
│ ├── deployments.py # Deployments, StatefulSets, DaemonSets
|
|
784
795
|
│ ├── core.py # Namespaces, ConfigMaps, Secrets
|
|
@@ -790,7 +801,17 @@ kubectl_mcp_tool/
|
|
|
790
801
|
│ ├── operations.py # kubectl apply/patch/describe/etc
|
|
791
802
|
│ ├── diagnostics.py # Metrics, namespace comparison
|
|
792
803
|
│ ├── cost.py # Resource optimization & cost analysis
|
|
793
|
-
│
|
|
804
|
+
│ ├── ui.py # MCP-UI interactive dashboards
|
|
805
|
+
│ ├── gitops.py # GitOps (Flux/ArgoCD)
|
|
806
|
+
│ ├── certs.py # Cert-Manager
|
|
807
|
+
│ ├── policy.py # Policy (Kyverno/Gatekeeper)
|
|
808
|
+
│ ├── backup.py # Backup (Velero)
|
|
809
|
+
│ ├── keda.py # KEDA autoscaling
|
|
810
|
+
│ ├── cilium.py # Cilium/Hubble network observability
|
|
811
|
+
│ ├── rollouts.py # Argo Rollouts/Flagger
|
|
812
|
+
│ ├── capi.py # Cluster API
|
|
813
|
+
│ ├── kubevirt.py # KubeVirt VMs
|
|
814
|
+
│ └── kiali.py # Istio/Kiali service mesh
|
|
794
815
|
├── resources/ # 8 MCP Resources for data exposure
|
|
795
816
|
├── prompts/ # 8 MCP Prompts for workflows
|
|
796
817
|
└── cli/ # CLI interface
|
|
@@ -802,7 +823,7 @@ Seamlessly manage multiple Kubernetes clusters through natural language. **Every
|
|
|
802
823
|
|
|
803
824
|
### Context Parameter (v1.15.0)
|
|
804
825
|
|
|
805
|
-
All
|
|
826
|
+
All 224 tools accept an optional `context` parameter to target specific clusters:
|
|
806
827
|
|
|
807
828
|
**Talk to your AI assistant:**
|
|
808
829
|
```
|
|
@@ -891,13 +912,13 @@ pytest tests/ -v -m unit
|
|
|
891
912
|
tests/
|
|
892
913
|
├── __init__.py # Test package
|
|
893
914
|
├── conftest.py # Shared fixtures and mocks
|
|
894
|
-
├── test_tools.py # Unit tests for
|
|
915
|
+
├── test_tools.py # Unit tests for 224 MCP tools
|
|
895
916
|
├── test_resources.py # Tests for 8 MCP Resources
|
|
896
917
|
├── test_prompts.py # Tests for 8 MCP Prompts
|
|
897
918
|
└── test_server.py # Server initialization tests
|
|
898
919
|
```
|
|
899
920
|
|
|
900
|
-
**
|
|
921
|
+
**234 tests covering**: tool registration, resource exposure, prompt generation, server initialization, non-destructive mode, secret masking, error handling, transport methods, CLI commands, browser automation, and ecosystem tools.
|
|
901
922
|
|
|
902
923
|
### Code Quality
|
|
903
924
|
|
{kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_server.egg-info/PKG-INFO
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kubectl-mcp-server
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: A Model Context Protocol (MCP) server for Kubernetes with
|
|
3
|
+
Version: 1.16.0
|
|
4
|
+
Summary: A Model Context Protocol (MCP) server for Kubernetes with 220+ tools, 8 resources, and 8 prompts
|
|
5
5
|
Home-page: https://github.com/rohitg00/kubectl-mcp-server
|
|
6
6
|
Author: Rohit Ghumare
|
|
7
7
|
Author-email: ghumare64@gmail.com
|
|
@@ -70,7 +70,7 @@ Talk to your clusters like you talk to a DevOps expert. Debug crashed pods, opti
|
|
|
70
70
|
[](https://pypi.org/project/kubectl-mcp-server/)
|
|
71
71
|
[](https://www.npmjs.com/package/kubectl-mcp-server)
|
|
72
72
|
[](https://hub.docker.com/r/rohitghumare64/kubectl-mcp-server)
|
|
73
|
-
[](https://github.com/rohitg00/kubectl-mcp-server)
|
|
74
74
|
[](https://aregistry.ai)
|
|
75
75
|
|
|
76
76
|
---
|
|
@@ -155,7 +155,7 @@ Simply ask your AI assistant in natural language:
|
|
|
155
155
|
- Interactive HTML dashboards with live metrics
|
|
156
156
|
- Visual timeline of events and resource usage
|
|
157
157
|
|
|
158
|
-
**
|
|
158
|
+
**224 powerful tools** | **8 workflow prompts** | **8 data resources** | **Works with all major AI assistants**
|
|
159
159
|
|
|
160
160
|
## Why kubectl-mcp-server?
|
|
161
161
|
|
|
@@ -456,7 +456,7 @@ Add to `~/.config/roo-code/mcp.json` or `~/.config/kilo-code/mcp.json`:
|
|
|
456
456
|
|
|
457
457
|
## Complete Feature Set
|
|
458
458
|
|
|
459
|
-
###
|
|
459
|
+
### 224 MCP Tools for Complete Kubernetes Management
|
|
460
460
|
|
|
461
461
|
| Category | Tools |
|
|
462
462
|
|----------|-------|
|
|
@@ -481,6 +481,16 @@ Add to `~/.config/roo-code/mcp.json` or `~/.config/kilo-code/mcp.json`:
|
|
|
481
481
|
| **Cost Optimization** | `get_resource_recommendations`, `get_idle_resources`, `get_resource_quotas_usage`, `get_cost_analysis`, `get_overprovisioned_resources`, `get_resource_trends`, `get_namespace_cost_allocation`, `optimize_resource_requests` |
|
|
482
482
|
| **Advanced** | `kubectl_generic`, `kubectl_explain`, `get_api_resources`, `port_forward`, `get_resource_usage`, `node_management` |
|
|
483
483
|
| **UI Dashboards** | `show_pod_logs_ui`, `show_pods_dashboard_ui`, `show_resource_yaml_ui`, `show_cluster_overview_ui`, `show_events_timeline_ui`, `render_k8s_dashboard_screenshot` |
|
|
484
|
+
| **GitOps (Flux/Argo)** | `gitops_apps_list`, `gitops_app_get`, `gitops_app_sync`, `gitops_app_status`, `gitops_sources_list`, `gitops_source_get`, `gitops_detect_engine` |
|
|
485
|
+
| **Cert-Manager** | `certs_list`, `certs_get`, `certs_issuers_list`, `certs_issuer_get`, `certs_renew`, `certs_status_explain`, `certs_challenges_list`, `certs_requests_list`, `certs_detect` |
|
|
486
|
+
| **Policy (Kyverno/Gatekeeper)** | `policy_list`, `policy_get`, `policy_violations_list`, `policy_explain_denial`, `policy_audit`, `policy_detect` |
|
|
487
|
+
| **Backup (Velero)** | `backup_list`, `backup_get`, `backup_create`, `backup_delete`, `restore_list`, `restore_create`, `restore_get`, `backup_locations_list`, `backup_schedules_list`, `backup_schedule_create`, `backup_detect` |
|
|
488
|
+
| **KEDA Autoscaling** | `keda_scaledobjects_list`, `keda_scaledobject_get`, `keda_scaledjobs_list`, `keda_triggerauths_list`, `keda_triggerauth_get`, `keda_hpa_list`, `keda_detect` |
|
|
489
|
+
| **Cilium/Hubble** | `cilium_policies_list`, `cilium_policy_get`, `cilium_endpoints_list`, `cilium_identities_list`, `cilium_nodes_list`, `cilium_status`, `hubble_flows_query`, `cilium_detect` |
|
|
490
|
+
| **Argo Rollouts/Flagger** | `rollouts_list`, `rollout_get`, `rollout_status`, `rollout_promote`, `rollout_abort`, `rollout_retry`, `rollout_restart`, `analysis_runs_list`, `flagger_canaries_list`, `flagger_canary_get`, `rollouts_detect` |
|
|
491
|
+
| **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` |
|
|
492
|
+
| **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` |
|
|
493
|
+
| **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` |
|
|
484
494
|
|
|
485
495
|
### MCP Resources
|
|
486
496
|
|
|
@@ -520,11 +530,12 @@ Pre-built workflow prompts for common Kubernetes operations:
|
|
|
520
530
|
|
|
521
531
|
### Key Capabilities
|
|
522
532
|
|
|
523
|
-
- 🤖 **
|
|
533
|
+
- 🤖 **224 Powerful Tools** - Complete Kubernetes management from pods to security
|
|
524
534
|
- 🎯 **8 AI Workflow Prompts** - Pre-built workflows for common operations
|
|
525
535
|
- 📊 **8 MCP Resources** - Browsable Kubernetes data exposure
|
|
526
536
|
- 🎨 **6 Interactive Dashboards** - HTML UI tools for visual cluster management
|
|
527
537
|
- 🌐 **26 Browser Tools** - Web automation with cloud provider support
|
|
538
|
+
- 🔄 **93 Ecosystem Tools** - GitOps, Cert-Manager, Policy, Backup, KEDA, Cilium, Rollouts, CAPI, KubeVirt, Istio
|
|
528
539
|
- ⚡ **Multi-Transport** - stdio, SSE, HTTP, streamable-http
|
|
529
540
|
- 🔐 **Security First** - Non-destructive mode, secret masking, RBAC validation
|
|
530
541
|
- 🏥 **Advanced Diagnostics** - AI-powered troubleshooting and cost optimization
|
|
@@ -759,7 +770,7 @@ EOF
|
|
|
759
770
|
agentgateway --config gateway.yaml
|
|
760
771
|
```
|
|
761
772
|
|
|
762
|
-
Connect clients to `http://localhost:3000/mcp` for unified access to all
|
|
773
|
+
Connect clients to `http://localhost:3000/mcp` for unified access to all 224 tools.
|
|
763
774
|
|
|
764
775
|
## In-Cluster Deployment
|
|
765
776
|
|
|
@@ -818,7 +829,7 @@ kubectl apply -f deploy/kagent/toolserver-stdio.yaml
|
|
|
818
829
|
kagent dashboard
|
|
819
830
|
```
|
|
820
831
|
|
|
821
|
-
Your AI agents now have access to all
|
|
832
|
+
Your AI agents now have access to all 224 Kubernetes tools. See [kagent quickstart](https://kagent.dev/docs/kagent/getting-started/quickstart).
|
|
822
833
|
|
|
823
834
|
## Architecture
|
|
824
835
|
|
|
@@ -836,7 +847,7 @@ The MCP server implements the [Model Context Protocol](https://github.com/modelc
|
|
|
836
847
|
```
|
|
837
848
|
kubectl_mcp_tool/
|
|
838
849
|
├── mcp_server.py # Main server (FastMCP, transports)
|
|
839
|
-
├── tools/ #
|
|
850
|
+
├── tools/ # 224 MCP tools organized by category
|
|
840
851
|
│ ├── pods.py # Pod management & diagnostics
|
|
841
852
|
│ ├── deployments.py # Deployments, StatefulSets, DaemonSets
|
|
842
853
|
│ ├── core.py # Namespaces, ConfigMaps, Secrets
|
|
@@ -848,7 +859,17 @@ kubectl_mcp_tool/
|
|
|
848
859
|
│ ├── operations.py # kubectl apply/patch/describe/etc
|
|
849
860
|
│ ├── diagnostics.py # Metrics, namespace comparison
|
|
850
861
|
│ ├── cost.py # Resource optimization & cost analysis
|
|
851
|
-
│
|
|
862
|
+
│ ├── ui.py # MCP-UI interactive dashboards
|
|
863
|
+
│ ├── gitops.py # GitOps (Flux/ArgoCD)
|
|
864
|
+
│ ├── certs.py # Cert-Manager
|
|
865
|
+
│ ├── policy.py # Policy (Kyverno/Gatekeeper)
|
|
866
|
+
│ ├── backup.py # Backup (Velero)
|
|
867
|
+
│ ├── keda.py # KEDA autoscaling
|
|
868
|
+
│ ├── cilium.py # Cilium/Hubble network observability
|
|
869
|
+
│ ├── rollouts.py # Argo Rollouts/Flagger
|
|
870
|
+
│ ├── capi.py # Cluster API
|
|
871
|
+
│ ├── kubevirt.py # KubeVirt VMs
|
|
872
|
+
│ └── kiali.py # Istio/Kiali service mesh
|
|
852
873
|
├── resources/ # 8 MCP Resources for data exposure
|
|
853
874
|
├── prompts/ # 8 MCP Prompts for workflows
|
|
854
875
|
└── cli/ # CLI interface
|
|
@@ -860,7 +881,7 @@ Seamlessly manage multiple Kubernetes clusters through natural language. **Every
|
|
|
860
881
|
|
|
861
882
|
### Context Parameter (v1.15.0)
|
|
862
883
|
|
|
863
|
-
All
|
|
884
|
+
All 224 tools accept an optional `context` parameter to target specific clusters:
|
|
864
885
|
|
|
865
886
|
**Talk to your AI assistant:**
|
|
866
887
|
```
|
|
@@ -949,13 +970,13 @@ pytest tests/ -v -m unit
|
|
|
949
970
|
tests/
|
|
950
971
|
├── __init__.py # Test package
|
|
951
972
|
├── conftest.py # Shared fixtures and mocks
|
|
952
|
-
├── test_tools.py # Unit tests for
|
|
973
|
+
├── test_tools.py # Unit tests for 224 MCP tools
|
|
953
974
|
├── test_resources.py # Tests for 8 MCP Resources
|
|
954
975
|
├── test_prompts.py # Tests for 8 MCP Prompts
|
|
955
976
|
└── test_server.py # Server initialization tests
|
|
956
977
|
```
|
|
957
978
|
|
|
958
|
-
**
|
|
979
|
+
**234 tests covering**: tool registration, resource exposure, prompt generation, server initialization, non-destructive mode, secret masking, error handling, transport methods, CLI commands, browser automation, and ecosystem tools.
|
|
959
980
|
|
|
960
981
|
### Code Quality
|
|
961
982
|
|
{kubectl_mcp_server-1.15.0 → kubectl_mcp_server-1.16.0}/kubectl_mcp_server.egg-info/SOURCES.txt
RENAMED
|
@@ -9,6 +9,7 @@ kubectl_mcp_server.egg-info/requires.txt
|
|
|
9
9
|
kubectl_mcp_server.egg-info/top_level.txt
|
|
10
10
|
kubectl_mcp_tool/__init__.py
|
|
11
11
|
kubectl_mcp_tool/__main__.py
|
|
12
|
+
kubectl_mcp_tool/crd_detector.py
|
|
12
13
|
kubectl_mcp_tool/diagnostics.py
|
|
13
14
|
kubectl_mcp_tool/k8s_config.py
|
|
14
15
|
kubectl_mcp_tool/mcp_server.py
|
|
@@ -26,16 +27,26 @@ kubectl_mcp_tool/prompts/prompts.py
|
|
|
26
27
|
kubectl_mcp_tool/resources/__init__.py
|
|
27
28
|
kubectl_mcp_tool/resources/resources.py
|
|
28
29
|
kubectl_mcp_tool/tools/__init__.py
|
|
30
|
+
kubectl_mcp_tool/tools/backup.py
|
|
29
31
|
kubectl_mcp_tool/tools/browser.py
|
|
32
|
+
kubectl_mcp_tool/tools/capi.py
|
|
33
|
+
kubectl_mcp_tool/tools/certs.py
|
|
34
|
+
kubectl_mcp_tool/tools/cilium.py
|
|
30
35
|
kubectl_mcp_tool/tools/cluster.py
|
|
31
36
|
kubectl_mcp_tool/tools/core.py
|
|
32
37
|
kubectl_mcp_tool/tools/cost.py
|
|
33
38
|
kubectl_mcp_tool/tools/deployments.py
|
|
34
39
|
kubectl_mcp_tool/tools/diagnostics.py
|
|
40
|
+
kubectl_mcp_tool/tools/gitops.py
|
|
35
41
|
kubectl_mcp_tool/tools/helm.py
|
|
42
|
+
kubectl_mcp_tool/tools/keda.py
|
|
43
|
+
kubectl_mcp_tool/tools/kiali.py
|
|
44
|
+
kubectl_mcp_tool/tools/kubevirt.py
|
|
36
45
|
kubectl_mcp_tool/tools/networking.py
|
|
37
46
|
kubectl_mcp_tool/tools/operations.py
|
|
38
47
|
kubectl_mcp_tool/tools/pods.py
|
|
48
|
+
kubectl_mcp_tool/tools/policy.py
|
|
49
|
+
kubectl_mcp_tool/tools/rollouts.py
|
|
39
50
|
kubectl_mcp_tool/tools/security.py
|
|
40
51
|
kubectl_mcp_tool/tools/storage.py
|
|
41
52
|
kubectl_mcp_tool/tools/ui.py
|
|
@@ -46,6 +57,7 @@ tests/conftest.py
|
|
|
46
57
|
tests/test_auth.py
|
|
47
58
|
tests/test_browser.py
|
|
48
59
|
tests/test_cli.py
|
|
60
|
+
tests/test_ecosystem.py
|
|
49
61
|
tests/test_prompts.py
|
|
50
62
|
tests/test_resources.py
|
|
51
63
|
tests/test_server.py
|
|
@@ -7,7 +7,7 @@ with Kubernetes clusters through natural language commands.
|
|
|
7
7
|
For more information, see: https://github.com/rohitg00/kubectl-mcp-server
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
-
__version__ = "1.
|
|
10
|
+
__version__ = "1.16.0"
|
|
11
11
|
|
|
12
12
|
from .mcp_server import MCPServer
|
|
13
13
|
from .diagnostics import run_diagnostics, check_kubectl_installation, check_cluster_connection
|