development
kubernetes
documentation
public
golang
What is mcp-k8s-go?
Golang-based Kubernetes server for MCP to browse pods and their logs, events, namespaces and more. Built to be extensible.
Documentation
MCP K8S Go Documentation
Features
List Kubernetes contexts
List Kubernetes namespaces
List, get, create and modify any Kubernetes resources
List Kubernetes nodes
List Kubernetes pods
Get Kubernetes events
Get Kubernetes pod logs
Run command in Kubernetes pod
Installation# Using Smithery
To install MCP K8S Go for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @strowk/mcp-k8s --client claude
```\n\n### Using mcp-get
To install MCP K8S Go for Claude Desktop automatically via mcp-get:
```bash
npx @michaellatman/mcp-get@latest install @strowk/mcp-k8s
```\n\n### Manually with prebuilt binaries## Prebuilt from npm
```bash
npm install -g @strowk/mcp-k8s
```\n\n### From GitHub releases
Head to [GitHub releases](https://github.com/strowk/mcp-k8s-go/releases) and download the latest release for your platform.\n\n### Building from source
You would need Golang installed to build this project:
```bash
go get github.com/strowk/mcp-k8s-go
go install github.com/strowk/mcp-k8s-go
```\n\n### Using Docker
You can use the latest tag like this:
```bash
docker run -i -v ~/.kube/config:/home/nonroot/.kube/config --rm mcpk8s/server:latest