MCP directory
SS

Sql Server Analyst Mcp

by github.com/coregentdevspace · v0.1.1 · updated Apr 22, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • MSSQL_SERVERrequired

    SQL Server hostname or FQDN (e.g. <name>.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_USERrequired

    SQL authentication login name.

  • MSSQL_PASSWORDrequiredsecret

    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).

More from github.com/coregentdevspace

More MCP servers