pREST for Cursor
io.github.prest/prest
Stdio MCP adapter bridging AI clients to pREST’s HTTP /_mcp endpoint for PostgreSQL APIs.
client:Cursor
transport:stdio
runtime:oci
Install pREST in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"prest": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/prest/prest-mcp-adapter:0.1.3"
],
"env": {
"PREST_MCP_URL": "<PREST_MCP_URL>",
"PREST_MCP_TOKEN": "<PREST_MCP_TOKEN>",
"PREST_MCP_TIMEOUT_MS": "<PREST_MCP_TIMEOUT_MS>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs