Main
Use it for controlled kubectl workflows: standardize read-only checks first (get/describe/logs) before enabling mutation paths in your agent policy.
Make context explicit: keep clusters/namespaces in the prompt and validate with
kubectl config current-contextto avoid “wrong cluster” incidents.Treat Helm as optional: README lists Helm v3 as optional unless you plan to use Helm operations.
Pair with audit logging: keep kubectl audit logs and MCP client logs so you can attribute every agent action to a human request.
Source-backed notes
- README prerequisites list kubectl + kubeconfig contexts and notes Helm v3 is optional.
- README shows adding it to Claude Code via:
claude mcp add kubernetes -- npx mcp-server-kubernetes. - README provides example MCP configs for Claude Desktop using
npx.
FAQ
- Do I need Helm installed?: Only if you plan to use Helm operations; README lists Helm v3 as optional.
- Where does it load kubeconfig from?: README says it loads from
~/.kube/configby default, with advanced options documented. - What’s the safest first use?: Start with read-only cluster queries (pods/services/events) before attempting changes.