Skip to content
Gemini CLI

PostgreSQL MCP Server for Gemini CLI

io.github.neverinfamous/postgres-mcp-server

Enterprise PostgreSQL MCP server with 63 tools, 10 resources, 10 prompts for AI-native operations

client:Gemini CLI transport:stdio runtime:oci

Install PostgreSQL MCP Server in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "postgres-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/writenotenow/postgres-mcp-enhanced:v1.2.0"
      ]
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

PostgreSQL MCP Server in other clients