postgres-ssh-mcp
by SecretX33
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_SSL | No | Set to 'true' to enable TLS for the database connection | false |
| DB_HOST | Yes | Postgres host or RDS endpoint | |
| DB_NAME | Yes | Database name | |
| DB_PORT | No | Postgres port | 5432 |
| DB_USER | Yes | Database user | |
| SSH_HOST | No | SSH config alias (reads ~/.ssh/config) | |
| SSH_PORT | No | SSH port | 22 |
| SSH_USER | No | SSH login user | |
| DB_SSL_CA | No | Path to a custom CA certificate file (PEM) for SSL verification | |
| DB_MAX_ROWS | No | Maximum rows returned per query | 1000 |
| DB_PASSWORD | Yes | Database password | |
| DB_READ_ONLY | No | Set to 'false' to allow write queries | true |
| SSH_HOSTNAME | No | Bastion hostname or IP | |
| SSH_PASSWORD | No | SSH password (alternative to key-based auth) | |
| ALLOWED_TOOLS | No | Comma-separated list of tools to register. When unset, all tools are available. | |
| SSH_IDENTITY_FILE | No | Absolute path or ~/... to private key file | |
| SSH_KEY_PASSPHRASE | No | Passphrase for an encrypted private key | |
| DB_QUERY_TIMEOUT_MS | No | Milliseconds before a query is forcibly cancelled | 15000 |
| SSH_KNOWN_HOSTS_PATH | No | Path to custom known_hosts file | |
| SSH_TRUST_ON_FIRST_USE | No | Auto-accept and save unknown SSH host keys on first connection | true |
| DB_CONNECTION_POOL_SIZE | No | Maximum number of connections in the pool | 5 |
| SSH_KEEPALIVE_COUNT_MAX | No | Max unanswered keepalive probes before dropping the connection | 3 |
| DB_CONNECTION_TIMEOUT_MS | No | Milliseconds to wait for a connection from the pool | 10000 |
| DB_POOL_DRAIN_TIMEOUT_MS | No | Milliseconds to wait for old pool to drain during reconnection (0 to never wait) | 5000 |
| SSH_KEEPALIVE_INTERVAL_MS | No | Milliseconds between SSH keepalive probes (if set: minimum 1000) | |
| DB_SSL_REJECT_UNAUTHORIZED | No | Set to 'false' to skip SSL certificate validation (insecure) | true |
| SSH_MAX_RECONNECT_ATTEMPTS | No | Max SSH reconnection attempts (-1 for unlimited, 0 to disable) | 5 |
| SSH_STRICT_HOST_KEY_CHECKING | No | Enables or disables strict host checking | true |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SecretX33/postgres-ssh-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server