PlugWiki

Postgres DBA MCP Server: Tools, Setup for Claude Code, Cursor & More

CommunityLocal
GetDockerghcr.io/a-lafon/postgres-dba-mcpa-lafon/postgres-dba-mcp

Not the official PostgreSQL MCP server. This one is built by the community. PostgreSQL makes its own: MCP Toolbox for Databases →

Bounded, read-only PostgreSQL access for AI assistants: nine DBA tools, compact CSV output

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install Postgres DBA MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the Postgres DBA MCP server to Claude Code. Run this command:
    
    claude mcp add postgres-dba -e DATABASE_URI=<DATABASE_URI> -- docker run -i --rm -e DATABASE_URI ghcr.io/a-lafon/postgres-dba-mcp
    
    Ask me for DATABASE_URI and only put the values in that config, nowhere else.
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Docker.

Built from the package data we hold. Not yet tested by us.

Tools

We don't list Postgres DBA MCP's tools here yet. After you connect it, ask your assistant "What can you do with Postgres DBA MCP?" to see them.

Information

updated Nov 2, 2026

Publisher
Community
Package
ghcr.io/a-lafon/postgres-dba-mcp
Registry
Docker
Transport
stdio
Version
0.3.3
License
MIT
Last commit
Oct 30, 2026
Open issues
0
Listed in
Official MCP registry

GitHubOfficial MCP RegistryChangelogIssues

Other PostgreSQL MCP servers

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.