Skip to main content
Glama
ConnorBritain

mssql-mcp-server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
READONLYNoSet to 'true' to restrict to read-only tools
SQL_PORTNoCustom port (default: 1433)
SQL_DOMAINNoDomain for Windows/NTLM auth (optional)
SERVER_NAMENoSQL Server hostname or IP
SCRIPTS_PATHNoPath to named SQL scripts directory
SQL_PASSWORDNoPassword for SQL or Windows auth
SQL_USERNAMENoUsername for SQL or Windows auth
AUDIT_LOGGINGNoSet to 'false' to disable audit logging (default: true)
DATABASE_NAMENoTarget database name
SQL_AUTH_MODENoAuthentication mode: sql, windows, or aad (default: aad)
AUDIT_LOG_PATHNoPath for audit log file (default: logs/audit.jsonl)
MAX_ROWS_DEFAULTNoAuto-limit for SELECT queries (default: 1000)
CONNECTION_TIMEOUTNoConnection timeout in seconds (default: 30)
AUDIT_REDACT_SENSITIVENoSet to 'false' to disable redaction (default: true)
ENVIRONMENTS_CONFIG_PATHNoPath to JSON file defining multiple environments
TRUST_SERVER_CERTIFICATENoSet to 'true' for self-signed certificates
PROFILE_SAMPLE_RETURN_LIMITNoMax number of sample rows returned (default: 10)
PROFILE_SAMPLE_SIZE_DEFAULTNoDefault sample size for profile_table (default: 50)
SEARCH_SCHEMA_DEFAULT_LIMITNoDefault row limit for search_schema pagination (default: 50)
REQUIRE_MUTATION_CONFIRMATIONNoSet to 'false' to skip preview/confirm (default: true)

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

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