{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Poudel0/postgres-mcp-safe",
  "slug": "io.github.poudel0.postgres-mcp-safe",
  "title": "Postgres (read-only transactions)",
  "summary": "Drop-in replacement for @modelcontextprotocol/server-postgres that is actually read-only.",
  "version": "0.1.3",
  "serverKey": "postgres-mcp-safe",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.poudel0.postgres-mcp-safe",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.poudel0.postgres-mcp-safe/install.md",
  "trust": {
    "score": 85,
    "grade": "A",
    "smokeStatus": "needs_credentials",
    "status": "active",
    "verifiedAt": "2026-12-01T15:20:48.929528684Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "postgres-mcp-safe@0.1.3",
        "<postgresql_url>"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add postgres-mcp-safe -- npx -y postgres-mcp-safe@0.1.3 '<postgresql_url>'"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"postgres-mcp-safe\": {\n      \"args\": [\n        \"-y\",\n        \"postgres-mcp-safe@0.1.3\",\n        \"<postgresql_url>\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"postgres-mcp-safe\": {\n      \"args\": [\n        \"-y\",\n        \"postgres-mcp-safe@0.1.3\",\n        \"<postgresql_url>\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"postgres-mcp-safe\": {\n      \"args\": [\n        \"-y\",\n        \"postgres-mcp-safe@0.1.3\",\n        \"<postgresql_url>\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.postgres-mcp-safe]\ncommand = \"npx\"\nargs = [\"-y\", \"postgres-mcp-safe@0.1.3\", \"<postgresql_url>\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/poudel0/postgres-mcp-safe:0.1.3",
        "<postgresql_url>"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add postgres-mcp-safe -- docker run -i --rm ghcr.io/poudel0/postgres-mcp-safe:0.1.3 '<postgresql_url>'"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"postgres-mcp-safe\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"ghcr.io/poudel0/postgres-mcp-safe:0.1.3\",\n        \"<postgresql_url>\"\n      ],\n      \"command\": \"docker\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"postgres-mcp-safe\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"ghcr.io/poudel0/postgres-mcp-safe:0.1.3\",\n        \"<postgresql_url>\"\n      ],\n      \"command\": \"docker\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"postgres-mcp-safe\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"ghcr.io/poudel0/postgres-mcp-safe:0.1.3\",\n        \"<postgresql_url>\"\n      ],\n      \"command\": \"docker\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.postgres-mcp-safe]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"ghcr.io/poudel0/postgres-mcp-safe:0.1.3\", \"<postgresql_url>\"]"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": null,
  "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.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T15:20:48.929528684Z"
}
