All MCP Servers
Dev Tools & GitMCP RegistryociC · 54

K8gentS — Kubernetes RCA MCP Server

io.github.JDoornink · Updated

Kubernetes RCA agent that sandboxes its own AI with OPA Gatekeeper. MCP-ready for any client.

At a glance

K8gentS — Kubernetes RCA MCP Server is an MCP server in the Dev Tools & Git category. It runs locally over stdio via `docker run -i --rm docker.io/jdoornink/k8gents:0.1.1`, and needs AI_API_KEY. It scores C (54/100) on the MCP Skills Hub health score as of Oct 28, 2026.

Source 1GitHub stars

One-click install

Opens your editor and pre-fills the config. Your editor will ask before adding it.

How to install K8gentS — Kubernetes RCA MCP Server in your AI client

Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.

How to install K8gentS — Kubernetes RCA MCP Server in Claude CodeAnthropic's agentic CLI

  1. Add the server

    bash
    claude mcp add k8gents -e 'AI_API_KEY=<AI_API_KEY>' -- docker run -i --rm docker.io/jdoornink/k8gents:0.1.1
  2. Fill in your credentials

    Replace <AI_API_KEY> with your real value. Keep secrets out of any config file you commit.

  3. Verify it's connected

    bash
    claude mcp list
  4. Sharing it with your team?

    Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).

  5. Use it in a session

    Ask Claude to use the tools this server exposes. It discovers them automatically.

What does K8gentS — Kubernetes RCA MCP Server need from you?

API key — Google Gemini API key for LLM-powered root cause analysis

  • AI_API_KEYrequiredsecretEnvironment variable

    Google Gemini API key for LLM-powered root cause analysis

  • AI_MODELoptionalEnvironment variable

    Gemini model to use (default: gemini-2.5-pro)

  • KUBECONFIGoptionalEnvironment variable

    Path to kubeconfig file. Omit to use in-cluster config or ~/.kube/config automatically.

Pass secrets through your shell environment rather than committing them into a config file.

What tools does K8gentS — Kubernetes RCA MCP Server expose?

This server runs as a local package. We only query remote servers for their tool list — asking this one would mean executing it, so its tools are listed in the documentation below.

What the code can do

Source analysis currently covers npm packages only. This server ships as a container image, whose contents are not readable the same way.

Before you install

Signals gathered from the source repo and package registry — not a safety verdict.

What it can reach

  • Runs code on your machine — Executes as a Docker container with whatever mounts and env you pass it.
  • Downloads at launch — The package is fetched from its registry each run unless you pin a version.
  • Last commit 5 months ago — Actively maintained.
  • 1 GitHub stars — Very little community usage so far.
  • No license declared — Without a license the code is not legally reusable in a commercial project.

Client compatibility

Claude Code: NativeClaude Desktop: NativeCursor: NativeCodex CLI: NativeWindsurf: NativeCline: NativeVS Code: Native

Health score

C · 54

Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated

  • Maintenance30%80%

    Last commit 173 days ago.

  • Adoption20%9%

    1 stars.

  • Transparency20%50%

    2/4: ✓ public source repo, ✗ declared license, ✓ documentation, ✗ discoverable tool list.

  • Provenance15%75%

    Links to its own repository; package linkage unverified.

  • Packaging15%50%

    No pinned version — installs resolve to whatever is latest at launch.

Documentation

Full README

K8gentS ☸️🤖

A Human-in-the-Loop RCA Agent for Kubernetes — LLM Diagnosis, OPA-Bounded Remediation


📖 Overview

K8gentS is a Kubernetes diagnostic agent built around a single premise: an LLM is well-suited to *reason* about cluster failures, but unfit to *act* on them unsupervised. It continuously watches the cluster event stream, runs Warning-class events through a Gemini-powered root cause analysis (RCA) pipeline, and surfaces the top hypotheses with resolution steps to Slack. Every remediation is human-in-the-loop (HITL) — a reviewer approves or rejects via interactive buttons before anything mutates. Approved fixes execute inside an ephemeral Job whose blast radius is bounded by an OPA Gatekeeper admission policy at the API server, independent of RBAC. The reasoning is non-deterministic by design; the controls around it are not.

The goal: reduce MTTR on diagnosable failures without handing an LLM a kubectl apply.


🧠 The Hard Problem

Building the Kubernetes side of this is straightforward. The real challenge is making a diagnostic layer trustworthy when the engine behind it is fundamentally non-deterministic.

Traditional observability is built on guarantees. Alerts fire on known thresholds. Dashboards show reproducible numbers. Logs return consistent answers to the same query. SRE success depends on that predictability — it's what makes incident response repeatable and on-call sustainable.

An LLM-driven diagnostic layer breaks that contract. The same pod failure can produce three different plausible explanations across three different runs. Each may be coherent. Each may even be correct under different assumptions. But "plausible" is not the same as "right," and for infrastructure, the gap between them is where outages live.

Some of the specific problems I've been working through while building K8gentS:

1. Confidence scoring with an unbounded output space. The agent returns top-3 root causes with confidence metrics, but confidence in what, exactly? The model is not selecting from a fixed set of known failure modes — it's generating free-form hypotheses. A calibrated confidence score needs a reference distribution, and the distribution here is whatever the model happened to produce this run.

2. When to trust reasoning vs. fall back to deterministic checks. - THE ART Some failures (CrashLoopBackOff, OOMKilled) have well-traveled diagnostic paths and a deterministic check will be right every time. Others benefit from the model's ability to interpolate across signals. Drawing that line — and doing it at runtime — is non-trivial and where the art really lies.

Excerpt — the full document is on GitHub.

Maintain K8gentS — Kubernetes RCA MCP Server? Add a badge to your README

Shows its health grade, and links readers to install steps for every client.

markdown
[![K8gentS — Kubernetes RCA MCP Server on MCP Skills Hub](https://mcp-skills-hub.vercel.app/badge/io-github-jdoornink-k8gents)](https://mcp-skills-hub.vercel.app/mcps/io-github-jdoornink-k8gents)

Catalog data refreshed . Something wrong? Report it.