#180180th of 403 in Backends, databases and hosting
prest
Go server that exposes PostgreSQL or MySQL as REST and read-only MCP APIs
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts prest on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.prest is on your watch list. Its new releases and problems show there.
- Stars
- 4.6k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Go
4,497 on 25 Mar 20264,641 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Before you pick it
- Known advisory in latest version. 2 known advisories: github.com/prest/prest/v2 v2.6.0, the latest version. Source (opens in a new tab), checked .
Overview
pREST is a Go service that sits in front of an existing PostgreSQL (9.5+) or MySQL (8.0.19+) database and serves CRUD over GET /{database}/{schema}/{table}. It adds custom SQL routes from query script templates, auth, ACLs, and a read-only MCP endpoint for AI clients. One instance can serve several databases through a registry or an allow-list.
Who it is for: Developers who want a REST or MCP API over an existing SQL database
Strengths
- Instant REST CRUD on an existing Postgres or MySQL schema, no handwritten backend
- Read-only MCP endpoint built in, with docs for Cursor and Claude clients
- Query templates can bind values (sqlVal, sqlList, ident) instead of screened interpolation
- Serves multiple databases per instance; config can be passed as a JSON env var
Weaknesses
- MySQL support is newer (v2.5.0); MariaDB, TiDB and Aurora MySQL are still roadmap
- On MySQL, schema must equal database, so other-schema paths return 404
- Interpolated query-script values are refused if they contain quotes or SQL keywords
- MySQL with default prepare = false interpolates placeholders instead of sending values out of band
What it needs
- no GPU
- Docker + Compose
- Needs PostgreSQL 9.5+ or MySQL 8.0.19+
What changed
- v2.5.2 ↗ (opens in a new tab)Security fix
GHSA-FMR6-9J48-XRQP, GHSA-FHF5-M388-4W4P, GHSA-2X9Q-R7J9-G85F.
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Known problems
Open now, reported in the last 90 days
Reported, then fixed by a linked change
- deploy to Heroku failed ↗ (opens in a new tab)0 reactions · closed 18 Nov 2026Fixed by fix: use current Heroku Postgres plan in app.json ↗ (opens in a new tab)
- lint: error return value of `w.Write` is not checked (errcheck) ↗ (opens in a new tab)0 reactions · closed 16 Nov 2026Fixed by fix(controllers): check w.Write errors on response bodies ↗ (opens in a new tab)
- How to set auth jwt token timeout ? ↗ (opens in a new tab)0 reactions · closed 10 Nov 2026Fixed by feat(auth): make the lifetime of /auth tokens configurable ↗ (opens in a new tab)
- plugin system: bugs and/or incorrect documentation ↗ (opens in a new tab)0 reactions · closed 18 Sept 2026Fixed by feat: plugin middleware and build process ↗ (opens in a new tab)
- JOIN issue when using restrict access in toml file ↗ (opens in a new tab)0 reactions · closed 16 Sept 2026Fixed by fix: JOIN issue when using restrict access in toml file ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Backends, databases and hosting
See all 403| Rank | Project | Score |
|---|---|---|
| #178 | spicedbZanzibar-style authorization database with relationship-based permission checks | 73 out of 100 |
| #179 | aws-sam-cliCLI to build, test locally, and deploy AWS Lambda serverless applications | 73 out of 100 |
| #181 | objectbox-javaEmbedded object database with vector search for Java, Kotlin and Android | 73 out of 100 |
| #182 | supabase-jsOfficial JavaScript client SDK for Supabase services | 73 out of 100 |
| #183 | authgear-serverSelf-hosted authentication server with login UI, admin portal and GraphQL Admin API | 73 out of 100 |