Postgres DBA MCP
io.github.a-lafon/postgres-dba-mcp ยท version 0.3.3
Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.
Bounded, read-only PostgreSQL access for AI assistants: nine DBA tools, compact CSV output
https://github.com/a-lafon/postgres-dba-mcpQuick facts
- Listing: Community
- Published Oct 30, 18:58 UTC
- Transport: stdio
- Package: oci
ghcr.io/a-lafon/postgres-dba-mcp:0.3.3 - Listed by cosmic-mcp: Nov 9, 04:25 UTC
Details
- Repository: https://github.com/a-lafon/postgres-dba-mcp
- Needs settings:
DATABASE_URI
Setup snippets
Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.
Run it locally (oci)
docker run -i --rm -e 'DATABASE_URI' 'ghcr.io/a-lafon/postgres-dba-mcp:0.3.3'Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"postgres-dba-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"DATABASE_URI",
"ghcr.io/a-lafon/postgres-dba-mcp:0.3.3"
],
"command": "docker",
"env": {
"DATABASE_URI": "<your database uri>"
}
}
}
}Claude Code
claude mcp add 'postgres-dba-mcp' -- docker run -i --rm -e 'DATABASE_URI' 'ghcr.io/a-lafon/postgres-dba-mcp:0.3.3'Cursor (.cursor/mcp.json)
{
"mcpServers": {
"postgres-dba-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"DATABASE_URI",
"ghcr.io/a-lafon/postgres-dba-mcp:0.3.3"
],
"command": "docker",
"env": {
"DATABASE_URI": "<your database uri>"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"postgres-dba-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"DATABASE_URI",
"ghcr.io/a-lafon/postgres-dba-mcp:0.3.3"
],
"command": "docker",
"env": {
"DATABASE_URI": "<your database uri>"
},
"type": "stdio"
}
}
}Related servers
- spotdb Verified domain
Ephemeral data sandbox for AI workflows with guardrails and security - Reasonbook Verified domain
Reasonbook: decisions that survive the session, in a local record AI agents keep. - 3Q PDF & SheetKit Verified domain
One-time purchase, no subscription: Windows PDF app with 36 offline commands and 8 Excel templates. - AI Form API
Create forms, share the link and read responses as JSON or CSV from your AI agent. - AI for Database Verified domain
Ask your databases questions in plain English, run read-only SQL and set up data alerts. - AI2SQL Verified domain
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema