{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.r69shabh/pg-bloat-detective",
  "slug": "io.github.r69shabh.pg-bloat-detective",
  "title": "PG Bloat Detective",
  "summary": "Read-only Postgres bloat verdicts: blockers, timelines, REINDEX proof.",
  "version": "0.1.6",
  "serverKey": "pg-bloat-detective",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.r69shabh.pg-bloat-detective",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.r69shabh.pg-bloat-detective/install.md",
  "trust": {
    "score": 84,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T00:43:06.704080355Z"
  },
  "methods": [
    {
      "id": "pypi",
      "label": "PyPI (uvx)",
      "transport": "stdio",
      "command": "uvx",
      "args": [
        "--from",
        "pg-bloat-detective==0.1.6",
        "bloat-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add pg-bloat-detective -- uvx --from pg-bloat-detective==0.1.6 bloat-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"pg-bloat-detective\": {\n      \"args\": [\n        \"--from\",\n        \"pg-bloat-detective==0.1.6\",\n        \"bloat-mcp\"\n      ],\n      \"command\": \"uvx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"pg-bloat-detective\": {\n      \"args\": [\n        \"--from\",\n        \"pg-bloat-detective==0.1.6\",\n        \"bloat-mcp\"\n      ],\n      \"command\": \"uvx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"pg-bloat-detective\": {\n      \"args\": [\n        \"--from\",\n        \"pg-bloat-detective==0.1.6\",\n        \"bloat-mcp\"\n      ],\n      \"command\": \"uvx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.pg-bloat-detective]\ncommand = \"uvx\"\nargs = [\"--from\", \"pg-bloat-detective==0.1.6\", \"bloat-mcp\"]"
        }
      ],
      "requires": [
        "uv (https://docs.astral.sh/uv/)"
      ]
    }
  ],
  "env": [
    {
      "name": "BLOAT_DSN",
      "required": false,
      "secret": false,
      "description": "Postgres DSN (read-only enforced: 5s statement timeout, read-only tx)",
      "help": "Postgres DSN (read-only enforced: 5s statement timeout, read-only tx)",
      "default": "dbname=bloatdemo user=postgres host=localhost port=5433",
      "placeholder": "dbname=bloatdemo user=postgres host=localhost port=5433"
    },
    {
      "name": "BLOAT_DB",
      "required": false,
      "secret": false,
      "description": "SQLite timeline file written by bloatdetective collect",
      "help": "SQLite timeline file written by bloatdetective collect",
      "default": "timeline.db",
      "placeholder": "timeline.db"
    }
  ],
  "expectedTools": [
    "bloat_check",
    "bloat_collect",
    "bloat_timeline",
    "bloat_blockers",
    "bloat_live_diagnose"
  ],
  "agentSteps": [
    "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.",
    "Verify: the server should expose these tools: bloat_check, bloat_collect, bloat_timeline, bloat_blockers, bloat_live_diagnose.",
    "If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T00:43:06.704080355Z"
}
