Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-postgres": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/postgres",
"-f",
"src/postgres/Dockerfile",
"."
]
}
}
}