kubectl-mcp-server 1.19.0__py3-none-any.whl → 1.19.1__py3-none-any.whl
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.19.0.dist-info → kubectl_mcp_server-1.19.1.dist-info}/METADATA +88 -18
- {kubectl_mcp_server-1.19.0.dist-info → kubectl_mcp_server-1.19.1.dist-info}/RECORD +24 -22
- {kubectl_mcp_server-1.19.0.dist-info → kubectl_mcp_server-1.19.1.dist-info}/WHEEL +1 -1
- kubectl_mcp_tool/k8s_config.py +296 -277
- kubectl_mcp_tool/mcp_server.py +30 -0
- kubectl_mcp_tool/providers.py +347 -0
- kubectl_mcp_tool/tools/__init__.py +2 -1
- kubectl_mcp_tool/tools/backup.py +10 -47
- kubectl_mcp_tool/tools/capi.py +12 -56
- kubectl_mcp_tool/tools/certs.py +11 -29
- kubectl_mcp_tool/tools/cilium.py +10 -47
- kubectl_mcp_tool/tools/cluster.py +489 -9
- kubectl_mcp_tool/tools/gitops.py +12 -51
- kubectl_mcp_tool/tools/keda.py +9 -47
- kubectl_mcp_tool/tools/kiali.py +10 -50
- kubectl_mcp_tool/tools/kubevirt.py +11 -49
- kubectl_mcp_tool/tools/pods.py +93 -0
- kubectl_mcp_tool/tools/policy.py +11 -49
- kubectl_mcp_tool/tools/rollouts.py +11 -65
- kubectl_mcp_tool/tools/utils.py +41 -0
- tests/test_tools.py +44 -11
- {kubectl_mcp_server-1.19.0.dist-info → kubectl_mcp_server-1.19.1.dist-info}/entry_points.txt +0 -0
- {kubectl_mcp_server-1.19.0.dist-info → kubectl_mcp_server-1.19.1.dist-info}/licenses/LICENSE +0 -0
- {kubectl_mcp_server-1.19.0.dist-info → kubectl_mcp_server-1.19.1.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kubectl-mcp-server
|
|
3
|
-
Version: 1.19.
|
|
4
|
-
Summary: A Model Context Protocol (MCP) server for Kubernetes with
|
|
3
|
+
Version: 1.19.1
|
|
4
|
+
Summary: A Model Context Protocol (MCP) server for Kubernetes with 235+ 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
|
|
@@ -56,22 +56,32 @@ Dynamic: requires-dist
|
|
|
56
56
|
Dynamic: requires-python
|
|
57
57
|
Dynamic: summary
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
59
|
+
<p align="center">
|
|
60
|
+
<img src="logos/kubectl-mcp-server-icon.svg" alt="kubectl-mcp-server logo" width="80" height="80">
|
|
61
|
+
<br>
|
|
62
|
+
<strong style="font-size: 24px;">kubectl-mcp-server</strong>
|
|
63
|
+
</p>
|
|
64
|
+
|
|
65
|
+
<p align="center">
|
|
66
|
+
<b>Control your entire Kubernetes infrastructure through natural language conversations with AI.</b><br>
|
|
67
|
+
Talk to your clusters like you talk to a DevOps expert. Debug crashed pods, optimize costs, deploy applications, audit security, manage Helm charts, and visualize dashboards—all through natural language.
|
|
68
|
+
</p>
|
|
69
|
+
|
|
70
|
+
<p align="center">
|
|
71
|
+
<a href="https://github.com/rohitg00/kubectl-mcp-server"><img src="https://img.shields.io/github/stars/rohitg00/kubectl-mcp-server?style=flat&logo=github" alt="GitHub Stars"></a>
|
|
72
|
+
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
|
|
73
|
+
<a href="https://www.python.org/"><img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="Python"></a>
|
|
74
|
+
<a href="https://kubernetes.io/"><img src="https://img.shields.io/badge/kubernetes-%23326ce5.svg?style=flat&logo=kubernetes&logoColor=white" alt="Kubernetes"></a>
|
|
75
|
+
<a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP-compatible-green.svg" alt="MCP"></a>
|
|
76
|
+
</p>
|
|
77
|
+
|
|
78
|
+
<p align="center">
|
|
79
|
+
<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>
|
|
80
|
+
<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>
|
|
81
|
+
<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>
|
|
82
|
+
<a href="https://github.com/rohitg00/kubectl-mcp-server"><img src="https://img.shields.io/badge/tests-234%20passed-success" alt="Tests"></a>
|
|
83
|
+
<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>
|
|
84
|
+
</p>
|
|
75
85
|
|
|
76
86
|
---
|
|
77
87
|
|
|
@@ -121,6 +131,7 @@ pip install kubectl-mcp-server[ui]
|
|
|
121
131
|
- [In-Cluster Deployment](#in-cluster-deployment)
|
|
122
132
|
- [Multi-Cluster Support](#multi-cluster-support)
|
|
123
133
|
- [Architecture](#architecture)
|
|
134
|
+
- [Agent Skills](#agent-skills-24-skills-for-ai-coding-agents)
|
|
124
135
|
- [Development & Testing](#development--testing)
|
|
125
136
|
- [Contributing](#contributing)
|
|
126
137
|
- [Support & Community](#support--community)
|
|
@@ -203,6 +214,19 @@ pip install kubectl-mcp-server
|
|
|
203
214
|
pip install kubectl-mcp-server[ui]
|
|
204
215
|
```
|
|
205
216
|
|
|
217
|
+
### Install from GitHub Release
|
|
218
|
+
|
|
219
|
+
```bash
|
|
220
|
+
# Install specific version directly from GitHub release (replace {VERSION} with desired version)
|
|
221
|
+
pip install https://github.com/rohitg00/kubectl-mcp-server/releases/download/v{VERSION}/kubectl_mcp_server-{VERSION}-py3-none-any.whl
|
|
222
|
+
|
|
223
|
+
# Example: Install v1.19.0
|
|
224
|
+
pip install https://github.com/rohitg00/kubectl-mcp-server/releases/download/v1.19.0/kubectl_mcp_server-1.19.0-py3-none-any.whl
|
|
225
|
+
|
|
226
|
+
# Or install latest from git
|
|
227
|
+
pip install git+https://github.com/rohitg00/kubectl-mcp-server.git
|
|
228
|
+
```
|
|
229
|
+
|
|
206
230
|
### Prerequisites
|
|
207
231
|
- **Python 3.9+** (for pip installation)
|
|
208
232
|
- **Node.js 14+** (for npx installation)
|
|
@@ -875,6 +899,52 @@ kubectl_mcp_tool/
|
|
|
875
899
|
└── cli/ # CLI interface
|
|
876
900
|
```
|
|
877
901
|
|
|
902
|
+
## Agent Skills (24 Skills for AI Coding Agents)
|
|
903
|
+
|
|
904
|
+
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.
|
|
905
|
+
|
|
906
|
+
### Quick Install
|
|
907
|
+
|
|
908
|
+
```bash
|
|
909
|
+
# Copy all skills to Claude
|
|
910
|
+
cp -r kubernetes-skills/claude/* ~/.claude/skills/
|
|
911
|
+
|
|
912
|
+
# Or install specific skills
|
|
913
|
+
cp -r kubernetes-skills/claude/k8s-helm ~/.claude/skills/
|
|
914
|
+
```
|
|
915
|
+
|
|
916
|
+
### Available Skills (24)
|
|
917
|
+
|
|
918
|
+
| Category | Skills |
|
|
919
|
+
|----------|--------|
|
|
920
|
+
| **Core Resources** | k8s-core, k8s-networking, k8s-storage |
|
|
921
|
+
| **Workloads** | k8s-deploy, k8s-operations, k8s-helm |
|
|
922
|
+
| **Observability** | k8s-diagnostics, k8s-troubleshoot, k8s-incident |
|
|
923
|
+
| **Security** | k8s-security, k8s-policy, k8s-certs |
|
|
924
|
+
| **GitOps** | k8s-gitops, k8s-rollouts |
|
|
925
|
+
| **Scaling** | k8s-autoscaling, k8s-cost, k8s-backup |
|
|
926
|
+
| **Multi-Cluster** | k8s-multicluster, k8s-capi, k8s-kubevirt |
|
|
927
|
+
| **Networking** | k8s-service-mesh, k8s-cilium |
|
|
928
|
+
| **Tools** | k8s-browser, k8s-cli |
|
|
929
|
+
|
|
930
|
+
### Convert to Other Agents
|
|
931
|
+
|
|
932
|
+
Use [SkillKit](https://github.com/rohitg00/skillkit) to convert skills to your preferred AI agent format:
|
|
933
|
+
|
|
934
|
+
```bash
|
|
935
|
+
npm install -g skillkit
|
|
936
|
+
|
|
937
|
+
# Convert to Cursor format
|
|
938
|
+
skillkit translate kubernetes-skills/claude --to cursor --output .cursor/rules/
|
|
939
|
+
|
|
940
|
+
# Convert to Codex format
|
|
941
|
+
skillkit translate kubernetes-skills/claude --to codex --output ./
|
|
942
|
+
```
|
|
943
|
+
|
|
944
|
+
**Supported agents:** Claude, Cursor, Codex, Gemini CLI, GitHub Copilot, Goose, Windsurf, Roo, Amp, and more.
|
|
945
|
+
|
|
946
|
+
See [kubernetes-skills/README.md](kubernetes-skills/README.md) for full documentation.
|
|
947
|
+
|
|
878
948
|
## Multi-Cluster Support
|
|
879
949
|
|
|
880
950
|
Seamlessly manage multiple Kubernetes clusters through natural language. **Every tool** supports an optional `context` parameter to target any cluster without switching contexts.
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
kubectl_mcp_server-1.19.
|
|
1
|
+
kubectl_mcp_server-1.19.1.dist-info/licenses/LICENSE,sha256=nH9Z0W0WNH2oQ4cPrBAU8ldDcHfeI6NUbkSGiazYWgQ,1070
|
|
2
2
|
kubectl_mcp_tool/__init__.py,sha256=e_8lin1zD6cAw_MY-Uvgql-zjjoKlcF9zuO6kzCPbaU,580
|
|
3
3
|
kubectl_mcp_tool/__main__.py,sha256=CE6cTD6PA71Ap0i5_gE17Pb9FcedOJmtGRNzZ5-TFSc,1490
|
|
4
4
|
kubectl_mcp_tool/crd_detector.py,sha256=xLZSyg3iIe_MjSMI3mESe2VK8wGJzu40rJ7F72fULBs,7139
|
|
5
5
|
kubectl_mcp_tool/diagnostics.py,sha256=uwolSoHadRkB-J8PAsabbexfj6sTNCIIRRrABBRXoTU,11776
|
|
6
|
-
kubectl_mcp_tool/k8s_config.py,sha256=
|
|
7
|
-
kubectl_mcp_tool/mcp_server.py,sha256
|
|
6
|
+
kubectl_mcp_tool/k8s_config.py,sha256=NK8y4Un03Y-sOPIHM-hrR_PA-8BtdoXzyRZWuhMJIok,17909
|
|
7
|
+
kubectl_mcp_tool/mcp_server.py,sha256=mBsM-M2RggMm448ZQ-3xH5W88HFbdprPsRvqKYUovww,32503
|
|
8
|
+
kubectl_mcp_tool/providers.py,sha256=_LMpVbCWgFrsRO_u4krSw7wFNYapzp29WtiEh-sbBeY,11521
|
|
8
9
|
kubectl_mcp_tool/safety.py,sha256=7bx7tUH_hT4Y_eTnpH5knnHTsvnIZvI_0oo9MSBe_z8,5036
|
|
9
10
|
kubectl_mcp_tool/auth/__init__.py,sha256=ot8ivZZkDtV8Rg0y1UYruwobKCPyxX1svqh35wWxKvY,347
|
|
10
11
|
kubectl_mcp_tool/auth/config.py,sha256=wi3wuJNMyDqMeluDHL0MaJyedIFv5CFVxiUaEVaTvzk,2267
|
|
@@ -28,30 +29,31 @@ kubectl_mcp_tool/prompts/custom.py,sha256=ce4DmQLMh_UTKb4kbredekvvgI8GQWzuuB2H0P
|
|
|
28
29
|
kubectl_mcp_tool/prompts/prompts.py,sha256=ogDhU6FVsYIlig_QuIw-TblxR9GQJ3Xp8mJHLBcZ1z4,28263
|
|
29
30
|
kubectl_mcp_tool/resources/__init__.py,sha256=ERkn0ErlaGi9-dybv4wrAaT8WretvNp6K002h7Agjno,83
|
|
30
31
|
kubectl_mcp_tool/resources/resources.py,sha256=kvK4OM3Ox5cFvWDqJBTXOfBgnRYdoqdvvjsdCg0PJfY,12713
|
|
31
|
-
kubectl_mcp_tool/tools/__init__.py,sha256=
|
|
32
|
-
kubectl_mcp_tool/tools/backup.py,sha256=
|
|
32
|
+
kubectl_mcp_tool/tools/__init__.py,sha256=9n57_6KWK0h0tgz3uKGX7f7_F8Y6TxmrC85mDhQegg8,1825
|
|
33
|
+
kubectl_mcp_tool/tools/backup.py,sha256=M1dvyc-fmCbGFp3o89pGNv8drtgPxds0sBk0OiN0TJA,29148
|
|
33
34
|
kubectl_mcp_tool/tools/browser.py,sha256=OvXUHzEuciRQInnwLLC16iObOOdniu09b9RT81y7sdc,25338
|
|
34
|
-
kubectl_mcp_tool/tools/capi.py,sha256=
|
|
35
|
-
kubectl_mcp_tool/tools/certs.py,sha256=
|
|
36
|
-
kubectl_mcp_tool/tools/cilium.py,sha256=
|
|
37
|
-
kubectl_mcp_tool/tools/cluster.py,sha256=
|
|
35
|
+
kubectl_mcp_tool/tools/capi.py,sha256=qcNStWl7KHqi4Jorf9xThfOjYRhp7d3ZhUGif_YWrV8,24293
|
|
36
|
+
kubectl_mcp_tool/tools/certs.py,sha256=82FVevhLSaMTGDyu3rxJNhmiL_3KzBqFwys186b_2IM,25035
|
|
37
|
+
kubectl_mcp_tool/tools/cilium.py,sha256=ijO-HWcS3R5FVzg1RrE-pKhrEL0SdG0CNyrQ6g0S8eM,18654
|
|
38
|
+
kubectl_mcp_tool/tools/cluster.py,sha256=K8MGinOmzk0850dVB332693SadseAzgYf3jV-IKxmNM,54419
|
|
38
39
|
kubectl_mcp_tool/tools/core.py,sha256=67Cx1z4DqV0Qd26yXkF1eBXbUIlBB3Qj2W8rOInvb54,17801
|
|
39
40
|
kubectl_mcp_tool/tools/cost.py,sha256=fcFlIv-bsMdKESw-l-T6ECsUplDukNHaqM76JCYVHvQ,29629
|
|
40
41
|
kubectl_mcp_tool/tools/deployments.py,sha256=e138KV30DQhLCnvXntrofx1XdLH0dC0_mlODbzkluKk,18329
|
|
41
42
|
kubectl_mcp_tool/tools/diagnostics.py,sha256=LGpW-cx2ui40IIq4pZPT2O8nVzKCpOEVnnQ1OGUSVt0,7864
|
|
42
|
-
kubectl_mcp_tool/tools/gitops.py,sha256=
|
|
43
|
+
kubectl_mcp_tool/tools/gitops.py,sha256=aILtjkYI6QovPfsj5sdJDnkxvmzw5Ojzf8MDcpe2ns0,19168
|
|
43
44
|
kubectl_mcp_tool/tools/helm.py,sha256=v_d1aH79VCKJmFi-kXG1LwzZRw6OFToyVC7D9tEp99A,61658
|
|
44
|
-
kubectl_mcp_tool/tools/keda.py,sha256=
|
|
45
|
-
kubectl_mcp_tool/tools/kiali.py,sha256=
|
|
46
|
-
kubectl_mcp_tool/tools/kubevirt.py,sha256=
|
|
45
|
+
kubectl_mcp_tool/tools/keda.py,sha256=nxoGkLGWrBQmNpN_gFIk4AUxInwOak6HutgGz1nyWtc,14811
|
|
46
|
+
kubectl_mcp_tool/tools/kiali.py,sha256=tPGH-wpXqhwmW7XfSQ5KldUD0ihe2yuy8NBvmD8Xn74,20531
|
|
47
|
+
kubectl_mcp_tool/tools/kubevirt.py,sha256=1M4xdihTQabH4O7NVoceQ3DQ11si_gbX1-bMDK5VOkw,25549
|
|
47
48
|
kubectl_mcp_tool/tools/networking.py,sha256=5I-2SHp2kK9OyGJJ9KUU0hetlYoREIfin1J6CJA6HVQ,14309
|
|
48
49
|
kubectl_mcp_tool/tools/operations.py,sha256=c7j1quXwRDoB9pMkmnLZ5Mk4QoCAuEzWVXJl_hmg2tc,24862
|
|
49
|
-
kubectl_mcp_tool/tools/pods.py,sha256=
|
|
50
|
-
kubectl_mcp_tool/tools/policy.py,sha256=
|
|
51
|
-
kubectl_mcp_tool/tools/rollouts.py,sha256=
|
|
50
|
+
kubectl_mcp_tool/tools/pods.py,sha256=isl-uhuSGrzR78U8d2ePqt4D_4rO_qSTZo5-5N_TFYQ,31252
|
|
51
|
+
kubectl_mcp_tool/tools/policy.py,sha256=Iz5YPpHUOLFySknFY-sGxw699s9HHtHp18vEzw72X-8,20475
|
|
52
|
+
kubectl_mcp_tool/tools/rollouts.py,sha256=OtFAe2KIoN6fY4gv-f7WoiYAcQOGQaSJB-y6kI8UQvM,24568
|
|
52
53
|
kubectl_mcp_tool/tools/security.py,sha256=d7WLj-JZwr-0opzkRNWyPdMykvBjdsDCBSZHovDIPLo,13971
|
|
53
54
|
kubectl_mcp_tool/tools/storage.py,sha256=ILI3X5GYXASCETqg3A7X33B7PjwD5UsxL-iDG7yTi_8,5676
|
|
54
55
|
kubectl_mcp_tool/tools/ui.py,sha256=HHi0KM2JTvZFpQjo5V6XkJf02hxFoasec7uyNY5wuuo,39702
|
|
56
|
+
kubectl_mcp_tool/tools/utils.py,sha256=HvJoW6xa8duPf9omFdxWPnVGF5fSPnz6xfoCuwwCb_4,1416
|
|
55
57
|
kubectl_mcp_tool/utils/__init__.py,sha256=CHBCpaXwt994DlqyRFkkRky2TK8OmmDl0Gyc28369gI,348
|
|
56
58
|
kubectl_mcp_tool/utils/helpers.py,sha256=W--wiVSKKqmjpxxdLT0J6rmhOQcp1OFk9jLrtQUVpGw,2444
|
|
57
59
|
tests/__init__.py,sha256=qZPXYXv3whkkWhi61Ngzj09GHnIFlVSZrajE0XRk55o,290
|
|
@@ -67,9 +69,9 @@ tests/test_prompts.py,sha256=VzZAXr5iFO-hG8kRwRnG4wom2LlqOmZ-SeW4d3HQ7hc,42888
|
|
|
67
69
|
tests/test_resources.py,sha256=Z0Ex8WdRz-B3VZa1s0eAaDDGbhy7dRdqy1uFVOe2Qbo,12689
|
|
68
70
|
tests/test_safety.py,sha256=5IOBQbcH2r8tANQD7ymsR6pBc6O50IspcFsuwrnwh1M,8292
|
|
69
71
|
tests/test_server.py,sha256=lLvgbqutnivSgQMNrki0O48whBQt0UXjdwT047nf0nw,14415
|
|
70
|
-
tests/test_tools.py,sha256=
|
|
71
|
-
kubectl_mcp_server-1.19.
|
|
72
|
-
kubectl_mcp_server-1.19.
|
|
73
|
-
kubectl_mcp_server-1.19.
|
|
74
|
-
kubectl_mcp_server-1.19.
|
|
75
|
-
kubectl_mcp_server-1.19.
|
|
72
|
+
tests/test_tools.py,sha256=qZsyaXV-US1O05hNsIDNXjZmeZlg-kIPStM1r8hxySo,36711
|
|
73
|
+
kubectl_mcp_server-1.19.1.dist-info/METADATA,sha256=jXf_m-25G8yplRzs-KcrMv3k2kMaX8WkBuPKWStkgQw,40781
|
|
74
|
+
kubectl_mcp_server-1.19.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
75
|
+
kubectl_mcp_server-1.19.1.dist-info/entry_points.txt,sha256=zeOxQGaNC4r58deEmqsLCU5hfMjF0VqFUt9P5wWsKEM,109
|
|
76
|
+
kubectl_mcp_server-1.19.1.dist-info/top_level.txt,sha256=o5IpfOGG-lqU8rVWJeK9aYC0r4f6qEX09QiBhZlYbkQ,23
|
|
77
|
+
kubectl_mcp_server-1.19.1.dist-info/RECORD,,
|