Connect kvaps to your own AI
Two options: the skill gives your agent the persona and the debugging method; the MCP server gives it read-only access to your cluster from your machine. Take one or both.
1 Skill
An archive with SKILL.md and references: who kvaps is, the top-down method, the safety ladder (read-only by default, explicit --context, a snapshot and a human before any destructive step), a postmortem template.
Claude Code
The skill goes to ~/.claude/skills/kvaps/ (or to the project's .claude/skills/kvaps/):
mkdir -p ~/.claude/skills
unzip kvaps-skill.zip -d ~/.claude/skills/
ls ~/.claude/skills/kvaps/SKILL.mdCodex
Same folder under ~/.codex/skills/. If your Codex version does not read skills, reference SKILL.md from the project's AGENTS.md.
mkdir -p ~/.codex/skills
unzip kvaps-skill.zip -d ~/.codex/skills/Other agents
Cursor, Continue, your own harness: kvaps/SKILL.md is plain markdown. Put it into the project rules (for example, .cursor/rules/kvaps.mdc) or the system prompt, with the references/ next to it.
2 MCP server
A local stdio server kaas-mcp: prompts kvaps_debug, kvaps_postmortem, kvaps_review, runbooks (etcd, DRBD/LINSTOR, stretched cluster, PKI) and read-only tools: k8s_get, k8s_describe, k8s_logs, k8s_events, k8s_top, k8s_api_resources, etcd_status, linstor_status, node_diag.
go install github.com/tym83/kaas/mcp/cmd/kaas-mcp@latestThe binary lands in $(go env GOPATH)/bin; make sure that path is in your PATH.
Claude Code
claude mcp add kaas -- kaas-mcp --context <ctx>Cursor
~/.cursor/mcp.json:
{
"mcpServers": {
"kaas": {
"command": "kaas-mcp",
"args": ["--context", "<ctx>"]
}
}
}Any MCP client
The common mcp.json format; add --kubeconfig if your config is not in the default place:
{
"mcpServers": {
"kaas": {
"type": "stdio",
"command": "kaas-mcp",
"args": ["--context", "<ctx>", "--kubeconfig", "/home/me/.kube/config"]
}
}
}What happens to your data
- The server runs on your machine with your kubeconfig. Nothing goes to this site.
- Read-only: allowlisted kubectl verbs, secrets are never read, the context is always explicit.
- Your model does the reasoning. Only it sees the command output, which means your model provider does.
- Output is truncated so megabytes of logs do not flood the context.
3 Where to start
kvaps, find out why pods in payments are stuck in ContainerCreatingkvaps, etcd in prod complains about slow apply: check the leader and per-member latencykvaps, after a node restart a DRBD resource is StandAlone. What about the replicas, and which copy is the right one?kvaps, write a postmortem for yesterday's ingress outage: here are the timeline and the logs