Skip to main content
Glama
fvanevski

postgres_mcp

by fvanevski

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABASE_URLYesRequired PostgreSQL connection URL.
MCP_PG_ENV_FILENoAbsolute path to an env file outside the launch directory.
MCP_PG_LOG_LEVELNoLogging verbosity; set to DEBUG for detailed query logs.INFO
MCP_PG_TRANSPORTNoTransport to use (stdio or streamable-http).stdio
MCP_PG_POOL_MAX_SIZENoConnection pool maximum size.5
MCP_PG_POOL_MIN_SIZENoConnection pool minimum size.1
MCP_PG_APPLICATION_NAMENoPostgreSQL application_name sent for connection tracking.mcp-postgres-server
MCP_PG_ALLOW_WRITE_COMMANDSNoWhether write commands are allowed (disabled by default).false
MCP_PG_CONFIRM_WRITE_COMMANDSNoWhether a mandatory human approval prompt is required for write commands.true
MCP_PG_POOL_OPEN_TIMEOUT_SECONDSNoPool open timeout in seconds.20
MCP_PG_POOL_ACQUIRE_TIMEOUT_SECONDSNoPool acquire timeout in seconds.10

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/fvanevski/postgres_mcp'

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