{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.a-lafon/postgres-dba-mcp",
  "slug": "io.github.a-lafon.postgres-dba-mcp",
  "title": "Postgres DBA MCP",
  "summary": "Bounded, read-only PostgreSQL access for AI assistants: ten DBA tools, compact CSV output",
  "version": "0.4.3",
  "serverKey": "postgres-dba-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.a-lafon.postgres-dba-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.a-lafon.postgres-dba-mcp/install.md",
  "trust": {
    "score": 81,
    "grade": "B",
    "smokeStatus": "needs_credentials",
    "status": "active",
    "verifiedAt": "2026-12-01T20:49:06.067714158Z"
  },
  "methods": [
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DATABASE_URI",
        "ghcr.io/a-lafon/postgres-dba-mcp:0.4.3"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add postgres-dba-mcp -e 'DATABASE_URI=<DATABASE_URI>' -- docker run -i --rm -e DATABASE_URI ghcr.io/a-lafon/postgres-dba-mcp:0.4.3"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"postgres-dba-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"DATABASE_URI\",\n        \"ghcr.io/a-lafon/postgres-dba-mcp:0.4.3\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"DATABASE_URI\": \"<DATABASE_URI>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"postgres-dba-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"DATABASE_URI\",\n        \"ghcr.io/a-lafon/postgres-dba-mcp:0.4.3\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"DATABASE_URI\": \"<DATABASE_URI>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"DATABASE_URI\",\n      \"id\": \"database-uri\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"postgres-dba-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"DATABASE_URI\",\n        \"ghcr.io/a-lafon/postgres-dba-mcp:0.4.3\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"DATABASE_URI\": \"${input:database-uri}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.postgres-dba-mcp]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"-e\", \"DATABASE_URI\", \"ghcr.io/a-lafon/postgres-dba-mcp:0.4.3\"]\nenv = { \"DATABASE_URI\" = \"<DATABASE_URI>\" }"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": [
    {
      "name": "DATABASE_URI",
      "required": true,
      "secret": true,
      "description": "PostgreSQL connection URI of the database to serve",
      "help": "PostgreSQL connection URI of the database to serve",
      "placeholder": "<DATABASE_URI>"
    }
  ],
  "agentSteps": [
    "Ask the user for: DATABASE_URI. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "If it fails, check that the required runtime is installed (Docker) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T20:49:06.067714158Z"
}
