Skip to content
Claude Code

Kubernetes Troubleshoot for Claude Code

io.github.nanagyamfiprempeh30/k8s-troubleshoot-mcp

Read-only Kubernetes diagnostics: pods, logs, events, workloads, services, PVCs and nodes.

client:Claude Code transport:stdio runtime:oci

Install Kubernetes Troubleshoot in Claude Code

run in your project directory

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

claude mcp add k8s-troubleshoot-mcp -e KUBECONFIG=<KUBECONFIG> -e ALLOWED_NAMESPACES=<ALLOWED_NAMESPACES> -e LOG_LEVEL=<LOG_LEVEL> -e API_TIMEOUT_SECONDS=<API_TIMEOUT_SECONDS> -e MAX_LOG_LINES=<MAX_LOG_LINES> -- docker run -i --rm docker.io/yawgyamfiprem32/k8s-troubleshoot-mcp:1.0.0

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Kubernetes Troubleshoot in other clients