PostgreSQL SSH MCP Server
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.
Databases
npm 0 platforms
0 features
Install
npx -y @zlash65/postgresql-ssh-mcp
Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
{
"mcpServers": {
"postgresql-ssh-mcp": {
"command": "npx",
"args": [
"-y",
"@zlash65/postgresql-ssh-mcp"
],
"env": {
"PORT": "<PORT>",
"MAX_ROWS": "<MAX_ROWS>",
"MCP_HOST": "<MCP_HOST>",
"SSH_HOST": "<SSH_HOST>",
"SSH_PORT": "<SSH_PORT>",
"SSH_USER": "<SSH_USER>",
"READ_ONLY": "<READ_ONLY>",
"SSH_ENABLED": "<SSH_ENABLED>"
}
}
}
}Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
Sources: public MCP Server directories. This is an independent third-party directory with no affiliation to or endorsement from the maintainers of the listed servers.