Skip to content
VS Code

DBShield Database Guardrail & Sandboxing MCP Server for VS Code

io.github.ritualdev-lab/dbshield

Safety-first Database Guardrail & Sandboxing MCP Server for AI Coding Agents

client:VS Code transport:stdio runtime:npm

Install DBShield Database Guardrail & Sandboxing MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "dbshield-dialect",
      "description": "DBSHIELD_DIALECT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "dbshield-db-url",
      "description": "DBSHIELD_DB_URL",
      "password": true
    }
  ],
  "servers": {
    "dbshield": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ritualdev-lab/dbshield"
      ],
      "env": {
        "DBSHIELD_DIALECT": "${input:dbshield-dialect}",
        "DBSHIELD_DB_URL": "${input:dbshield-db-url}"
      }
    }
  }
}

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

DBShield Database Guardrail & Sandboxing MCP Server in other clients