Sql-server-analyst-mcp Server

Read-only SQL Server Analyst MCP — safe schema, stored procedure, and performance analysis.

Local serverstdio

What is the Sql-server-analyst-mcp Server?

Sql-server-analyst-mcp is an MCP integration. Read-only SQL Server Analyst MCP — safe schema, stored procedure, and performance analysis.

Packages and local setup

The published npm package is sql-server-analyst-mcp, version 0.1.1. Its declared MCP transport is stdio.

The package declares MSSQL_SERVER (required): SQL Server hostname or FQDN (e.g. .database.windows.net for Azure SQL).; MSSQL_PORT: TCP port (default 1433; set 0 for named instance with dynamic port).; MSSQL_DATABASE: Default database to connect to. Most tools also accept an override argument.; MSSQL_USER (required): SQL authentication login name.; MSSQL_PASSWORD (required): SQL authentication password. Quote values containing '' in .env files.; MSSQL_ENCRYPT: Encrypt the connection (true|false). Required true for Azure SQL.; MSSQL_TRUST_SERVER_CERT: Trust self-signed certificates (true|false). Use true only for local dev.; ALLOWED_DATABASES: Comma-separated allowlist of databases the server may access. Empty = unrestricted.; ALLOWED_SCHEMAS: Comma-separated allowlist of schemas for schema tools. Empty = unrestricted.; MAX_ROWS: Default row limit per safe query (default 100).; MAX_ROWS_LIMIT: Hard cap on query rows (default 1000).; QUERY_TIMEOUT_MS: Query execution timeout in milliseconds (default 30000).; LOG_LEVEL: error | warn | info | debug (default info)..

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 0.1.1 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related databases MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
MSSQL_SERVERSQL Server hostname or FQDN (e.g. .database.windows.net for Azure SQL).Yes
MSSQL_PORTTCP port (default 1433; set 0 for named instance with dynamic port).Optional
MSSQL_DATABASEDefault database to connect to. Most tools also accept an override argument.Optional
MSSQL_USERSQL authentication login name.Yes
MSSQL_PASSWORDSQL authentication password. Quote values containing '' in .env files.Yes
MSSQL_ENCRYPTEncrypt the connection (true|false). Required true for Azure SQL.Optional
MSSQL_TRUST_SERVER_CERTTrust self-signed certificates (true|false). Use true only for local dev.Optional
ALLOWED_DATABASESComma-separated allowlist of databases the server may access. Empty = unrestricted.Optional
ALLOWED_SCHEMASComma-separated allowlist of schemas for schema tools. Empty = unrestricted.Optional
MAX_ROWSDefault row limit per safe query (default 100).Optional
MAX_ROWS_LIMITHard cap on query rows (default 1000).Optional
QUERY_TIMEOUT_MSQuery execution timeout in milliseconds (default 30000).Optional
LOG_LEVELerror | warn | info | debug (default info).Optional