k8s-guardian

● Active

io.github.andronaft/k8s-guardian

Kubernetes guardrails for agents: validate, fix and cost-check manifests against your cluster

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "k8s-guardian": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/andronaft/k8s-guardian:0.8.1",
        "mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<your ANTHROPIC_API_KEY>"
      }
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --env ANTHROPIC_API_KEY='<your ANTHROPIC_API_KEY>' --transport stdio k8s-guardian -- docker run -i --rm ghcr.io/andronaft/k8s-guardian:0.8.1 mcp
OpenAI Codex CLI
codex mcp add k8s-guardian --env ANTHROPIC_API_KEY='<your ANTHROPIC_API_KEY>' -- docker run -i --rm ghcr.io/andronaft/k8s-guardian:0.8.1 mcp
VS Code
code --add-mcp '{"name":"k8s-guardian","type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/andronaft/k8s-guardian:0.8.1","mcp"],"env":{"ANTHROPIC_API_KEY":"<your ANTHROPIC_API_KEY>"}}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

Environment variables
  • ANTHROPIC_API_KEYsecretOptional: only for fix_manifest with use_ai: true. All other tools work without it.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Cloud & DevOps
Version
0.8.1
Registry
active
Published
Dec 4, 2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Dec 4, 2026

Looks healthy: k8s-guardian is maintained, open source.

Maintained
Active
Last commit today (Dec 4, 2026), 7 open issues.
Official registry
Active
Published as io.github.andronaft/k8s-guardian in the official MCP registry, version 0.8.1.
Source
Open source, Apache-2.0
Public repository under the Apache-2.0 licence, 5 stars, 0 forks.
Runs
On your machine
A local Docker package started by your client; it can reach whatever your user account can.
Credentials
1 required
Declared environment variables: ANTHROPIC_API_KEY. They stay on your machine; the config on this page shows where each goes.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.

A

Grade A · Production-ready

Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.

  • Recent commits+30/30

    Last commit today.

  • Open licence+15/15

    Apache-2.0 on GitHub.

  • Documentation+15/15

    The repository ships a README.

  • Adoption0/20

    5 GitHub stars.

  • Registry status+12/12

    Active in the official MCP registry.

  • Product surface+8/8

    Has a homepage or a published package/endpoint.

Own this server? Add the grade badge — it links back here

<a href="https://serverdex.io/server/io-github-andronaft-k8s-guardian?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-andronaft-k8s-guardian/report-badge.svg" alt="k8s-guardian — Serverdex Report Card A" height="22"></a>

Compare every server's grade on best-maintained MCP servers.

On GitHub

read Dec 4, 2026
Stars
5
Forks
0
Last push
Dec 4, 2026
License
Apache-2.0

Goargo-rolloutsceldevopsdevsecopsgolanghelmk8skrewkubectl-pluginkuberneteskustomizekyvernolintermcp-serverplatform-engineeringpolicy-as-codesarifsecurityvalidating-admission-policy

From the README

🛡️ k8s-guardian Kubernetes guardrails that know your cluster: check and safely fix manifests, Helm charts and Kustomize overlays, see whether they fit the target cluster, and enforce the same rules at admission time. A CLI, a kubectl plugin, a GitHub Action and an MCP server in one binary. Most Kubernetes linters read a YAML file and print an error. k8s-guardian also answers the questions you hit at deploy time: • "The YAML is valid, but will it actually run in prod?" Quotas, node sizes, LimitRanges, missing Secrets, CRDs. • "What breaks if I apply this over what's running now?" Immutable selectors, removed APIs, downtime, port changes. • "Can you just fix it, without breaking my app?" Safe fixes by default, riskier ones only when you ask. • "Can the cluster enforce exactly what CI checks?" Export the same rules as ValidatingAdmissionPolicies or Kyverno policies. Features Experimental: cost estimation and right-sizing (cost), the interactive review TUI (interactive) and rules from plain language (rule create).…

Read the full README on GitHub →

The most-starred Cloud & DevOps servers in the index, with their live-check result.

ServerStarsLast pushLive check
Netdata81,773Dec 2026Needs sign-in
kubeshark MCP12,148Nov 2026Local / not checked
OneUptime7,856Nov 2026Working
Radar Kubernetes MCP Server4,345Dec 2026Local / not checked
Azure MCP Server3,901Nov 2026Local / not checked

k8s-guardian: questions people ask

Is k8s-guardian a remote or a local MCP server?
According to its entry in the official MCP registry, k8s-guardian ships as a local package (Docker) that your client starts on your machine.
Does k8s-guardian need an API key?
Its registry entry declares one required environment variable: ANTHROPIC_API_KEY. The config on this page shows where each goes.
Is k8s-guardian safe to use?
Looks healthy: k8s-guardian is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, Apache-2.0; runs: On your machine; credentials: 1 required. Serverdex check of Dec 4, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is k8s-guardian still maintained?
Active: the repository's last commit today. Last push Dec 4, 2026, 5 GitHub stars, Apache-2.0 licence. Read from GitHub on Dec 4, 2026.
How do I add k8s-guardian to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
  1. health-osLocal-first personal health record: labs, meds, wearables, food log, deterministic safety checks★ 3
  2. HVAC Charge: superheat and subcooling calculatorSuperheat, subcooling, target superheat and PT chart for 22 refrigerants; EPA leak rate.
  3. PoolPro: pool chemical calculatorPool chemical doses from a water test, FC/CYA chlorine targets, CSI/LSI balance, pool volume.
  4. Electrician Calc: NEC & IEC wire calculatorVoltage drop, wire and breaker size (NEC 310.16, IEC 60364), conduit and box fill, AWG to mm².
Browse all Cloud & DevOps →

Add the badge to your site

Show visitors that k8s-guardian is listed here — it’s also the link we check for a free listing.

k8s-guardian — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-andronaft-k8s-guardian?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="k8s-guardian — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![k8s-guardian — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-andronaft-k8s-guardian?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-andronaft-k8s-guardian) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-andronaft-k8s-guardian) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-andronaft-k8s-guardian)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-andronaft-k8s-guardian"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-andronaft-k8s-guardian"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-andronaft-k8s-guardian"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).