Skip to content
VS Code

WhiteCapData Dev for VS Code

io.github.michael-whitecapdata/whitecapdata-dev

Operate a k3s / Kubernetes cluster from your AI agent — safe-by-default MCP server.

client:VS Code transport:stdio runtime:pypi

Install WhiteCapData Dev in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "homelab-mcp-context",
      "description": "HOMELAB_MCP_CONTEXT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "homelab-mcp-readonly",
      "description": "HOMELAB_MCP_READONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "homelab-mcp-mutable-namespaces",
      "description": "HOMELAB_MCP_MUTABLE_NAMESPACES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "homelab-mcp-max-replicas",
      "description": "HOMELAB_MCP_MAX_REPLICAS",
      "password": true
    }
  ],
  "servers": {
    "whitecapdata-dev": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "whitecapdata-dev"
      ],
      "env": {
        "HOMELAB_MCP_CONTEXT": "${input:homelab-mcp-context}",
        "HOMELAB_MCP_READONLY": "${input:homelab-mcp-readonly}",
        "HOMELAB_MCP_MUTABLE_NAMESPACES": "${input:homelab-mcp-mutable-namespaces}",
        "HOMELAB_MCP_MAX_REPLICAS": "${input:homelab-mcp-max-replicas}"
      }
    }
  }
}

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

WhiteCapData Dev in other clients