sql-server-analyst-mcp
Read-only SQL Server Analyst MCP — safe schema, stored procedure, and performance analysis.
Package Details
sql-server-analyst-mcp
Environment Variables
SQL Server hostname or FQDN (e.g. <name>.database.windows.net for Azure SQL).
TCP port (default 1433; set 0 for named instance with dynamic port).
Default database to connect to. Most tools also accept an override argument.
SQL authentication login name.
SQL authentication password. Quote values containing '#' in .env files.
Encrypt the connection (true|false). Required true for Azure SQL.
Trust self-signed certificates (true|false). Use true only for local dev.
Comma-separated allowlist of databases the server may access. Empty = unrestricted.
Comma-separated allowlist of schemas for schema tools. Empty = unrestricted.
Default row limit per safe query (default 100).
Hard cap on query rows (default 1000).
Query execution timeout in milliseconds (default 30000).
error | warn | info | debug (default info).