Skip to content
VS Code

BanditDB for VS Code

com.banditdb/mcp

Persistent decision memory for agents — learns which action works in which context

client:VS Code transport:stdio runtime:pypi

Install BanditDB in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "banditdb-url",
      "description": "BANDITDB_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "banditdb-api-key",
      "description": "BANDITDB_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "banditdb-python"
      ],
      "env": {
        "BANDITDB_URL": "${input:banditdb-url}",
        "BANDITDB_API_KEY": "${input:banditdb-api-key}"
      }
    }
  }
}

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

BanditDB in other clients