> For the complete documentation index, see [llms.txt](https://docs.prestd.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.prestd.com/get-prest.md). Agents can also search and read this documentation through its [MCP server](https://docs.prestd.com/~gitbook/mcp).

# Get pREST

Download and run pREST — Docker, Homebrew, or Go — for instant REST and MCP APIs on SQL databases (PostgreSQL native today).

Download and run pREST to get instant REST and MCP APIs for your SQL database. PostgreSQL is the native adapter today — see [Databases](https://docs.prestd.com/databases.md). If this is your first install, start with [Start with Docker](https://docs.prestd.com/get-prest/start-with-docker.md) or [Deploying with Docker](https://docs.prestd.com/deployment/deploying-with-docker.md). Compare channels in [Distribution](https://docs.prestd.com/get-prest/distribution.md).

* Use the Docker Hub image
* Use the GitHub image
* [Homebrew](https://docs.prestd.com/get-prest/start-with-homebrew.md) — `prestd` (homebrew-core) and `prest-mcp` ([prest/tap](https://github.com/prest/homebrew-tap))
* Download from [source](https://docs.prestd.com/get-prest/start-with-golang.md) and run
* GitHub [releases](https://github.com/prest/prest/releases)
* [Distribution channels](https://docs.prestd.com/get-prest/distribution.md) — which method for server vs MCP adapter

## Latest: v2.6.0

[**v2.6.0**](https://docs.prestd.com/releases/v2.6.0.md) is a feature release: request IDs (`http.request_id_header`), `pg.application_name`, MCP `protocolVersion` negotiation, `PREST_CONFIG_JSON`, `http.allowed_hosts`, `pg.timezone`, a configurable `/auth` token lifetime (`auth.token_ttl`), `prestd auth create-user`, `$contains` on array columns, and `rows`/`columns`/msgpack renderers. It fixes no security advisory and includes every v2.5.3 fix. See the [upgrade guide](https://docs.prestd.com/get-started/upgrading-to-v2.md), [pREST Studio](https://docs.prestd.com/get-started/prest-studio.md), [MCP over HTTP](https://docs.prestd.com/get-started/mcp-over-http.md), and [AI and MCP](https://docs.prestd.com/ai.md).

* **Binary:** [v2.6.0 assets](https://github.com/prest/prest/releases/tag/v2.6.0)
* **Docker:** `prest/prest:v2.6.0`
* **Go:** `go install github.com/prest/prest/v2/cmd/prestd@v2.6.0`

{% hint style="warning" %}
`jwt.key` must be at least 32 bytes for HS256 from v2.4.2 — a shorter key is discarded at startup and auth disables itself rather than failing the start. See [Auth — HMAC key requirements](https://docs.prestd.com/api-reference/auth.md#hmac-key-requirements-v242).
{% endhint %}

\* \*\*MCP adapter:\*\* \`brew install prest/tap/prest-mcp\` or see \[Install pREST MCP Adapter]\(../ai/install-prest-mcp.md)

Database support labels: [Databases](https://docs.prestd.com/databases.md).

## Related

* [Homepage](https://docs.prestd.com/readme.md)
* [Acronyms](https://docs.prestd.com/readme/acronyms.md) ([REST](https://docs.prestd.com/readme/acronyms.md#rest), [MCP](https://docs.prestd.com/readme/acronyms.md#mcp))
* [Databases](https://docs.prestd.com/databases.md)
* [Get Started](https://docs.prestd.com/get-started.md)
* [v2.6.0 release notes](https://docs.prestd.com/releases/v2.6.0.md) · [v2.5.3 release notes](https://docs.prestd.com/releases/v2.5.3.md) · [v2.5.2 release notes](https://docs.prestd.com/releases/v2.5.2.md)
