Kubernetes Diagnostics MCP Server
A Model Context Protocol (MCP) server specifically designed for intelligent Kubernetes troubleshooting and diagnostics. Built to complement existing K8s management tools with advanced debugging capabilities.
接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
A Model Context Protocol (MCP) server specifically designed for intelligent Kubernetes troubleshooting and diagnostics. Built to complement existing K8s management tools with advanced debugging capabilities.
A Model Context Protocol (MCP) server specifically designed for intelligent Kubernetes troubleshooting and diagnostics. Built to complement existing K8s management tools with advanced debugging capabilities.
git clone <this-repo>
cd k8s-diagnostics-mcp
go mod tidy
go build -o k8s-diagnostics-mcp
The server automatically detects your Kubernetes configuration:
~/.kube/config or $KUBECONFIG environment variablediagnose_podDiagnose issues with a specific Kubernetes pod.
Parameters:
pod_name (required): Name of the pod to diagnosenamespace (optional): Kubernetes namespace (default: "default")Returns:
analyze_cluster_healthAnalyze overall Kubernetes cluster health and identify issues.
Returns:
get_workload_recommendationsGet recommendations for improving workload configurations.
Parameters:
namespace (optional): Kubernetes namespace to analyze (default: "default")Returns:
analyze_pod_logsGet and analyze pod logs for common error patterns.
Parameters:
pod_name (required): Name of the podnamespace (optional): Kubernetes namespace (default: "default")container (optional): Specific container namelines (optional): Number of log lines to retrieve (default: 100)Returns:
k8s://troubleshooting/common-issuesProvides a comprehensive troubleshooting guide for common Kubernetes issues including:
Unlike existing Kubernetes MCP servers that focus on basic cluster management, this server specializes in:
We welcome contributions! This project aligns with our commitment to the CNCF ecosystem and open-source community.
# Run locally
go run main.go
# Run tests
go test ./...
# Build for production
go build -ldflags="-s -w" -o k8s-diagnostics-mcp
[TODO]
Built with ❤️ for the CNCF community
A Model Context Protocol (MCP) server specifically designed for intelligent Kubernetes troubleshooting and diagnostics. Built to complement existing K8s management tools with advanced debugging capabi
總覽
A Model Context Protocol (MCP) server specifically designed for intelligent Kubernetes troubleshooting and diagnostics. Built to complement existing K8s management tools with advanced debugging capabilities.
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
K8s Diagnostics 透過 stdio 在本機執行。
上次檢查時間:2026-10-28。 A Model Context Protocol (MCP) server specifically designed for intelligent Kubernetes troubleshooting and diagnostics. Built to complement existing K8s management tools with advanced debugging capabilities.