Skip to main content
Glama
mahin1995

postgres-mcp-readonly

by mahin1995

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAX_ROWSNoDefault maximum rows returned500
AUDIT_LOGNoSet to true to write JSON audit events to stderrfalse
DATABASE_URLNoSingle PostgreSQL connection string (backward compatible). Example: postgres://user:pass@localhost:5432/dbname
DATABASE_URLSNoMultiple PostgreSQL URLs as alias=url pairs or JSON. Example: default=postgres://user:pass@localhost:5432/app,analytics=postgres://user:pass@localhost:5432/analytics
MAX_STATEMENTSNoMaximum semicolon-separated statements per multi-statement tool call10
DEFAULT_DATABASENoDefault alias used when tool input omits databasedefault
STATEMENT_TIMEOUT_MSNoQuery timeout in milliseconds5000

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

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