STDIODatabase & SQLServer MCPKebocoran Tanpa Rahasia Diaudit

Postgres MCP Pro - Penyetelan Indeks HypoPG, JELASKAN Rencana & Audit Kesehatan

Server produksi PostgreSQL MCP berjalan melalui uvx dengan mode hanya baca terbatas, penasihat indeks beban kerja, indeks virtual HypoPG, dan analisis pg_stat_statements.

1-Klik Konfigurasi Klien & Runtime

{
  "mcpServers": {
    "postgres-mcp-pro": {
      "command": "uvx",
      "args": [
        "postgres-mcp",
        "--access-mode=restricted"
      ],
      "env": {
        "DATABASE_URI": "${DATABASE_URI}"
      }
    }
  }
}

Catatan Pengaturan Komunitas & Tinjauan Produksi (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.

Posting Catatan Pengaturan atau Tip Verifikasi

Alat MCP & Inspektur Skema Sumber Daya Terkena

Alat/Pengidentifikasi Sumber DayaParameter MasukanPerilaku Eksekusi
postgres_mcp_pro_querysql_or_filter: string, limit?: numberProduction PostgreSQL MCP server running via uvx with restricted read-only mode, workload index advisor, HypoPG virtual indexes, and pg.
postgres_mcp_pro_inspect_schemanamespace?: stringEnumerates tables, collections, column types, and active index definitions.