dbmcp-postgres
PostgreSQL backend for dbmcp — the single-binary MCP server that lets your AI assistant talk to SQL databases.
What you get
PostgresHandlerready to plug into anyrmcp::ServerHandler-compatible MCP transport- Full MCP tool surface:
listDatabases,listTables(withdetailed: true),listViews,listTriggers,listFunctions,listProcedures,listMaterializedViews,readQuery,writeQuery,explainQuery,createDatabase,dropDatabase,dropTable - Per-database connection pool cache (
moka) — cheap per-calldatabaseswitches - Read-only by default — write tools hidden unless explicitly disabled
- Parameterised queries everywhere — user values never touch SQL strings
- Optional PII redaction on every
readQuerypayload; walks JSON/JSONB recursively