Microsoft SQL Server MCP Server
<a href="
https://glama.ai/mcp/servers/29cpe19k30">
<img width="380" height="200" src="
https://glama.ai/mcp/servers/29cpe19k30/badge" alt="Microsoft SQL Server MCP server" />
</a>
A Model Context Protocol (MCP) server for secure SQL Server database access through Claude Desktop.
Features
- 📊 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
:
Configuration
Basic SQL Authentication
Windows Authentication
Azure SQL Database
Optional Settings
Alternative Installation Methods
Using pip
Then in claude_desktop_config.json
:
Development
Security
- Create a dedicated SQL user with minimal permissions
- Never use admin/sa accounts
- Use Windows Authentication when possible
- Enable encryption for sensitive data
License
MIT