Microsoft SQL Server MCP Server

A Model Context Protocol (MCP) server that enables secure interaction with Microsoft SQL Server databases. This server allows AI assistants to list tables, read data, and execute SQL queries through…

Local serverstdio

What is the Microsoft SQL Server MCP Server?

Microsoft SQL Server MCP Server is an MCP project maintained in the vuutla/mssql_mcp_server repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that enables secure interaction with Microsoft SQL Server databases. This server allows AI assistants to list tables, read data…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares MSSQL_SERVER, MSSQL_USER, MSSQL_PASSWORD, MSSQL_DATABASE. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Microsoft SQL Server MCP Server

{
  "mcpServers": {
    "mssql": {
      "command": "uv",
      "args": [
        "--directory",
        "path/to/mssql_mcp_server",
        "run",
        "mssql_mcp_server"
      ],
      "env": {
        "MSSQL_SERVER": "localhost",
        "MSSQL_USER": "your_username",
        "MSSQL_PASSWORD": "YOUR_MSSQL_PASSWORD",
        "MSSQL_DATABASE": "your_database"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
MSSQL_SERVERDeclared in the maintainer’s client configuration.Check documentation
MSSQL_USERDeclared in the maintainer’s client configuration.Check documentation
MSSQL_PASSWORDDeclared in the maintainer’s client configuration.Check documentation
MSSQL_DATABASEDeclared in the maintainer’s client configuration.Check documentation