Kubernetes MCP 服务器搭建了大型语言模型(LLM)与 Kubernetes 集群的桥梁,让用户能以自然语言与 Kubernetes 资源交互,提供了丰富的资源管理工具集。
此 Kubernetes MCP 服务器为大型语言模型(LLMs)和 Kubernetes 集群之间提供了一个桥梁,使用户能够通过自然语言与其 Kubernetes 资源进行交互。该服务器提供了丰富的工具集,用于管理集群、命名空间、Pod、部署、服务以及其他 Kubernetes 资源。
要安装 Kubernetes MCP 服务器,请运行:
go install github.com/basebandit/kai/cmd/kai
将服务器集成到 Claude Desktop,可按以下步骤操作:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
通过编辑 claude_desktop_config.json 将服务器添加到您的 Claude for Desktop 配置中:
{
"mcpServers": {
"kubernetes": {
"command": "/path/to/kubernetes-mcp-server-binary"
}
}
}