k8s-guardian MCP
Expose Kubernetes manifest checks and deployment-context diagnostics to an assistant through a local MCP server.
Overview
k8s-guardian combines a CLI, kubectl plugin, CI integration and MCP server in one binary. Its repository documents checking manifests, Helm charts and Kustomize overlays, inspecting live cluster constraints and comparing proposed changes with deployed resources. It can also export policy formats for admission-time enforcement. Offline checks and live cluster checks answer different questions. A valid YAML file may still conflict with quotas, references, node capacity or an immutable deployed field. The project separates routine fixes from opt-in riskier changes, so a reported fix should be reviewed for its effect on the workload rather than accepted merely because a linter produced it.
Getting started
Install the documented binary and follow the repository’s MCP guide for the local client configuration. Live cluster diagnostics need an appropriate kubeconfig; offline manifest checks have a separate workflow.
Compatibility and requirements
The README names Claude Code and Cursor for MCP use and publishes binaries for Linux, macOS and Windows.
Things to know
Cluster access depends on the configured credentials and target. Riskier fixes are opt-in. Cost estimation, interactive review and natural-language rule creation are labelled experimental in the captured README.
Sources and documentation
- https://github.com/andronaft/k8s-guardian/blob/HEAD/LICENSE
- https://github.com/andronaft/k8s-guardian/blob/HEAD/docs/check.md
- https://github.com/andronaft/k8s-guardian/blob/main/README.md
Related MCP servers and skills
- Code Guardian StudioAgent skill
- MCP GuardianMCP server
- Flinger MCPMCP server
- Base On-chain Quick Tools MCPMCP server
- Lexio Rent APIAgent skill
- Datacircle for comparing GTM API plans from a structured fileAgent skill
Comments
Loading discussion
Fetching this discussion.