prest

Instant REST and MCP APIs over PostgreSQL or MySQL without writing a backend

Local

Install

See setup instructions on www.prestd.com

What it does

pREST is a server that exposes an existing or new SQL database through HTTP REST routes and a read-only Model Context Protocol endpoint, so you can do CRUD and run custom SQL queries without building a backend. It targets developers who want quick data APIs, and AI clients such as Cursor or Claude that speak MCP over HTTP.

It ships as a Docker image, through Homebrew, or as a Go binary; configure it with a TOML file, environment variables, or a JSON document for container deployments. PostgreSQL 9.5 or later is the default engine, and MySQL 8.0.19 or later is a separate dialect selected with the mysql engine setting; read-only MCP support on MySQL arrived in v2.5.1. Several databases can be served at once through an alias registry or an allow-list, with per-request routing by database and schema name.

Notable limits: MariaDB, TiDB and Aurora MySQL are only on the roadmap. On MySQL a schema must equal the database in the path. Query script values that are interpolated into SQL are screened and refused when they contain quotes, comment markers, casts or SQL keywords, so free-form values should use the binding helpers instead. TimescaleDB-specific settings such as the session time zone apply only to PostgreSQL. Multiple open connection pools are capped at 64 for PostgreSQL.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
4,639
Last push
Nov 20, 2026
License
MIT
Archived
No

Other MySQL MCP servers

Compare servers
  • Open-source desktop SQL workspace with an MCP server for AI coding agents.

    • BigQuery
    • ClickHouse
    • DuckDB
    Updated
  • Git-versioned codebase index that coding agents read before acting.

    • MySQL
    • PostgreSQL
    Updated
  • SQL query engine for files, databases, and apps, with MCP access for LLMs.

    • MySQL
    • Notion
    • SQLite
    Updated
  • Keyboard-first SQL client for PostgreSQL, MySQL, SQL Server, SQLite and ClickHouse.

    • ClickHouse
    • MySQL
    • PostgreSQL
    Updated
  • MCP server for exploring and querying MySQL from AI clients

    • MySQL
    Updated
  • Open-source industrial IoT runtime with an MCP tool gateway for AI agents

    • MySQL
    • PostgreSQL
    • Redis
    Updated

FAQ

What license does prest use?
MIT
Does prest run locally or remotely?
It runs locally.
Is prest an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/prest-2"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options