Skip to content
VS Code

ROUA: read-only database accounts for VS Code

io.github.promisegithub/roua

Create and audit read-only database accounts for AI agents: PostgreSQL, MySQL, SQL Server and more.

client:VS Code transport:stdio runtime:npm

Install ROUA: read-only database accounts in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "admin-database-url",
      "description": "ADMIN_DATABASE_URL",
      "password": true
    }
  ],
  "servers": {
    "roua": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@roua-dev/cli"
      ],
      "env": {
        "ADMIN_DATABASE_URL": "${input:admin-database-url}"
      }
    }
  }
}

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

ROUA: read-only database accounts in other clients