Skip to content
Back to skills

Expose Postgres Safely To Agents With Prest Mcp

ASecurity

Run pREST in front of existing Postgres databases to provide instant REST APIs and a read-only MCP endpoint with auth, ACL, custom SQL routes, and multi-database support.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentsgosqldockergitapidatabasesecuritydocumentation

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add agentskillexchange/skills --skill expose-postgres-safely-to-agents-with-prest-mcp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Expose Postgres Safely To Agents With Prest Mcp?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Expose Postgres Safely To Agents With Prest Mcp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-expose-postgres-safely-to-agents-with-prest-mcp/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-expose-postgres-safely-to-agents-with-prest-mcp)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Expose Postgres safely to agents with pREST MCP"
slug: "expose-postgres-safely-to-agents-with-prest-mcp"
description: "Run pREST in front of existing Postgres databases to provide instant REST APIs and a read-only MCP endpoint with auth, ACL, custom SQL routes, and multi-database support."
github_stars: 4596
verification: "security_reviewed"
source: "https://github.com/prest/prest"
author: "pREST"
publisher_type: "organization"
category: "Data Extraction & Transformation"
framework: "MCP"
tool_ecosystem:
  github_repo: "prest/prest"
  github_stars: 4596
---

# Expose Postgres safely to agents with pREST MCP

Run pREST in front of existing Postgres databases to provide instant REST APIs and a read-only MCP endpoint with auth, ACL, custom SQL routes, and multi-database support.

## Prerequisites

pRESTd; PostgreSQL 9.5+; database connection configuration; optional Docker, Homebrew, or Go install path; MCP-capable AI client

## Installation

Use the upstream install or setup path that matches your environment:
- make test-unit
- make test-integration-postgres
- make test-integration-timescaledb
- docker compose -f integration/postgres/docker-compose.yml up -d --wait \

Requirements and caveats from upstream:
- | Get pREST (Docker, Homebrew, Go) | [Get pREST](https://docs.prestd.com/get-prest) |
- Run integration suites inside Docker (no local Postgres required):
- Or with Docker Compose:

Basic usage or getting-started notes:
- http
- GET /{database}/{schema}/{table}
- See [Configuring pREST](https://docs.prestd.com/get-started/configuring-prest) for auth, ACL, custom queries, and MCP.

- Source: https://github.com/prest/prest
- Extracted from upstream docs: https://raw.githubusercontent.com/prest/prest/HEAD/README.md

## Documentation

- https://docs.prestd.com/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/expose-postgres-safely-to-agents-with-prest-mcp/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.