PostgreSQL
Type: server
Category: databases
Author: modelcontextprotocol
Language: Python
Tags: postgresql,database-access,read-only
Description: Read-only database access with schema inspection
Tools:
[{"name":"query","description":"Run a read-only SQL query","inputSchema":{"type":"object","properties":{"sql":{"type":"string"}}}}]
Server command: docker exec -i mcp-node bash -c "npx -y @modelcontextprotocol/server-postgres {POSTGRES_URL}"
Server configuration:
{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postgres",
        "postgresql://localhost/mydb"
      ]
    }
  }
}