Skip to main content
Glama
by yty-build
.env.example1.09 kB
# ============================================================================ # REQUIRED: PostgreSQL Connection (fill these in) # ============================================================================ POSTGRES_HOST=your-db-host.com POSTGRES_PORT=5432 POSTGRES_DATABASE=your_database POSTGRES_USER=your_username POSTGRES_PASSWORD=your_password # ============================================================================ # OPTIONAL: Advanced Settings (defaults shown - uncomment to customize) # ============================================================================ # MCP Server Port (default: 3000) # MCP_SSE_PORT=3000 # Connection Pool Limits (defaults: 15 max, 2 min) # POSTGRES_MAX_CONNECTIONS=15 # POSTGRES_MIN_CONNECTIONS=2 # POSTGRES_POOL_TIMEOUT=30 # AWS Secrets Manager (for automatic password rotation) # AWS_REGION=us-west-2 # AWS_ACCESS_KEY_ID=your_access_key # AWS_SECRET_ACCESS_KEY=your_secret_key # AWS_SECRET_NAME=postgres/dev/dev_pg # AWS_PASSWORD_SECRET_NAME=rds!your-password-id # Query Timeout (default: 900 seconds = 15 minutes) # POSTGRES_TIMEOUT=900

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/yty-build/postgres_mcp_allaccess'

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