# Database Universal

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

**Type:** Community

**Source Type:** Repository

**Description:** Database Universal MCP server provides AI assistants with access to PostgreSQL, MySQL, MariaDB, and Oracle databases. It supports natural-language SQL queries through a single connection string or component fields.

**Configuration Parameters:**

* **Connection String (DSN)** (sensitive) (use this OR the fields below) - Full DSN, e.g. `postgres://user:pass@host:5432/db`. Use either this or the component fields below.
* **Database Type** (optional) - `postgres`, `mysql`, `mariadb`, or `oracle`.
* **Database Host** (optional) - Database hostname.
* **Database Port** (optional) - Database port. Defaults to the standard port for the chosen type.
* **Database User** (optional) - Database username.
* **Database Password** (sensitive) (optional) - Database password.
* **Database Name** (optional) - Database name.
* **Read-only** (optional) - Set to `true` to disable writes (recommended for first-time setup).

**Setup Steps:**

1. Identify the database user that the MCP server will connect as. Read-only access is strongly recommended for initial deployments.
2. Either compose the full DSN or note the host/port/user/password/database fields separately.
3. When creating the connection in Natoma, enter the DSN (or the component fields) and save.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.natoma.ai/apps/database-universal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
