Skip to content
Grok

DBeast PostgreSQL MCP for Grok

io.github.snss10/dbeast

PostgreSQL MCP server for schema, query, health, security, and performance analysis.

client:Grok transport:stdio runtime:oci

Install DBeast PostgreSQL MCP 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": {
    "dbeast": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/snss10/dbeast:2.0.2"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "DB_HOST": "<DB_HOST>",
        "DB_PORT": "<DB_PORT>",
        "DB_USER": "<DB_USER>",
        "DB_PASSWORD": "<DB_PASSWORD>",
        "DB_NAME": "<DB_NAME>",
        "AWS_SECRET_NAME": "<AWS_SECRET_NAME>",
        "AWS_REGION": "<AWS_REGION>"
      }
    }
  }
}

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

DBeast PostgreSQL MCP in other clients