NexQL Postgres MCP for VS Code
io.github.nexql-oss/nexql-mcp
Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
client:VS Code
transport:stdio
runtime:npm
Install NexQL Postgres MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "database-url",
"description": "DATABASE_URL",
"password": true
},
{
"type": "promptString",
"id": "nexql-mcp-config",
"description": "NEXQL_MCP_CONFIG",
"password": true
}
],
"servers": {
"nexql-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"nexql-mcp"
],
"env": {
"DATABASE_URL": "${input:database-url}",
"NEXQL_MCP_CONFIG": "${input:nexql-mcp-config}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs