MCP.so
Sign In
Servers

MCP MSSQL Server

@blueshiftlabs-ai

MCP (Model Context Protocol) server for Microsoft SQL Server integration built with NestJS

Overview

What is MCP MSSQL Server?

MCP MSSQL Server is a Model Context Protocol (MCP) server built with NestJS that enables Claude Code and other MCP clients to interact with Microsoft SQL Server databases through standardized tools.

How to use MCP MSSQL Server?

Install the package, create a .env file with database configuration (SQL Server or Windows authentication), then start the server with npm run start:dev. Configure Claude Code to connect to the MCP endpoint at http://localhost:3000/mssql/mcp.

Key features of MCP MSSQL Server

  • Full MCP protocol implementation for SQL Server operations
  • Supports Windows (NTLM) and SQL Server authentication
  • Connection pooling for efficient database management
  • Built-in health checks for database connectivity
  • Six SQL tools: query, schema, tables, procedures, and more
  • Exposed via HTTP and SSE transports

Use cases of MCP MSSQL Server

  • Execute parameterized SQL queries through an MCP client
  • Retrieve and explore database schema, tables, and column details
  • Manage tables with structured descriptions and constraints
  • Call stored procedures with input parameters
  • Monitor database connectivity with built-in health checks

FAQ from MCP MSSQL Server

What authentication methods are supported?

Both Windows (NTLM) authentication and SQL Server authentication are supported, configured via environment variables.

What MCP tools does the server expose?

It exposes six tools: execute-query, get-schema, list-tables, describe-table, get-table-data, and execute-procedure.

How can I connect Claude Code to this server?

Start the server, then configure Claude Code to use the MCP endpoint at http://localhost:3000/mssql/mcp (or the SSE endpoint at http://localhost:3000/mssql/sse).

What are the available MCP endpoints?

When running on default port 3000, the MCP protocol endpoint is /mssql/mcp, SSE endpoint is /mssql/sse, and health check is /mssql/health.

Does the server expose any REST endpoints?

No, all functionality is exposed exclusively through MCP tools; there are no REST endpoints.

Tags

More from Databases