queryshield for VS Code
io.github.bch1212/queryshield
Secure SQL proxy for AI agents — NL→SQL, AST safety, per-agent RLS, audit log.
client:VS Code
transport:stdio
runtime:pypi
Install queryshield in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "queryshield-api-key",
"description": "QUERYSHIELD_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "queryshield-base-url",
"description": "QUERYSHIELD_BASE_URL",
"password": true
}
],
"servers": {
"queryshield": {
"type": "stdio",
"command": "uvx",
"args": [
"queryshield-mcp"
],
"env": {
"QUERYSHIELD_API_KEY": "${input:queryshield-api-key}",
"QUERYSHIELD_BASE_URL": "${input:queryshield-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