Main
Start read-only: keep create/update/delete disabled until you trust your prompts and role separation (README shows write flags).
Choose a transport that matches your client: use stdio for desktop clients, or Streamable HTTP/SSE for remote access and debugging.
Keep kubeconfig explicit: Docker examples mount
~/.kube/configso the server talks to the cluster you intend.Use Helm tools for higher-level ops:
list_helm_releases/install_helm_chart/upgrade_helm_charthelp avoid low-level manifest edits.
Source-backed notes
- README lists tool groups: Kubernetes resource queries/CRUD plus Helm release/repo operations.
- README includes Docker run examples exposing
http://localhost:8080/mcpin Streamable HTTP mode. - README shows install via
go install github.com/silenceper/mcp-k8s/cmd/mcp-k8s@latestand mentions downloading binaries from releases.
FAQ
- Can it modify my cluster?: Yes, but writes are configurable; keep create/update/delete disabled unless you need them (README flags).
- Which transport should I use?: Use Streamable HTTP for URL-based clients and debugging; use stdio for local desktop MCP clients.
- How does it find my cluster credentials?: README Docker examples mount
~/.kube/config; Go binary can read a kubeconfig path via flags.