MCP DB Connect for VS Code
io.github.phatngoit/mcp-db-connect
MCP server for Oracle, MSSQL, PostgreSQL, MySQL, SQLite, MongoDB, and Qdrant vector search access.
client:VS Code
transport:stdio
runtime:npm
Install MCP DB Connect in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "mcp-db-config",
"description": "MCP_DB_CONFIG",
"password": true
}
],
"servers": {
"mcp-db-connect": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-db-connect"
],
"env": {
"MCP_DB_CONFIG": "${input:mcp-db-config}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs