Skip to main content
Glama
MCP SQL Server

MCP SQL Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SQLSERVER_HOSTNoServer hostnamelocalhost
SQLSERVER_PORTNoPort number1433
SQLSERVER_USERYesSQL Server username
SQLSERVER_ENCRYPTNoEnable encryptiontrue
SQLSERVER_DATABASENoDefault database name
SQLSERVER_MAX_ROWSNoMaximum rows per query1000
SQLSERVER_PASSWORDYesSQL Server password
SQLSERVER_TRUST_CERTNoTrust server certificatetrue
SQLSERVER_REQUEST_TIMEOUTNoRequest timeout in ms60000
SQLSERVER_SESSION_CONTEXTNoJSON object applied to every query as SESSION_CONTEXT for Row-Level Security
SQLSERVER_CONNECTION_TIMEOUTNoConnection timeout in ms30000
SQLSERVER_SESSION_CONTEXT_READONLYNoLock session context keys against modificationtrue

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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