Skip to content
Grok

pREST for Grok

io.github.prest/prest

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

client:Grok transport:stdio runtime:oci

Install pREST in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

pREST in other clients