# Postgres MCP Pro Inspect schemas, run queries, and analyze performance against a PostgreSQL database. Maintained by Crystal DBA. ## Required environment | Variable | Description | |---|---| | `DATABASE_URI` | Connection string, e.g. `postgresql://user:pass@host:5432/db` | ## Access mode Runs in `restricted` mode by default (read-only, safe for production). Use `--access-mode=unrestricted` only for trusted dev databases. ## Setup ``` uvx postgres-mcp --access-mode=restricted ```
PostgreSQL by modelcontextprotocol
Read-only SQL queries and schema inspection against a PostgreSQL database.
Loading...