Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAX_ROWSNoMaximum rows to return (max: 5000)1000
POOL_MAXNoMaximum connection pool size10
POOL_MINNoMinimum connection pool size2
READONLYYesSet to 'true' for read-only mode or 'false' to enable write operations
SQL_PORTNoSQL Server port1433
SQL_USERNoSQL Server user
LOG_LEVELNoLog level: debug, info, warn, errorinfo
SQL_SERVERNoSQL Server host
SQL_ENCRYPTNoWhether to encrypt the connectiontrue
SQL_DATABASENoSQL Server database name
SQL_PASSWORDNoSQL Server password
QUERY_TIMEOUTNoQuery timeout in milliseconds (max: 120000)30000
SQL_TRUST_CERTNoWhether to trust the server certificatefalse
SQL_CONNECTION_URLNoSQL Server connection string (e.g., sqlserver://user:password@host:port/database?TrustServerCertificate=true)

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

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