k8scortex mcp for VS Code
io.github.apatilgtn/k8scortex-mcp
Kubernetes MCP server: 75 tools for GKE, AKS, EKS, RBAC, audit logging, GitOps, multi-cluster.
client:VS Code
transport:stdio
runtime:npm
Install k8scortex mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "kubeconfig",
"description": "KUBECONFIG",
"password": true
},
{
"type": "promptString",
"id": "disable-auth",
"description": "DISABLE_AUTH",
"password": true
}
],
"servers": {
"k8scortex-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"k8scortex-mcp"
],
"env": {
"KUBECONFIG": "${input:kubeconfig}",
"DISABLE_AUTH": "${input:disable-auth}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs