pg_set_profile
Switch the active PostgreSQL connection profile to dev, qa, or default so later queries automatically use the selected environment without re-entering credentials.
Instructions
Set the sticky session connection profile to "dev" or "qa" (or "default"). Call when the user says pgprofile=dev, pgprofile=qa, use Dev DB, switch to QA, etc. Later tools reuse this profile automatically — no host/password in chat. Credentials are loaded from PG_DEV_* / PG_QA_* in mcp.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verify | No | If true (default), run SELECT 1 against the new profile | |
| profile | Yes | Target profile: "dev" | "qa" | "default" (aliases: development, uat) |