postgres-ssh-mcp

JSON →
library 0.1.4 ·javascript
verified Jun 5, 2026

An MCP server for PostgreSQL with SSH tunnel support, enabling AI assistants like Claude to query and introspect databases through direct, SSH config, or explicit SSH connections. Version 0.1.4 is the latest stable release. It provides read-only query execution, EXPLAIN plans, schema/table listing, and connection status monitoring. Unlike other PostgreSQL MCP servers, it natively handles SSH tunneling for bastion hosts, supporting both SSH config aliases and explicit credentials. Works cross-platform on macOS, Linux, and Windows.