pREST MCP server
io.github.prest/prest·v0.1.3Stdio MCP adapter bridging AI clients to pREST’s HTTP /_mcp endpoint for PostgreSQL APIs.
0 stars
Reviews
Write oneNobody has reviewed pREST yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
pREST tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 78 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
How pREST compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 68/100
- higher than 30% of 48,255 servers
Install pREST in Claude Code, Cursor or VS Code
claude mcp add prest -- docker run -i --rm ghcr.io/prest/prest-mcp-adapter:0.1.3
What the publisher says
From the pREST repository's README, as published. We do not edit it. Read it on GitHub
pREST MCP Adapter
Official stdio adapter for pREST’s HTTP MCP endpoint.
This adapter lets MCP clients that require stdio connect to a running pREST instance exposing an HTTP MCP endpoint at /_mcp.
MCP client / AI IDE
↓ stdio (NDJSON JSON-RPC)
prest-mcp
↓ HTTP POST
http://localhost:3000/_mcp
↓
pRESTThe adapter is a tiny transport bridge. It does not introspect schemas, generate SQL, or implement MCP tools. Those live in pREST.
Requirements
- A running pREST instance with the /_mcp route available
- Go 1.26+ (to build from source)
Environment variables
Install
From source
go install github.com/prest/prest-mcp-adapter/cmd/prest-mcp@latestDocker / OCI
docker pull ghcr.io/prest/prest-mcp-adapter:0.1.3Local usage
PREST_MCP_URL=http://localhost:3000/_mcp prest-mcpWith token
PREST_MCP_URL=https://api.example.com/_mcp \
PREST_MCP_TOKEN=secret \
prest-mcpDocker usage
docker run --rm -i \
-e PREST_MCP_URL=http://host.docker.internal:3000/_mcp \
ghcr.io/prest/prest-mcp-adapter:0.1.3MCP client configuration
Cursor
Add to your MCP settings (e.g. .cursor/mcp.json):
{
"mcpServers": {
"prest": {
"command": "prest-mcp",
"env": {
"PREST_MCP_URL": "http://localhost:3000/_mcp"
}
}
}
}Claude Desktop
Add to claudedesktopconfig.json:
{
"mcpServers": {
"prest": {
"command": "prest-mcp",
"env": {
"PREST_MCP_URL": "http://localhost:3000/_mcp"
}
}
}
}Generic MCP client
Any client that can launch a stdio MCP server:
PREST_MCP_URL=http://localhost:3000/_mcp prest-mcpProtocol messages are newline-delimited JSON-RPC on stdin/stdout. Logs go only to stderr.
Security recommendation
Use a read-only PostgreSQL user for AI/MCP workflows unless write access is explicitly required.
Do not expose unauthenticated MCP endpoints publicly.
Prefer local or private-network pREST MCP endpoints.
When pREST auth is enabled, set PRESTMCPTOKEN to a valid JWT.
Development
make test # go test -race ./... and overall coverage >= 80%
make coverage # coverage gate only
make vet
make build # writes bin/prest-mcpLicense
MIT — see LICENSE.
Nothing above is checked by us. What we check is on the safety report.
pREST: common questions
- Is pREST MCP server safe?
- With care: it is graded C, so read the findings first (68/100). Read the pREST safety report
- How do I install pREST?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does pREST need an API key?
- Yes. The registry entry asks for
PREST_MCP_TOKEN. - Is pREST maintained?
- The last commit was 117 days ago (2026-07-10). The latest release is v0.1.3.