Back to MCP Servers
Kubernetes Server
Manage Kubernetes clusters, pods, deployments, and services through natural language commands
kubernetesk8scontainersdevopsinfrastructurecommunity
Installation
npm install -g @mcp/kubernetes-serverConfiguration
{
"mcpServers": {
"kubernetes": {
"command": "npx",
"args": ["-y", "@mcp/kubernetes-server"],
"env": {
"KUBECONFIG": "~/.kube/config"
}
}
}
}How to use
- Run the installation command above (if needed)
- Open your Claude Code settings file (~/.claude/settings.json)
- Add the configuration to the mcpServers section
- Restart Claude Code to apply changes