69
/ 100
1 month ago
glama

MCPg - Production-grade PostgreSQL MCP Server

A production-grade Model Context Protocol server for PostgreSQL. Lets AI agents safely inspect, query, operate, and tune a Postgres database — over 100 tools spanning catalog introspection, query intelligence, natural-language SQL, structural diffs, hybrid search, graph queries, data movement, live ops, and more.

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.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configMCPG_TEST_DATABASE_URL
configBERGEN_ROOT
configRAG_GENERATOR_NAME
configRAG_RETRIEVER_NAME
configRAG_PROMPT_NAME
configRAG_PG_DSN
configRAG_TABLE_NAME
configRAG_ID_COLUMN
configRAG_TEXT_COLUMN
configRAG_EMBEDDING_COLUMN
configRAG_QUERY_VECTOR_CAST
configRAG_METRIC
configRAG_TURBOQUANT_INDEX_NAME
configRAG_HNSW_INDEX_NAME
configRAG_IVFFLAT_INDEX_NAME
configRAG_GENERATION_TOP_K
configRAG_QUERY_LIMIT
configMCPG_AUDIT_REDACT_KEYSComma-separated regex fragments added to the secret-name pattern (defaults already cover password, passwd, secret, token, api[_-]?key, bearer, authorization, database_url, dsn, conninfo).
configOTEL_SERVICE_NAME
configOTEL_RESOURCE_ATTRIBUTES
// 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/devopam-mcpg-e2ifz4)](https://m8ven.ai/mcp/devopam-mcpg-e2ifz4)
commit: c311f6b107d739c17d9c331d696901daddc6b5b0
code hash: c2c6782dcfefd1c9b52279d72b9202850b1e9cb8b6ce3758c9a67dd26c31ff92
verified: 6/17/2026, 11:28:29 AM
view raw JSON →