> For the complete documentation index, see [llms.txt](https://docs.natoma.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.natoma.ai/apps/genai-toolbox-postgres.md).

# PostgreSQL (Toolbox)

{% hint style="warning" %}
**Early Access** — Reach out to your Natoma representative for access.
{% endhint %}

**Type:** Official

**Source Type:** Repository

**Source:** [GitHub](https://github.com/googleapis/genai-toolbox)

**Description:** MCP Toolbox for PostgreSQL (powered by Google's GenAI Toolbox) provides AI assistants with access to PostgreSQL databases. It enables querying schemas and tables and running SQL.

**Configuration Parameters:**

* **Postgres Host** \* - Database host (e.g. `db.example.com`).
* **Postgres Port** (optional) - Database port. Default: `5432`.
* **Postgres User** \* - Database username.
* **Postgres Password** \* (sensitive) - Database password.
* **Postgres Database** \* - Database name.

**Setup Steps:**

1. Identify a database user with only the privileges end users should have. Read-only access is strongly recommended.
2. Note the host, port, username, password, and database name.
3. When creating the connection in Natoma, paste the values and save.
