Skip to main content
Glama
mlsloynaz

mcp-sqlserver

by mlsloynaz

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MSSQL_PORTNoThe SQL Server port. Defaults to 9123.9123
MSSQL_USERNoThe SQL login username. Required unless using Windows Integrated authentication.
MSSQL_CLIENTNoClient key under 'clients' (e.g. a specific database name) used when loading configuration from a connections map file.
MSSQL_DOMAINNoThe NTLM domain for domain\user authentication.
MSSQL_SERVERNoThe SQL Server host address (e.g. 192.168.100.65).
MSSQL_ENCRYPTNoWhether to use encryption for the connection ('true' or 'false').false
MSSQL_DATABASENoThe database name to connect to. Defaults to 'master'.master
MSSQL_PASSWORDNoThe SQL login password. Required unless using Windows Integrated authentication.
MSSQL_TRUST_CERTNoSet to 'true' to trust self-signed or development certificates.
MSSQL_CONFIG_PATHNoPath to the JSON connections file. Defaults to 'connections.json' in the current working directory.
MSSQL_ENVIRONMENTNoEnvironment key (e.g. staging, prod) used when loading configuration from a connections map file.
MSSQL_WINDOWS_INTEGRATEDNoSet to 'true' to use the current Windows OS user for authentication (requires msnodesqlv8).
MSSQL_TRUST_SERVER_CERTIFICATENoAlternative environment variable to 'MSSQL_TRUST_CERT'; set to 'true' to trust the server certificate.

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

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
queryA

Execute a read-only SQL query (SELECT) against the configured SQL Server database.

list_tablesA

List tables in the current database, optionally filtered by schema.

describe_tableB

Return column names and types for a table.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: describe_table provides metadata for a specific table, list_tables enumerates available tables, and query executes arbitrary SELECT queries. There is no overlap in functionality, and an agent can easily differentiate between them based on their descriptions.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (describe_table, list_tables, query). While 'query' is a single word, it functions as a verb in this context and maintains readability without deviating from the clear, descriptive naming style used throughout.

Tool Count3/5

With only 3 tools, the set feels thin for a SQL Server interface, which typically involves more operations like data manipulation (INSERT, UPDATE, DELETE) or schema modifications. However, the tools are well-scoped for read-only database interactions, making it borderline but not severely inadequate.

Completeness2/5

The tool surface is significantly incomplete for a SQL Server domain, as it only supports read operations (SELECT, metadata queries) without any write capabilities (INSERT, UPDATE, DELETE) or schema management tools. This creates notable gaps that could lead to agent failures when full database interactions are required.

Maintenance

ActivityInactive
ResponsivenessNo issues