P

Postgres Mcp2

by rafal-one · rafal-one/postgres-mcp2

Enables AI agents to inspect PostgreSQL health, tune indexes, review and optimize EXPLAIN plans, understand schemas for context-aware SQL, and execute SQL safely with read-only/restricted or unrestricted access modes.

Unknown transport Glama Low confidence
Heads up

Install

No install method is published for this server: no package and no remote endpoint. Check its source repository or registry listing for setup instructions.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
DATABASE_URI No Your Postgres database connection URI (e.g. postgresql://username:password@localhost:5432/dbname). If both DATABASE_URI and DATABASE_URI_FILE are set, DATABASE_URI takes precedence.
OPENAI_API_KEY No OpenAI API key. Required only for the experimental index tuning by LLM feature.
DATABASE_URI_FILE No Path to a file containing the Postgres database connection URI. Used as an alternative to DATABASE_URI; if both are set, DATABASE_URI takes precedence.

Similar servers