Skip to content
Cursor

DBeast PostgreSQL MCP for Cursor

io.github.snss10/dbeast

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

client:Cursor transport:stdio runtime:oci

Install DBeast PostgreSQL MCP in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

DBeast PostgreSQL MCP in other clients