67
/ 100
3 days ago
glama

postgres-mcp-server

Enables AI assistants to securely interact with PostgreSQL databases through a standardized MCP interface, supporting SQL queries, schema inspection, and database management.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
🔐
You'll be asked for 1 credential: POSTGRES_PASSWORD
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configPOSTGRES_HOSTlocalhost PostgreSQL host
configPOSTGRES_PORT5432 PostgreSQL port
configPOSTGRES_DATABASEpostgres Database name
configPOSTGRES_USERpostgres Database user
🔐 secretPOSTGRES_PASSWORDDatabase password
configPOSTGRES_MIN_CONNECTIONS1 Min pool connections
configPOSTGRES_MAX_CONNECTIONS10 Max pool connections
configREAD_ONLYtrue Restrict to SELECT only
configALLOW_WRITEfalse Enable write operations
configMAX_ROWS1000 Max rows returned per query
configQUERY_TIMEOUT30 Query timeout in seconds
configRATE_LIMIT60 Max requests per window
configRATE_WINDOW60 Rate limit window in seconds
configLOG_LEVELINFO Log level (DEBUG, INFO, WARNING, ERROR)
configLOG_JSONfalse Output logs as JSON
configCACHE_TTL300 Schema cache TTL in seconds
configRETRY_MAX_ATTEMPTS3 Max connection retries
configRETRY_BASE_DELAY
configRETRY_MAX_DELAY
configMETRICS_ENABLEDtrue Enable metrics collection
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 6 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/abdulsammad-lgtm-postgres-mcp-server-mmckpq)](https://m8ven.ai/mcp/abdulsammad-lgtm-postgres-mcp-server-mmckpq)
commit: 7ef674a2c2713f5454a0f95d07e85a6bbe06d391
code hash: a8b03f543db9a52662cc0bfd63555d14fef1ce14462df700e080e5bc185b8b2d
verified: 7/28/2026, 9:10:40 AM
view raw JSON →