{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.sezzlee/postgres",
  "slug": "io.github.sezzlee.postgres",
  "title": "Sezzlee PostgreSQL",
  "summary": "Explore and query PostgreSQL read-only: catalogue search, schema introspection and bounded queries.",
  "version": "0.2.1",
  "serverKey": "postgres",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.sezzlee.postgres",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.sezzlee.postgres/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T20:29:01.340547538Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@sezzlee/postgres-mcp@0.2.1",
        "sezzlee-postgres"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add postgres -e 'SEZZLEE_POSTGRES_DATABASE=<SEZZLEE_POSTGRES_DATABASE>' -e 'SEZZLEE_POSTGRES_PASSWORD=<SEZZLEE_POSTGRES_PASSWORD>' -e 'SEZZLEE_POSTGRES_SERVER=<SEZZLEE_POSTGRES_SERVER>' -e 'SEZZLEE_POSTGRES_USER=<SEZZLEE_POSTGRES_USER>' -- npx -y --package=@sezzlee/postgres-mcp@0.2.1 sezzlee-postgres"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"postgres\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@sezzlee/postgres-mcp@0.2.1\",\n        \"sezzlee-postgres\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SEZZLEE_POSTGRES_DATABASE\": \"<SEZZLEE_POSTGRES_DATABASE>\",\n        \"SEZZLEE_POSTGRES_PASSWORD\": \"<SEZZLEE_POSTGRES_PASSWORD>\",\n        \"SEZZLEE_POSTGRES_SERVER\": \"<SEZZLEE_POSTGRES_SERVER>\",\n        \"SEZZLEE_POSTGRES_USER\": \"<SEZZLEE_POSTGRES_USER>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"postgres\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@sezzlee/postgres-mcp@0.2.1\",\n        \"sezzlee-postgres\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SEZZLEE_POSTGRES_DATABASE\": \"<SEZZLEE_POSTGRES_DATABASE>\",\n        \"SEZZLEE_POSTGRES_PASSWORD\": \"<SEZZLEE_POSTGRES_PASSWORD>\",\n        \"SEZZLEE_POSTGRES_SERVER\": \"<SEZZLEE_POSTGRES_SERVER>\",\n        \"SEZZLEE_POSTGRES_USER\": \"<SEZZLEE_POSTGRES_USER>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"SEZZLEE_POSTGRES_DATABASE\",\n      \"id\": \"sezzlee-postgres-database\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"SEZZLEE_POSTGRES_PASSWORD\",\n      \"id\": \"sezzlee-postgres-password\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"SEZZLEE_POSTGRES_SERVER\",\n      \"id\": \"sezzlee-postgres-server\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"SEZZLEE_POSTGRES_USER\",\n      \"id\": \"sezzlee-postgres-user\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"postgres\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@sezzlee/postgres-mcp@0.2.1\",\n        \"sezzlee-postgres\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SEZZLEE_POSTGRES_DATABASE\": \"${input:sezzlee-postgres-database}\",\n        \"SEZZLEE_POSTGRES_PASSWORD\": \"${input:sezzlee-postgres-password}\",\n        \"SEZZLEE_POSTGRES_SERVER\": \"${input:sezzlee-postgres-server}\",\n        \"SEZZLEE_POSTGRES_USER\": \"${input:sezzlee-postgres-user}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.postgres]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@sezzlee/postgres-mcp@0.2.1\", \"sezzlee-postgres\"]\nenv = { \"SEZZLEE_POSTGRES_DATABASE\" = \"<SEZZLEE_POSTGRES_DATABASE>\", \"SEZZLEE_POSTGRES_PASSWORD\" = \"<SEZZLEE_POSTGRES_PASSWORD>\", \"SEZZLEE_POSTGRES_SERVER\" = \"<SEZZLEE_POSTGRES_SERVER>\", \"SEZZLEE_POSTGRES_USER\" = \"<SEZZLEE_POSTGRES_USER>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "SEZZLEE_POSTGRES_SERVER",
      "required": true,
      "secret": false,
      "description": "Database host",
      "help": "Database host",
      "placeholder": "<SEZZLEE_POSTGRES_SERVER>"
    },
    {
      "name": "SEZZLEE_POSTGRES_PORT",
      "required": false,
      "secret": false,
      "description": "Database port",
      "help": "Database port",
      "default": "5432",
      "placeholder": "5432"
    },
    {
      "name": "SEZZLEE_POSTGRES_DATABASE",
      "required": true,
      "secret": false,
      "description": "Database name",
      "help": "Database name",
      "placeholder": "<SEZZLEE_POSTGRES_DATABASE>"
    },
    {
      "name": "SEZZLEE_POSTGRES_USER",
      "required": true,
      "secret": false,
      "description": "Login of a read-only principal",
      "help": "Login of a read-only principal",
      "placeholder": "<SEZZLEE_POSTGRES_USER>"
    },
    {
      "name": "SEZZLEE_POSTGRES_PASSWORD",
      "required": true,
      "secret": true,
      "description": "Password of that login",
      "help": "Password of that login",
      "placeholder": "<SEZZLEE_POSTGRES_PASSWORD>"
    },
    {
      "name": "SEZZLEE_POSTGRES_SSL_MODE",
      "required": false,
      "secret": false,
      "description": "TLS mode",
      "help": "TLS mode",
      "default": "verify-full",
      "placeholder": "verify-full"
    },
    {
      "name": "SEZZLEE_POSTGRES_CONNECT_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "Connect timeout in milliseconds",
      "help": "Connect timeout in milliseconds",
      "default": "30000",
      "placeholder": "30000"
    },
    {
      "name": "SEZZLEE_POSTGRES_QUERY_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "Query timeout in milliseconds",
      "help": "Query timeout in milliseconds",
      "default": "30000",
      "placeholder": "30000"
    }
  ],
  "expectedTools": [
    "describe_connection",
    "search_catalog",
    "describe_table",
    "run_query"
  ],
  "agentSteps": [
    "Ask the user for: SEZZLEE_POSTGRES_SERVER, SEZZLEE_POSTGRES_DATABASE, SEZZLEE_POSTGRES_USER, SEZZLEE_POSTGRES_PASSWORD. 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.",
    "Verify: the server should expose these tools: describe_connection, search_catalog, describe_table, run_query.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T20:29:01.340547538Z"
}
