UNPKG

mcp-postgres-full-access

Version:

Full-access PostgreSQL server for Model Context Protocol with read/write capabilities and enhanced schema metadata

11 lines (10 loc) 249 B
import pg from "pg"; export declare const SCHEMA_PATH = "schema"; export interface TrackedTransaction { id: string; client: pg.PoolClient; startTime: number; sql: string; state: 'active' | 'terminating'; released: boolean; }