Back to directory
ahmedmustahid/postgres-mcp-server

ahmedmustahid/postgres-mcp-server

@ahmedmustahid

MCP Server for PostgreSQL database with HTTP and Stdio dual transport support

PostgreSQLdatabaseSQLMCPserverTypeScriptHTTPStdio

Installation & Configuration

{
  "mcpServers": {
    "postgres-mcp-server": {
      "command": "npx",
      "args": [
        "@ahmedmustahid/postgres-mcp-server",
        "stdio"
      ],
      "env": {
        "POSTGRES_USERNAME": "your-username",
        "POSTGRES_PASSWORD": "your-password",
        "POSTGRES_HOST": "hostname",
        "POSTGRES_DATABASE": "database-name"
      }
    }
  }
}

Information

Transport
stdiostreamable-http
Language
TypeScript
Created
2026/6/12
Updated
2026/6/12