Install one command
$ npx -y mcp-server-kubernetes
Or add it with the Claude CLI: claude mcp add kubernetes
Configuration generate & copy
Values are filled in locally in your browser — nothing is sent anywhere.
claude_desktop_config.json {
"mcpServers": {
"kubernetes": {
"command": "npx",
"args": ["-y", "mcp-server-kubernetes"],
"env": {
"KUBECONFIG": "<your-kubeconfig>"
}
}
}
}Paste the Claude Desktop snippet under mcpServers in your config, then restart Claude Desktop — or run the Claude Code command in your terminal.