mcp-server-kubernetes 0.3.1 → 0.3.2
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.
- package/README.md +52 -23
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# MCP Server Kubernetes
|
|
2
|
+
|
|
3
|
+
[](https://github.com/yourusername/mcp-server-kubernetes/actions/workflows/ci.yml)
|
|
4
|
+
[](https://github.com/yourusername/mcp-server-kubernetes)
|
|
5
|
+
[](https://bun.sh)
|
|
6
|
+
[](https://kubernetes.io/)
|
|
7
|
+
[](https://www.docker.com/)
|
|
8
|
+
[](https://github.com/Flux159/mcp-server-kubernetes/stargazers)
|
|
9
|
+
[](https://github.com/Flux159/mcp-server-kubernetes/issues)
|
|
10
|
+
[](https://github.com/Flux159/mcp-server-kubernetes/pulls)
|
|
11
|
+
[](https://github.com/Flux159/mcp-server-kubernetes/commits/main)
|
|
12
|
+
[](https://smithery.ai/protocol/mcp-server-kubernetes)
|
|
2
13
|
|
|
3
14
|
MCP Server that can connect to a Kubernetes cluster and manage it.
|
|
4
15
|
|
|
@@ -6,8 +17,6 @@ https://github.com/user-attachments/assets/f25f8f4e-4d04-479b-9ae0-5dac452dd2ed
|
|
|
6
17
|
|
|
7
18
|
<a href="https://glama.ai/mcp/servers/w71ieamqrt"><img width="380" height="200" src="https://glama.ai/mcp/servers/w71ieamqrt/badge" /></a>
|
|
8
19
|
|
|
9
|
-
[](https://smithery.ai/server/mcp-server-kubernetes)
|
|
10
|
-
|
|
11
20
|
## Usage with Claude Desktop
|
|
12
21
|
|
|
13
22
|
```json
|
|
@@ -125,28 +134,48 @@ npm run chat
|
|
|
125
134
|
├── src/
|
|
126
135
|
│ ├── index.ts # Main server implementation
|
|
127
136
|
│ ├── types.ts # Type re-exports
|
|
128
|
-
│ ├── config/
|
|
137
|
+
│ ├── config/ # Configuration files
|
|
129
138
|
│ │ ├── container-templates.ts # Container configurations
|
|
130
|
-
│ │ ├── server-config.ts
|
|
139
|
+
│ │ ├── server-config.ts # Server settings
|
|
131
140
|
│ │ ├── deployment-config.ts # Deployment schemas
|
|
132
|
-
│ │
|
|
133
|
-
│
|
|
134
|
-
│
|
|
135
|
-
│ │ ├──
|
|
136
|
-
│ │
|
|
137
|
-
│ ├──
|
|
138
|
-
│ │
|
|
139
|
-
│
|
|
140
|
-
│
|
|
141
|
-
│ └──
|
|
142
|
-
│
|
|
143
|
-
│
|
|
144
|
-
│
|
|
145
|
-
│
|
|
146
|
-
├──
|
|
147
|
-
│
|
|
148
|
-
│
|
|
149
|
-
|
|
141
|
+
│ │ ├── namespace-config.ts # Namespace schemas
|
|
142
|
+
│ │ └── cleanup-config.ts # Resource cleanup configuration
|
|
143
|
+
│ ├── models/ # Data models and schemas
|
|
144
|
+
│ │ ├── response-schemas.ts # API response schemas
|
|
145
|
+
│ │ ├── resource-models.ts # Resource models
|
|
146
|
+
│ │ ├── tool-models.ts # Tool schemas
|
|
147
|
+
│ │ ├── helm-models.ts # Helm operation schemas
|
|
148
|
+
│ │ └── kubectl-models.ts # Kubectl operation schemas
|
|
149
|
+
│ ├── utils/ # Utility classes
|
|
150
|
+
│ │ └── kubernetes-manager.ts # K8s management
|
|
151
|
+
│ ├── resources/ # Resource handlers
|
|
152
|
+
│ │ └── handlers.ts # Resource implementation
|
|
153
|
+
│ └── tools/ # Tool implementations
|
|
154
|
+
│ ├── list_pods.ts # Pod listing operations
|
|
155
|
+
│ ├── list_services.ts # Service listing operations
|
|
156
|
+
│ ├── list_deployments.ts # Deployment listing operations
|
|
157
|
+
│ ├── list_nodes.ts # Node listing operations
|
|
158
|
+
│ ├── create_pod.ts # Pod creation operations
|
|
159
|
+
│ ├── delete_pod.ts # Pod deletion operations
|
|
160
|
+
│ ├── describe_pod.ts # Pod description operations
|
|
161
|
+
│ ├── get_logs.ts # Container logs operations
|
|
162
|
+
│ ├── get_events.ts # Kubernetes events operations
|
|
163
|
+
│ ├── helm-operations.ts # Helm chart operations
|
|
164
|
+
│ └── kubectl-operations.ts # Kubectl utility operations
|
|
165
|
+
├── tests/ # Test files
|
|
166
|
+
│ ├── unit.test.ts # Unit tests for basic operations
|
|
167
|
+
│ ├── helm.test.ts # Helm-specific tests
|
|
168
|
+
│ └── kubectl.test.ts # Kubectl-specific tests
|
|
169
|
+
├── .github/ # GitHub configuration
|
|
170
|
+
│ └── workflows/ # CI/CD workflows
|
|
171
|
+
│ ├── ci.yml # Continuous integration
|
|
172
|
+
│ └── cd.yml # Continuous deployment
|
|
173
|
+
├── Dockerfile # Docker container definition
|
|
174
|
+
├── LICENSE # MIT license
|
|
175
|
+
├── README.md # Project documentation
|
|
176
|
+
├── package.json # NPM package configuration
|
|
177
|
+
├── tsconfig.json # TypeScript configuration
|
|
178
|
+
└── vitest.config.ts # Test configuration
|
|
150
179
|
```
|
|
151
180
|
|
|
152
181
|
### Contributing
|