Skip to content
VS Code

kastell for VS Code

io.github.kastelldev/kastell

Server security audit (413 checks), hardening, and fleet management across 4 cloud providers.

client:VS Code transport:stdio runtime:npm

Install kastell in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "hetzner-token",
      "description": "HETZNER_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "digitalocean-token",
      "description": "DIGITALOCEAN_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vultr-token",
      "description": "VULTR_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "linode-token",
      "description": "LINODE_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "kastell": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "kastell"
      ],
      "env": {
        "HETZNER_TOKEN": "${input:hetzner-token}",
        "DIGITALOCEAN_TOKEN": "${input:digitalocean-token}",
        "VULTR_TOKEN": "${input:vultr-token}",
        "LINODE_TOKEN": "${input:linode-token}"
      }
    }
  }
}

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

kastell in other clients