k8s-mcp-server
通过MCP为AI助手实现安全的Kubernetes CLI执行. k8s-mcp-server is a Model Context Protocol (MCP) server maintained by alexei-led. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 8 tools, including describe_kubectl, describe_helm, describe_istioctl, describe_argocd, execute_kubectl, execute_helm, execute_istioctl and execute_argocd, that an agent can call directly. It is categorized under AI/Claude and DevOps/Kubernetes.
什么是MCP
K8s MCP服务器是AI助手(如Claude)与Kubernetes CLI工具(kubectl、helm等)之间的安全桥梁,采用Anthropic的模型上下文协议。它能在容器化环境中安全执行经过验证的Kubernetes命令。
如何使用MCP
通过Claude Desktop配置,在Docker中以只读方式挂载Kubernetes配置文件。支持通过环境变量设置超时时间、命名空间和安全模式(严格/宽松)。在保持隔离性的同时与现有Kubernetes集群集成。
MCP的用途
使AI助手能够执行Kubernetes操作,如部署管理、故障排除和集群诊断,同时通过命令验证和容器隔离保障安全性。
AIMCP authority
DR and traffic signal for the AIMCP public domain.
Frequently asked questions
What is the k8s-mcp-server MCP server?
k8s-mcp-server is a Model Context Protocol server from alexei-led. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.
How do I connect k8s-mcp-server to my AI client?
Add k8s-mcp-server to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.
What tools does k8s-mcp-server provide?
k8s-mcp-server provides 8 tools: describe_kubectl, describe_helm, describe_istioctl, describe_argocd, execute_kubectl, execute_helm, execute_istioctl and execute_argocd.
Is k8s-mcp-server free to use?
k8s-mcp-server is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.
Vernclaw Plugins for OpenClaw
Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.
