50
/ 100
1 day ago
glama

postgres-mcp

A secure PostgreSQL MCP server allowing AI models to read, write, update, and delete database records with parameterized queries, transactional dry-runs, disposable testing, and automated backups.

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
⚠️
Tool descriptions don’t match what handlers do
1 tool describes read intent but its handler mutates — export_to_csv (line 285: with open(csv_path, "w", newline="", encoding="utf-8") as f:)
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: DB_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.
configDATABASE_URLpostgresql://user:password@host:5432/dbname
configPGHOST
configDB_HOST"": "192.168.1.89",
configPGPORT
configDB_PORT"": "5432",
configPGUSER
configDB_USER"": "postgres",
configPGPASSWORD
🔐 secretDB_PASSWORDyour_password
configPGDATABASE
configDB_NAME"": "job_searcher"
configPGSSLMODE
configROW_LIMITExecutes a read-only query. Limits results to (default 500) and returns results in a structured JSON format.
configLARGE_SCALE_THRESHOLD
configBACKUP_DIR
configMAX_BACKUPS
configMAX_BACKUP_AGE_DAYS
configDB_BACKUP_THRESHOLD_BYTES10485760 # 10MB
// 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 8 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/dkbearsong-postgres-mcp-tool-1phhpo)](https://m8ven.ai/mcp/dkbearsong-postgres-mcp-tool-1phhpo)
commit: c468be871395d6b8c1b87d8b52baf82e8f4caf68
code hash: fb253323d73a2039c57f5f4de8f10676d9d59774e614ea269863025ddb07b90b
verified: 7/30/2026, 8:55:34 AM
view raw JSON →