# PostgreSQL SSH MCP Server

> Use this tool when you need to securely connect to PostgreSQL databases through bastion hosts, enabling AI assistants to access data while maintaining network security. It solves problems of secure database access and connectivity, supporting both STDIO and Streamable HTTP transports. Ideal for use cases requiring automated, secure database connections with SSH tunneling, it accepts database credentials and connection requests as inputs and outputs query results and database information.

Canonical page: https://skillsregistry.net/skills/zlash65-postgresql-ssh-mcp  
JSON: https://api.skillsregistry.net/v1/skills/zlash65-postgresql-ssh-mcp

## Description

A secure PostgreSQL MCP server with built-in SSH tunneling that enables AI assistants to connect to databases through bastion hosts automatically, supporting both STDIO and Streamable HTTP transports.

## Trust

- **Trust score (0–1):** 0.66
- **Verification tier:** scanned
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-01

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/qjzt1hafsg)
- **Repository:** <https://github.com/Zlash65/postgresql-ssh-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "zlash65-postgresql-ssh-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/zlash65-postgresql-ssh-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/zlash65-postgresql-ssh-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
