pREST

Stdio MCP adapter bridging AI clients to pREST’s HTTP /_mcp endpoint for PostgreSQL APIs.

stdioofficialservice

Package Details

Transportstdio

Environment Variables

PREST_MCP_URL(str)
Required

URL of your running pREST HTTP MCP endpoint, for example http://localhost:3000/_mcp

PREST_MCP_TOKEN(str)
Secret

Optional bearer token used to authenticate with the pREST MCP endpoint.

PREST_MCP_TIMEOUT_MS(num)

Optional HTTP timeout in milliseconds. Defaults to 30000.