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.
数据库
npm 0 个平台
0 项功能
安装
npx -y @zlash65/postgresql-ssh-mcp
把上面的配置写入 MCP 客户端的配置文件(Claude Desktop 为 claude_desktop_config.json),重启客户端后生效。
{
"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>"
}
}
}
}把上面的配置写入 MCP 客户端的配置文件(Claude Desktop 为 claude_desktop_config.json),重启客户端后生效。
数据来源:公开的 MCP Server 目录。本站为独立第三方目录,与各 MCP Server 维护方均无隶属或背书关系;名称与简介如实标注,介绍文案由本站再加工。