Read-only database access with schema inspection
A Model Context Protocol server that provides read-only access to PostgreSQL databases. Inspect database schemas and execute read-only queries safely.
{
"mcpServers": {
"postgres": {
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
],
"command": "npx"
}
}
}