
Added Nov 18, 2026
mcp-k8s-go
An MCP server that lets AI clients such as Claude Desktop work with Kubernetes clusters.
- Ecosystem
- Claude
- Skill category
- DevOps
- Creator / organization
- strowk(GitHub strowk)
What it is
mcp-k8s-go is an MCP server written in Go and published on GitHub by strowk. It connects to Kubernetes clusters. MCP-capable AI clients such as Claude Desktop can use it to list contexts, namespaces, nodes and pods, read events and pod logs, run commands inside pods, and list, get, create and modify any Kubernetes resource. It has a read-only mode, a context allowlist and secret masking in the output to control what the AI can touch.
Highlights:
- Lists contexts, namespaces, nodes and pods, and reads events and pod logs
- Runs commands in pods and reads or writes any Kubernetes resource
- The --readonly flag disables every tool that writes changes to the cluster
- The --allowed-contexts flag limits which contexts can be used, and --mask-secrets is on by default to hide secrets in the output
How to use:
- First pick an install method, for example `npm install -g @strowk/mcp-k8s`, or use Smithery, mcp-get, a prebuilt GitHub binary, `go install` or the Docker image
- Then add the server to the config of a client such as Claude Desktop (claude_desktop_config.json)
- Finally let the AI client inspect or manage the cluster through it, and add --readonly first if you want to be safe
Who it's for:
Developers and operators who already use Kubernetes and want an AI client to help check cluster status and troubleshoot.
Before you start:
- You need a reachable Kubernetes cluster; the server reads the config file set by KUBECONFIG, by default ~/.kube/config
- Depending on the install method you may need Node.js, Golang or Docker; with Docker you mount your kubeconfig file into the container
- It can run commands in pods and create or modify cluster resources, so its write access is broad; the page does not say whether any data is uploaded to external services
- The page does not state a price
- License: MIT
- If you use these features, weigh the safety risks yourself. AI Inspiration World is not responsible for any consequences.
Based on the project's public documentation. Not tested by AI Inspiration World.