Skip to main content
Glama
dkbearsong

postgres-mcp

by dkbearsong

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTNoDatabase host
DB_NAMENoDatabase name
DB_PORTNoDatabase port5432
DB_USERNoDatabase user
PGSSLMODENoSSL mode (disable, prefer, require, verify-ca, verify-full)prefer
ROW_LIMITNoMaximum number of rows returned by SELECT queries500
BACKUP_DIRNoDirectory for storing backups./backups
DB_PASSWORDNoDatabase password
MAX_BACKUPSNoMaximum number of backups to retain10
DATABASE_URLNoPostgreSQL connection URL (alternative to individual DB_* variables)
MAX_BACKUP_AGE_DAYSNoMaximum age of backups in days7.0
LARGE_SCALE_THRESHOLDNoRow count threshold for triggering disposable environment testing1000
DB_BACKUP_THRESHOLD_BYTESNoThreshold in bytes for triggering full database backup10485760

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/dkbearsong/Postgres-MCP-Tool'

If you have feedback or need assistance with the MCP directory API, please join our Discord server