mcp-postgres
by gbfeliped
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PG_SSL | No | Enable SSL (true/false) | false |
| PG_HOST | No | Server hostname or IP | |
| PG_PORT | No | TCP port | 5432 |
| PG_USER | No | PostgreSQL username | |
| PG_DATABASE | No | Database name | |
| PG_PASSWORD | No | PostgreSQL password | |
| PG_SSH_HOST | No | SSH server hostname (activates tunnel when set) | |
| PG_SSH_PORT | No | SSH server port | 22 |
| PG_SSH_USER | No | SSH username | |
| PG_SSH_PASSWORD | No | SSH password | |
| PG_SSH_PRIVATE_KEY | No | Path to private key file | |
| PG_SSH_REMOTE_HOST | No | Postgres host as seen from SSH server (defaults to PG_HOST) | |
| PG_SSH_KEY_PASSPHRASE | No | Passphrase for private key | |
| PG_SSL_REJECT_UNAUTHORIZED | No | Reject self-signed certs | true |
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
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/gbfeliped/mcp-postgres-readonly'
If you have feedback or need assistance with the MCP directory API, please join our Discord server