drio
Open app

MSSQL MCP Server

Source

mssql mcp server

Catalog onlyCatalog onlySTDIO

Overview

MSSQL MCP Server is a database interaction and business intelligence tool that allows users to run SQL queries, analyze business data, and automatically generate business insight memos.

To use MSSQL MCP Server, install the required packages, configure the database connection in a JSON file, and run the server script to interact with the database.

  • Execute SELECT, INSERT, UPDATE, and DELETE SQL queries. - Create and manage database tables. - Generate business insights and memos automatically. - Supports ODBC Driver for SQL Server.
  1. Analyzing business data for decision-making.
  2. Automating the generation of business reports.
  3. Managing and querying large datasets in SQL Server.

Add to your AI client

Use these steps to connect MSSQL MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mssql-mcp-daobataotie": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mssql-mcp-daobataotie"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mssql-mcp-daobataotie": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mssql-mcp-daobataotie"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mssql-mcp-daobataotie": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mssql-mcp-daobataotie"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mssql-mcp-daobataotie": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mssql-mcp-daobataotie"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mssql-mcp-daobataotie": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mssql-mcp-daobataotie"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mssql-mcp-daobataotie": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mssql-mcp-daobataotie"
      ]
    }
  }
}

FAQ

What programming language is MSSQL MCP Server built with?

MSSQL MCP Server is built with Python.

Is there a license for MSSQL MCP Server?

Yes, it is released under the MIT License.

What are the system requirements?

It requires Python 3.x and specific packages like pyodbc and pydantic.