MSSQL MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SERVER_HOSTNoHost address for the MCP server0.0.0.0
SERVER_PORTNoPort for the MCP server8080
DATABASE_NAMEYesThe database name to connect to
DATABASE_DRIVERNoThe ODBC driver to use for SQL Server connectionODBC Driver 17 for SQL Server
DATABASE_SERVERYesThe SQL Server address/IP
DATABASE_PASSWORDYesPassword for SQL Server authentication
DATABASE_USERNAMEYesUsername for SQL Server authentication
DATABASE_TRUSTED_CONNECTIONNoWhether to use Windows authentication (trusted connection)false

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools