Skip to main content
Glama
Poudel0

postgres-mcp-safe

by Poudel0

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TIMEOUTNoTime limit per call (passed as the --timeout flag before the URL). Cannot be turned off; 0 is an error.30s
MAX_ROWSNoRows returned per call; extra rows are cut off with a note (passed as the --max-rows flag before the URL). Cannot be turned off; 0 is an error.1000
MAX_BYTESNoJSON bytes returned per call, and the max size of a single row (passed as the --max-bytes flag before the URL). Cannot be turned off; 0 is an error.262144
DATABASE_URLYesThe PostgreSQL connection URL or keyword DSN (e.g. postgresql://localhost/mydb or "host=db dbname=app"), passed as a positional argument. Any flags must come before this URL. Standard PG* environment variables (PGPASSWORD, etc.) are also read as libpq would.
ALLOW_SUPERUSERNoAllows a superuser role, or a member of one; read-only is then not guaranteed (passed as the --allow-superuser flag before the URL).false
ALLOW_EXPLAIN_ANALYZENoLets the explain tool run EXPLAIN ANALYZE, which executes the query (passed as the --allow-explain-analyze flag before the URL).false

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