Skip to main content
Glama
abdulsammad-lgtm

postgres-mcp-server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_JSONNoOutput logs as JSONfalse
MAX_ROWSNoMax rows returned per query1000
CACHE_TTLNoSchema cache TTL in seconds300
LOG_LEVELNoLog level (DEBUG, INFO, WARNING, ERROR)INFO
READ_ONLYNoRestrict to SELECT onlytrue
RATE_LIMITNoMax requests per window60
ALLOW_WRITENoEnable write operationsfalse
RATE_WINDOWNoRate limit window in seconds60
POSTGRES_HOSTNoPostgreSQL hostlocalhost
POSTGRES_PORTNoPostgreSQL port5432
POSTGRES_USERNoDatabase userpostgres
QUERY_TIMEOUTNoQuery timeout in seconds30
METRICS_ENABLEDNoEnable metrics collectiontrue
POSTGRES_DATABASENoDatabase namepostgres
POSTGRES_PASSWORDNoDatabase password
RETRY_MAX_ATTEMPTSNoMax connection retries3
POSTGRES_MAX_CONNECTIONSNoMax pool connections10
POSTGRES_MIN_CONNECTIONSNoMin pool connections1

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/abdulsammad-lgtm/postgres-mcp-server'

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