k8s-guard
Audits Kubernetes YAML manifests for reliability, high availability, and security issues, including missing resource requests/limits, probes, replica and disruption settings, graceful shutdown, label/selector mismatches, and privileged or secret-handling risks.
Audits Terraform configurations for AWS cost traps, including EKS control plane charges and NAT gateway costs.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
k8s-guard
English · 한국어
Zero-dependency Kubernetes YAML, Dockerfile, and Terraform safety checker, CLI, local stdio MCP server, and web checklist. Built to catch outage, security, and AWS cost traps before you deploy AI-generated infrastructure configs.
Do you actually need Kubernetes yet? Read the Objective Kubernetes Readiness Framework (6 measurable metrics & scoring matrix) before migrating.
What It Catches
Kubernetes Reliability & High Availability: Missing
resources.requests/limits(OOM & broken HPA), missingreadinessProbe/livenessProbe, singlereplicas: 1,Recreatestrategy downtime, missing node spread (topologySpreadConstraints/podAntiAffinity), missingPodDisruptionBudget, missing Graceful Shutdown (terminationGracePeriodSeconds/preStop), unpinned:latesttags,Serviceselector vsDeploymentlabel mismatch, and HPAmaxReplicasDB connection pool warnings.Security:
privileged: true, missingrunAsNonRoot: true, missingallowPrivilegeEscalation: false, plaintext secrets inConfigMap/ containerenv/DockerfileENV|ARG, and0.0.0.0/0exposure on SSH/DB/Redis ports.AWS Cost Traps (Terraform):
aws_eks_cluster($0.10/hr control plane, no free tier) andaws_nat_gateway(~$32–33/mo + data fees, no free tier) warnings.
Related MCP server: infrawise
Quickstart (Zero Dependencies, Node.js 18+)
# Audit a file or directory
npx --yes --package=github:shaul1991/k8s-guard k8s-guard ./k8s/ --lang en
# JSON output for CI gates (exits 1 on FAIL)
npx --yes --package=github:shaul1991/k8s-guard k8s-guard ./deploy.yaml --json --lang en
# Start local stdio MCP server (Claude Desktop, Cursor, Codex)
npx --yes --package=github:shaul1991/k8s-guard k8s-guard mcpLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
LLM cost optimization gateway, repo token-waste auditor & model arbitrage MCP server.
Audit your MCP servers for poisoned tools and leaked secrets, and check AI-generated code for flaws.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Statically audits MCP tool surfaces for token cost, schema quality, and design issues.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP server to lint and validate Kubernetes-related manifests(Helm, FluxCD, ArgoCD, Kustomize, etc.)97 PyPIMIT
- AlicenseAqualityBmaintenanceMCP server for AWS infrastructure analysis. Connects to DynamoDB, Lambda, SQS, SNS, Secrets Manager, EventBridge, RDS, PostgreSQL, MongoDB, and CloudWatch — surfaces missing indexes, queue DLQs, Lambda config issues, IaC drift, and security findings for Claude Code and Cursor.22239 npm22MIT
- AlicenseAqualityBmaintenanceLocal-first production-readiness MCP server for AI-built apps. It runs read-only checks, produces an evidence-based readiness score, and guides fixes before launch.1112 npm7Apache 2.0
- FlicenseNot gradedqualityDmaintenanceLocal MCP server for static Python/TypeScript code audits, Playwright test generation, and SDLC health checks with a 0-100 quality score.-