Skip to main content
Glama
gbfeliped

mcp-postgres

by gbfeliped

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PG_SSLNoEnable SSL (true/false)false
PG_HOSTNoServer hostname or IP
PG_PORTNoTCP port5432
PG_USERNoPostgreSQL username
PG_DATABASENoDatabase name
PG_PASSWORDNoPostgreSQL password
PG_SSH_HOSTNoSSH server hostname (activates tunnel when set)
PG_SSH_PORTNoSSH server port22
PG_SSH_USERNoSSH username
PG_SSH_PASSWORDNoSSH password
PG_SSH_PRIVATE_KEYNoPath to private key file
PG_SSH_REMOTE_HOSTNoPostgres host as seen from SSH server (defaults to PG_HOST)
PG_SSH_KEY_PASSPHRASENoPassphrase for private key
PG_SSL_REJECT_UNAUTHORIZEDNoReject self-signed certstrue

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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