Skip to content
Cursor

k8s-guardian for Cursor

io.github.andronaft/k8s-guardian

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

client:Cursor transport:stdio runtime:oci

Install k8s-guardian in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "k8s-guardian": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/andronaft/k8s-guardian:0.8.1"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

k8s-guardian in other clients