Postgres DBA MCP
io.github.a-lafon/postgres-dba-mcp
Bounded, read-only PostgreSQL access for AI assistants: nine DBA tools, compact CSV output
Connect this server
Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.
{
"mcpServers": {
"postgres-dba-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/a-lafon/postgres-dba-mcp:0.3.3"
],
"env": {
"DATABASE_URI": "<your DATABASE_URI>"
}
}
}
}- DATABASE_URIrequiredsecretPostgreSQL connection URI of the database to serve
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Databases
- Version
- 0.3.3
- Registry
- active
- Published
- 10/30/2026
More Databases servers
Browse all Databases →SQL
Abhishekkumar2021
Read-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.
io.github.agentic-eng/a2db
agentic-eng
Safe, read-only database access for AI agents. 5 databases, batch queries, SQLGlot.
MySQL AIops
AIops-tools
Governed MySQL/MariaDB DBA ops: slow-query, lock-wait, replication & fragmentation RCA; 35 tools.
Postgres AIops
AIops-tools
Governed PostgreSQL DBA ops: slow-query RCA, bloat/vacuum & blocking-lock analysis; 35 MCP tools.
APC Security Reference Server
Aleph-Lab-s
Reference MCP server for synthetic APC action-security evaluation and local SQLite sandbox testin...
Universal DB (read-only)
alghanim
Read-only, guarded SQL access for AI agents: PostgreSQL, MySQL, ClickHouse, Oracle, SQL Server, Db2
Add the badge to your site
Show visitors that Postgres DBA MCP is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-a-lafon-postgres-dba-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Postgres DBA MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-a-lafon-postgres-dba-mcp?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.