Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_USERYesSQL Server username (for SQL authentication)
MAX_ROWSNoMaximum rows returned by read tools (default: 10000)10000
READONLYNotrue for read-only mode, false for full accessfalse
DATABASESNoComma-separated allowlist for multi-database access (e.g., ProdDB,StagingDB)
ENABLE_DDLNotrue enables create_table, create_index, drop_table (default: false)false
DB_PASSWORDYesSQL Server password (for SQL authentication)
SERVER_NAMEYesSQL Server host (e.g., localhost, my-server.database.windows.net)
MCP_BASE_URLNoOptional externally visible base URL for remote deployments
DATABASE_NAMENoDefault database name. Optional when DATABASES is set.
MCP_HTTP_HOSTNoBind host for Streamable HTTP mode (default: 127.0.0.1)127.0.0.1
MCP_HTTP_PORTNoBind port for Streamable HTTP mode (default: 3333)3333
MCP_TRANSPORTNostdio (default) or httpstdio
MAX_WRITE_ROWSNoMaximum rows a single write tool may affect before blocked (default: 100)100
QUERY_TIMEOUT_MSNoQuery timeout in milliseconds (default: 30000)30000
CONNECTION_TIMEOUTNoTimeout in seconds (default: 30)30
REQUIRE_WRITE_PREVIEWNotrue (default) requires preview token for update/delete; false skips tokentrue
TRUST_SERVER_CERTIFICATENotrue for self-signed certs (default: false)false

Capabilities

Server capabilities have not been inspected yet.

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/eamonboyle/mssql-mcp'

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