pg_status
Shows the active PostgreSQL connection profile, host, database, write mode, and live health-check status. Optionally pass a profile to check it without changing the current session.
Instructions
Show current sticky PostgreSQL profile, host, database, write mode, and a live SELECT 1 health check. Optional profile arg for a one-shot check without changing the sticky session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Connection profile: "dev" | "qa" | "default". Uses credentials from mcp.json (PG_DEV_* / PG_QA_*). Omit to use the sticky session profile from pg_set_profile / PG_PROFILE. | |
| database | No | Optional database override for the health check |