MCP Database Server for VS Code
io.github.souhar-dya/mcp-db-server
MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.
client:VS Code
transport:stdio
runtime:oci
Install MCP Database Server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "database-url",
"description": "DATABASE_URL",
"password": true
}
],
"servers": {
"mcp-db-server": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/souhardyak/mcp-db-server:1.3.1"
],
"env": {
"DATABASE_URL": "${input: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