STDIO데이터베이스 및 SQLMCP 서버제로 비밀 유출 감사
Postgres MCP Pro — HypoPG 인덱스 튜닝, EXPLAIN 계획 및 상태 감사
제한된 읽기 전용 모드, 워크로드 인덱스 어드바이저, HypoPG 가상 인덱스 및 pg_stat_statements 분석을 통해 uvx를 통해 실행되는 프로덕션 PostgreSQL MCP 서버입니다.
1-클릭 클라이언트 및 런타임 구성
{
"mcpServers": {
"postgres-mcp-pro": {
"command": "uvx",
"args": [
"postgres-mcp",
"--access-mode=restricted"
],
"env": {
"DATABASE_URI": "${DATABASE_URI}"
}
}
}
}커뮤니티 설정 참고 사항 및 제작 리뷰 (2)
@elena-db2026-11-12
Tip: pass ?application_name=mcp_readonly in DATABASE_URI so pg_stat_activity separates agent queries from production traffic.
@arda-sre2026-11-12
Running against our PostgreSQL 18 read-replica with statement_timeout=3000ms and HypoPG enabled—caught two missing JSONB GIN indexes in under 40 seconds.
노출된 MCP 도구 및 리소스 스키마 검사기
| 도구/자원 식별자 | 입력 매개변수 | 실행 동작 |
|---|---|---|
| postgres_mcp_pro_query | sql_or_filter: string, limit?: number | Production PostgreSQL MCP server running via uvx with restricted read-only mode, workload index advisor, HypoPG virtual indexes, and pg. |
| postgres_mcp_pro_inspect_schema | namespace?: string | Enumerates tables, collections, column types, and active index definitions. |