Skip to main content
Glama
YawLabs

@yawlabs/postgres-mcp

by YawLabs

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ALLOW_WRITESNoSet to '1' or 'true' to allow write operations via pg_query and pg_explain ANALYZE-of-writes. Default is unset (read-only).
DATABASE_URLYesPostgreSQL connection string (required).
POSTGRES_MAX_ROWSNoMaximum rows returned by pg_query. Default is 1000.1000
POSTGRES_POOL_MAXNoMaximum pool connections. Default is 5.5
POSTGRES_STATEMENT_TIMEOUT_MSNoPer-statement timeout in milliseconds. Default is 30000.30000
POSTGRES_CONNECTION_TIMEOUT_MSNoTCP connect timeout in milliseconds. Default is 10000.10000
POSTGRES_SSL_REJECT_UNAUTHORIZEDNoSet to 'false' to skip TLS cert verification (connection remains encrypted). Default is unset.

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/YawLabs/postgres-mcp'

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