Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_DIRNoDirectory for log files./logs
LOG_LEVELNoLog level: debug, info, warn, errorinfo
DATABASE_URLNoDatabase connection string in the format postgresql://user:password@localhost:5432/dbname
PGIDLETIMEOUTNoIdle timeout for connections in milliseconds10000
PGMAXPOOLSIZENoMaximum connection pool size10
PGMINPOOLSIZENoMinimum connection pool size2
QUERY_TIMEOUTNoQuery timeout in milliseconds (default: 30s)30000
MAX_RESULT_ROWSNoMaximum number of result rows to prevent memory exhaustion10000
ENABLE_RATE_LIMITNoEnable or disable rate limitingtrue
RATE_LIMIT_WINDOW_MSNoRate limit window in milliseconds (default: 1 minute)60000
RATE_LIMIT_MAX_REQUESTSNoMaximum number of requests allowed within the rate limit window100

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

Latest Blog Posts

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

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