querydig for VS Code
io.github.milankatira/querydig
Find, fix and verify N+1 and slow MongoDB/SQL queries in JS/TS, Python, Go, Java, Ruby and PHP.
client:VS Code
transport:stdio
runtime:npm
Install querydig in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "querydig-db-uri",
"description": "QUERYDIG_DB_URI",
"password": true
}
],
"servers": {
"querydig": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"querydig"
],
"env": {
"QUERYDIG_DB_URI": "${input:querydig-db-uri}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs