mcp-server-kubernetes 0.1.0 → 0.1.1
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 +14 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,33 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
MCP Server that can connect to a Kubernetes cluster and manage it.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
git clone https://github.com/Flux159/mcp-server-kubernetes.git
|
|
9
|
-
cd mcp-server-kubernetes
|
|
10
|
-
bun install
|
|
11
|
-
bun run test
|
|
12
|
-
```
|
|
5
|
+
https://github.com/user-attachments/assets/f25f8f4e-4d04-479b-9ae0-5dac452dd2ed
|
|
13
6
|
|
|
14
7
|
## Usage with Claude Desktop
|
|
15
8
|
|
|
16
|
-
Clone the repo, install the dependencies, and build the dist folder:
|
|
17
|
-
|
|
18
|
-
```
|
|
19
|
-
bun run build
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your `claude_desktop_config.json`:
|
|
23
|
-
|
|
24
|
-
Note that you can use `node` or `bun` to run the server. Tests will currently only run properly with bun at the moment though.
|
|
25
|
-
|
|
26
9
|
```json
|
|
27
10
|
{
|
|
28
11
|
"mcpServers": {
|
|
29
12
|
"kubernetes": {
|
|
30
|
-
"command": "
|
|
31
|
-
"args": ["
|
|
13
|
+
"command": "npx",
|
|
14
|
+
"args": ["mcp-server-kubernetes"]
|
|
32
15
|
}
|
|
33
16
|
}
|
|
34
17
|
}
|
|
@@ -42,6 +25,8 @@ The server will automatically connect to your current kubectl context. Make sure
|
|
|
42
25
|
|
|
43
26
|
You can verify your connection by asking Claude to list your pods or create a test deployment.
|
|
44
27
|
|
|
28
|
+
If you have errors, open up a standard terminal and run `kubectl get pods` to see if you can connect to your cluster without credentials issues.
|
|
29
|
+
|
|
45
30
|
## Features
|
|
46
31
|
|
|
47
32
|
- [x] Connect to a Kubernetes cluster
|
|
@@ -56,6 +41,15 @@ You can verify your connection by asking Claude to list your pods or create a te
|
|
|
56
41
|
- [] Choose namespace for next commands (memory)
|
|
57
42
|
- [] Support Helm for installing charts
|
|
58
43
|
|
|
44
|
+
## Development & Testing
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
git clone https://github.com/Flux159/mcp-server-kubernetes.git
|
|
48
|
+
cd mcp-server-kubernetes
|
|
49
|
+
bun install
|
|
50
|
+
bun run test
|
|
51
|
+
```
|
|
52
|
+
|
|
59
53
|
## Not planned
|
|
60
54
|
|
|
61
55
|
Authentication / adding clusters to kubectx.
|