← Back to search Server uses filesystem capabilities via: fs sync ops, fs.promises Server uses env_vars capabilities via: process.env
@zlash65/postgresql-ssh-mcp
PostgreSQL MCP Server with built-in SSH tunneling for secure database access through bastion hosts
D
40 / 100
Versions
1.2.1latestDec 28, 2025
1.2.0Dec 26, 2025
1.1.0Dec 25, 2025
1.0.0Dec 25, 2025
Tools 12
list_schemas annotations: none low
List schemas (excludes system schemas by default).
list_tables annotations: none low
List tables in a schema with estimated row counts and sizes.
describe_table annotations: none low
Describe a table (columns, constraints, indexes).
table string
list_databases annotations: none low
List databases with owner, encoding, and size.
get_connection_status annotations: none low
Get connection status, pool stats, and tunnel state.
list_active_connections annotations: none low
List active connections from pg_stat_activity.
list_long_running_queries annotations: none low
List queries running longer than a threshold.
get_database_version annotations: none low
Get PostgreSQL server version.
get_database_size annotations: none low
Get database size and largest tables.
get_table_stats annotations: none low
Get table statistics (rows, vacuum/analyze, scan counts).
table string
execute_query annotations: none low
Execute SQL with optional parameters. Results are capped by MAX_ROWS and include a truncated flag.
sql string
explain_query annotations: none low
Return an EXPLAIN plan for a query. ANALYZE executes the query.
sql string
Permissions 2
filesystem low env_vars low Scan Findings 45
low
Tool 'list_schemas' has no annotations
low
Tool 'list_tables' has no annotations
low
Tool 'describe_table' has no annotations
low
Tool 'list_databases' has no annotations
low
Tool 'get_connection_status' has no annotations
low
Tool 'list_active_connections' has no annotations
low
Tool 'list_long_running_queries' has no annotations
low
Tool 'get_database_version' has no annotations
low
Tool 'get_database_size' has no annotations
low
Tool 'get_table_stats' has no annotations
low
Tool 'execute_query' has no annotations
low
Tool 'explain_query' has no annotations
info
Sandbox failed to start for behavioral verification
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.25.1 (GHSA-345p-7cg4-v4c7)
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.25.1 (GHSA-6qxp-vccf-f47h)
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.25.1 (GHSA-8r9q-7v3j-jr4g)
medium
Vulnerable dependency: vitest@2.1.8 (GHSA-5xrq-8626-4rwp)
medium
Vulnerable dependency: vitest@2.1.8 (GHSA-82fw-gwwq-j7x9)
medium
Vulnerable dependency: vitest@2.1.8 (GHSA-9crc-q9x8-hgqq)
medium
Buffer.from base64 in Zlash65-postgresql-ssh-mcp-2a350d4/src/connection/host-key-verifier.ts:92
info
package.json metadata
info
Tool: list_schemas
info
Tool: list_tables
info
Tool: describe_table
info
Tool: list_databases
info
Tool: get_connection_status
info
Tool: list_active_connections
info
Tool: list_long_running_queries
info
Tool: get_database_version
info
Tool: get_database_size
info
Tool: get_table_stats
info
Tool: execute_query
info
Tool: explain_query
info
Transport: stdio
info
Required env vars (38)
info
Sandbox failed to start for output poisoning scan
low
Permission: filesystem access detected
low
Permission: env_vars access detected
info
SBOM generated: 789 components
critical
Database URL with Password found in Zlash65-postgresql-ssh-mcp-2a350d4/README.md
critical
Database URL with Password found in Zlash65-postgresql-ssh-mcp-2a350d4/docs/server-setup.md
critical
Database URL with Password found in Zlash65-postgresql-ssh-mcp-2a350d4/docs/streamable-http.md
critical
Database URL with Password found in Zlash65-postgresql-ssh-mcp-2a350d4/docs/stdio-setup.md
critical
Database URL with Password found in Zlash65-postgresql-ssh-mcp-2a350d4/.github/workflows/pr-checks.yml
medium
No build provenance detected (SLSA L0)