Manage Kubernetes clusters and resources
npx -y @modelcontextprotocol/server-kubernetes-mcp-server
Paste this into your MCP client configuration (Cursor, Windsurf, etc).
Manage Kubernetes clusters.
{
"mcpServers": {
"kubernetes": {
"command": "npx",
"args": ["-y", "@kubernetes/mcp-server"],
"env": {
"KUBECONFIG": "~/.kube/config"
}
}
}
}
get_pods: List podsget_deployments: List deploymentsapply: Apply manifestslogs: Get pod logsexec: Execute commandsMCP (Model Context Protocol) servers extend your AI assistant with external tools and data sources. Follow these steps to install Kubernetes MCP Server in your preferred AI coding tool.
claude_desktop_config.json