postgres-dba-mcp

Level CLocal

Bounded PostgreSQL access for AI assistants: read-only by default, nine DBA tools, compact CSV output, one static Go binary. Drop-in replacement for crystaldba/postgres-mcp

⭐ 0DatabaseGoRepo ↗Updated 2026-10-30

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "postgres-dba-mcp": {
      "command": "npx",
      "args": [
        "ghcr.io/a-lafon/postgres-dba-mcp:0.3.3"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/a-lafon/postgres-dba-mcp

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "postgres-dba-mcp": {
      "command": "npx",
      "args": [
        "ghcr.io/a-lafon/postgres-dba-mcp:0.3.3"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers