Skip to main content
Glama
mihai-dulgheru

MSSQL MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for HTTP transport. Default '3000'.
MSSQL_PORTNoPort number. Defaults to SQL Server default (1433).
MSSQL_USERNoLogin username. Required in single-database mode.
MSSQL_SERVERNoHostname or IP of the SQL Server. Required in single-database mode; default 'localhost'.
MSSQL_ENCRYPTNoSet 'true' to encrypt the connection. Default 'false'.
MSSQL_DATABASENoDatabase name for single-database mode. Required in that mode.
MSSQL_PASSWORDNoLogin password. Required in single-database mode.
MSSQL_MAINDB_PORTNoPort for multi-database mode.
MSSQL_MAINDB_USERNoUser for multi-database mode. Falls back to MSSQL_USER.
MSSQL_ENABLE_WRITESNoSet 'true' to enable write queries. Default 'false'.
MSSQL_MAINDB_SERVERNoServer for multi-database mode (replace 'MAINDB' with your key). Falls back to MSSQL_SERVER.
MSSQL_MAINDB_ENCRYPTNoEncrypt setting for multi-database mode.
MSSQL_MAINDB_DATABASENoDatabase name for multi-database mode. Required for each database key.
MSSQL_MAINDB_PASSWORDNoPassword for multi-database mode. Falls back to MSSQL_PASSWORD.
MSSQL_REPORTINGDB_PORTNoPort for reporting DB.
MSSQL_REPORTINGDB_USERNoUser for reporting DB.
MSSQL_REPORTINGDB_SERVERNoServer for another multi-database key (example).
MSSQL_REPORTINGDB_ENCRYPTNoEncrypt for reporting DB.
MSSQL_REPORTINGDB_DATABASENoDatabase name for reporting DB.
MSSQL_REPORTINGDB_PASSWORDNoPassword for reporting DB.
MSSQL_TRUST_SERVER_CERTIFICATENoSet 'false' to enforce certificate validation. Default 'true'.
MSSQL_MAINDB_TRUST_SERVER_CERTIFICATENoTrust certificate setting for multi-database mode.
MSSQL_REPORTINGDB_TRUST_SERVER_CERTIFICATENoTrust cert for reporting DB.

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/mihai-dulgheru/mssql-mcp-node'

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