rootcause
by yindia·★ 31·综合分 44
RootCause 是一个本地优先的 MCP 服务器,将自然语言请求转换为 Kubernetes 事件分析、诊断和安全操作。
概述
RootCause 使用 Go 开发,是一个单一可执行文件,为 Kubernetes 集群提供 AI 驱动的 SRE 工具。它提供有证据支持的事件分析、Kubernetes 诊断和安全操作,并包含全面的防护措施,包括角色/命名空间策略执行、数据脱敏、只读模式和破坏性工具控制。服务器提供广泛的 Kubernetes 操作工具、生态系统诊断工具(ArgoCD、Flux、cert-manager 等)、Helm 和 Terraform 工作流以及云上下文集成功能。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
选择 RootCause 的场景是需要证据优先的事件分析和强大安全控制的 Kubernetes 运营团队,同时不希望牺牲 AI 驱动的诊断能力。
什么时候不要选它
如果您仅使用非 Kubernetes 环境,或者需要超出 AWS 集成的更广泛的云提供商支持,则不应选择 RootCause。
此 server 暴露的工具
从 README 抽取出 12 个工具rootcause.incident_bundleCollects evidence for Kubernetes incidents across multiple components
rootcause.rca_generateGenerates root cause analysis for incidents
rootcause.change_timelineTracks changes in the Kubernetes environment
k8s.restart_safety_checkChecks if it's safe to restart a workload
k8s.best_practiceRuns Kubernetes best practice checks on deployments
k8s.safe_mutation_preflightValidates safety before Kubernetes mutations
helm.chart_searchSearches for Helm charts
helm.release_diffCompares Helm release versions
terraform.debug_planAnalyzes Terraform plans for potential issues
argocd.detectDetects ArgoCD installation
flux.detectDetects Flux installation
k8s.diagnose_workloadDiagnoses issues with Kubernetes workloads
可对比工具
安装
安装
- 从 [发布页面](https://github.com/yindia/rootcause/releases) 下载适合您平台的二进制文件
- 添加可执行权限:
chmod +x rootcause- 添加到您的 PATH:
sudo mv rootcause /usr/local/bin/- 验证安装:
rootcause --versionClaude Desktop 配置
在 Claude Desktop 的 config.json 中添加:
{
"mcpServers": {
"rootcause": {
"command": "rootcause",
"args": ["mcp"]
}
}
}FAQ
- RootCause 与其他 Kubernetes 工具有什么不同?
- RootCase 专门设计为 MCP 服务器,能够将自然语言请求转换为有证据支持的事件分析,并内置安全控制,而不是要求用户学习特定的 CLI 命令或 API。
- RootCause 需要集群访问权限才能运行吗?
- 是的,RootCause 使用您现有的 kubeconfig 进行身份验证,并需要访问 Kubernetes API 来提供诊断和分析。它与您当前的 kubeconfig 身份配合使用。
Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by yindia · 2026-02-07
rootcause 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。