Skip to main content
Glama

PostgreSQL MCP Server

by cesarvarela
.env.example416 B
# PostgreSQL connection string DATABASE_URL=postgresql://username:password@localhost:5432/database_name # Alternative format # POSTGRES_HOST=localhost # POSTGRES_PORT=5432 # POSTGRES_DB=database_name # POSTGRES_USER=username # POSTGRES_PASSWORD=password # Environment NODE_ENV=development # Debug logging (optional) DEBUG=postgres-mcp* # Connection pool settings (optional) MAX_CONNECTIONS=20 QUERY_TIMEOUT=30000

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

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