API & MCP
Everything a person can do on Kubernetes Event Explorer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://kuberneteseventexplorer.usefulweb.site/api/v1/calculate– run Kubernetes Event ExplorerGET https://kuberneteseventexplorer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Kubernetes Event Explorer
Paste `kubectl get events -A -o json` or the default `kubectl get events` table. Events are grouped by involved object and inferred workload (Pod → ReplicaSet → Deployment), each reason is classified (rollout, crash loop, probes, image pulls, scheduling, volumes, OOM, node pressure…), and evidence-based root-cause hypotheses explain what probably happened and what to check next.
| Field | Type | Default | Description |
|---|---|---|---|
text | textarea | — | kubectl events output. Output of `kubectl get events -A -o json` (best: exact timestamps) or the plain `kubectl get events -A` table including the header line. events.k8s.io/v1 JSON also works. |
file | file | — | Or upload the file. Read in memory as UTF-8 text and not stored. Max 5 MiB. |
namespace | text | — | Only this namespace (optional) |
warningsOnly | boolean | false | Only show Warning events in the timeline |
capturedAt | datetime | — | Table output captured at (UTC, optional). Only for the text table: relative ages like "5m" are counted back from this time. Default: now. |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://kuberneteseventexplorer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
kubernetes_event_explorer - Local stdio connector:
node src/mcp-stdio.ts --tool=kubernetes-event-explorer
{
"mcpServers": {
"kubernetes-event-explorer": { "type": "http", "url": "https://kuberneteseventexplorer.usefulweb.site/mcp" }
}
}