Skip to content
VS Code

NVSentinel Lab for VS Code

io.github.omerfsen/nvidia-nvsentinel-mcp

Test NVIDIA NVSentinel on a kind lab: read its state and inject faults into a simulated GPU.

client:VS Code transport:stdio runtime:oci

Install NVSentinel Lab in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "nvsentinel-mcp-kubeconfig",
      "description": "NVSENTINEL_MCP_KUBECONFIG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nvsentinel-mcp-allow-changes",
      "description": "NVSENTINEL_MCP_ALLOW_CHANGES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nvsentinel-mcp-lab-context",
      "description": "NVSENTINEL_MCP_LAB_CONTEXT",
      "password": true
    }
  ],
  "servers": {
    "nvidia-nvsentinel-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/omerfsen/nvidia-nvsentinel-mcp:0.5.1"
      ],
      "env": {
        "NVSENTINEL_MCP_KUBECONFIG": "${input:nvsentinel-mcp-kubeconfig}",
        "NVSENTINEL_MCP_ALLOW_CHANGES": "${input:nvsentinel-mcp-allow-changes}",
        "NVSENTINEL_MCP_LAB_CONTEXT": "${input:nvsentinel-mcp-lab-context}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

NVSentinel Lab in other clients