RichardHan/mssql_mcp_server
A Model Context Protocol (MCP) server for Microsoft SQL Server that enables secure database interactions through a controlled interface. Allows AI assistants to safely list tables, read data, and execute SQL queries while maintaining security and structure.
Overview
RichardHan/mssql_mcp_server is a Python MCP server licensed under MIT. A Model Context Protocol (MCP) server for Microsoft SQL Server that enables secure database interactions through a controlled interface. Allows AI assistants to safely list tables, read data, and execute SQL queries while maintaining security and structure.
Ranked #3798 out of 25632 indexed tools.
Ecosystem
Python MIT
Signal Breakdown
Stars 321
Freshness 4mo ago
Issue Health 52%
Contributors 8
Dependents 0
Forks 89
Description Detailed
License MIT
How to Improve
Freshness high impact
Dependents medium impact
Matched Queries
From the README
# Microsoft SQL Server MCP Server
<a href="https://glama.ai/mcp/servers/29cpe19k30">
</a>
A Model Context Protocol (MCP) server for secure SQL Server database access through Claude Desktop.
## Features
- 🔍 List database tables
- 📊 Execute SQL queries (SELECT, INSERT, UPDATE, DELETE)
- 🔐 Multiple authentication methods (SQL, Windows, Azure AD)
- 🏢 LocalDB and Azure SQL support
- 🔌 Custom port configuration
## Quick Start
### Install with Claude Desktop
Add to your `claude_desktop_config.json`:
```json
{
"mcpServers": {
"mssql": {
"command": "uvx",
"args": ["microsoft_sql_server_mcp"],
"env": {
"MSSQL_SERVER": "localhost",
"MSSQL_DATABASE": "your_database",
"MSSQL_USER": "your_username",
"MSSQL_PASSWORD": "your_password"
}
}
}
}
```
## Configuration
### Basic SQL Authentication
```bash
MSSQL_SERVER=localhost # Required
MSSQL_DATABASE=your_database # Required
MSSQL_USER=your_username # Read full README on GitHub →
Are you the maintainer? Claim this listing