Container status, pod diagnosis, deployment drift — ops notes that check the real infrastructure state.
Use case: living runbooks — "what's running?", "why does this pod keep restarting?" — the answer inside the ops note, next to the procedure.
{
"mcpServers": {
"docker": {
"command": "uvx",
"args": ["mcp-server-docker"]
},
"kubernetes": {
"command": "npx",
"args": ["-y", "mcp-server-kubernetes"],
"env": { "ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS": "true" }
}
}
}
mcp-server-dockertalks to the local Docker daemon;mcp-server-kubernetes(Flux159) uses your current kubeconfig. TheALLOW_ONLY_NON_DESTRUCTIVE_TOOLSflag removes delete/exec — recommended.
Exposed tools: Docker → list_containers, fetch_container_logs,
create_container… · K8s → kubectl_get, kubectl_describe,
kubectl_logs, kubectl_rollout…
List the running containers with their uptime and usage. Does the
"postgres-dev" container show errors in its last 50 log lines?
In the "production" namespace: which pods are not Running or restarted
in the last 24h? For each, the probable reason from describe and the
latest logs.
Check the "api" deployment: ready replicas, image version, last
rollout. Compare with the procedure in @runbooks/deploy-api.md and
flag any drift.