mcp kubernetes for VS Code
io.github.dockndevai/mcp-kubernetes
Kubernetes monitoring & ops for AI agents — safe-by-default access modes and guards.
client:VS Code
transport:stdio
runtime:npm
Install mcp kubernetes in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "kubeconfig-path",
"description": "KUBECONFIG_PATH",
"password": true
},
{
"type": "promptString",
"id": "k8s-mode",
"description": "K8S_MODE",
"password": true
}
],
"servers": {
"mcp-kubernetes": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-kubernetes"
],
"env": {
"KUBECONFIG_PATH": "${input:kubeconfig-path}",
"K8S_MODE": "${input:k8s-mode}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs