STDIOฐานข้อมูลและ SQLเซิร์ฟเวอร์ MCPตรวจสอบการรั่วไหลแบบ Zero-Secret แล้ว
Postgres MCP Pro — การปรับดัชนี HypoPG อธิบายแผนและการตรวจสอบสุขภาพ
เซิร์ฟเวอร์การผลิต PostgreSQL MCP ทำงานผ่าน uvx ด้วยโหมดอ่านอย่างเดียวแบบจำกัด ตัวแนะนำดัชนีภาระงาน ดัชนีเสมือน HypoPG และการวิเคราะห์ pg_stat_statements
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. |