Skip to content
VS Code

Kaval for VS Code

io.github.usekaval/kaval

Verify the facts an agent's action depends on before it acts — ALLOW, REVIEW, or BLOCK.

client:VS Code transport:stdio runtime:npm

Install Kaval in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "kaval-api-key",
      "description": "KAVAL_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "kaval-base-url",
      "description": "KAVAL_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "kaval": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@usekaval/mcp"
      ],
      "env": {
        "KAVAL_API_KEY": "${input:kaval-api-key}",
        "KAVAL_BASE_URL": "${input:kaval-base-url}"
      }
    }
  }
}

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

Kaval in other clients