Skip to main content
Glama
postgres-readonly-mcp

postgres-readonly-mcp

by lmartin712

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PG_DSNYeslibpq connection string or URL.
MCP_AUDIT_LOGNoJSONL audit file. Use an absolute path under Claude Desktop.~/.postgres-readonly-mcp/audit.jsonl
MCP_ROW_LIMITNoMaximum rows returned per query.200
MCP_ALLOWED_TABLESYesComma-separated. `customers` means `public.customers`; use `sales.invoices` for other schemas. The server refuses to start if empty.
MCP_STATEMENT_TIMEOUT_MSNoPer-statement timeout.5000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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