Microsoft SQL Server
MCPby alyiox · v1.1.0
Read-only MCP for Microsoft SQL Server: metadata discovery, parameterized SELECT, plans.
MCP configuration
Command
Environment
MCPMSSQL_CONNECTION_STRINGsecretDefault profile SQL Server connection string (often contains secrets). Optional if profiles are only in user appsettings.
MCPMSSQL_DESCRIPTIONOptional human-readable description for the default profile.
MCPMSSQL_QUERY_MAX_ROWSMax rows per interactive query (default 500; ceiling 1000).
MCPMSSQL_QUERY_COMMAND_TIMEOUT_SECONDSInteractive query command timeout in seconds (default 30).
MCPMSSQL_QUERY_SNAPSHOT_MAX_ROWSMax rows for snapshot queries (default 10000; ceiling 50000).
MCPMSSQL_QUERY_SNAPSHOT_COMMAND_TIMEOUT_SECONDSSnapshot query timeout in seconds (default 120).
MCPMSSQL_ANALYZE_COMMAND_TIMEOUT_SECONDSExecution plan analysis timeout in seconds (default 300).
DOTNET_ENVIRONMENTSet to Development to load dotnet user-secrets (local dev).
Install in one click with Zurek
Browse here, install from the native macOS app — pick targets, fill env vars, and write configs safely.