MCP MSSQL Server

by blueshiftlabs-ai

471 downloads
Not rated
GitHub

About

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

Details

Author
blueshiftlabs-ai
Downloads
471
Categories
Database

- 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

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.

MCP MSSQL Server

An MCP (Model Context Protocol) server for Microsoft SQL Server integration built with NestJS. This server enables Claude Code and other MCP clients to interact with SQL Server databases through standardized tools.

Features

- MCP Protocol Support: Full implementation of Model Context Protocol for SQL Server operations
- Windows Authentication: Supports both Windows (NTLM) and SQL Server authentication
- Comprehensive SQL Tools: Execute queries, explore schema, manage tables, and run stored procedures
- Health Monitoring: Built-in health checks for database connectivity
- Connection Pooling: Efficient database connection management

MCP Tools

The server exposes these SQL operations as MCP tools:

- execute-query: Execute SQL queries with parameter support
- get-schema: Retrieve database schema information
- list-tables: List all tables in the database
- describe-table: Get detailed table structure with constraints
- get-table-data: Retrieve paginated table data with filtering
- execute-procedure: Execute stored procedures with parameters

Installation

npm install

Configuration

Create a .env file with your database configuration:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.