Discover and explore top open-source AI tools and projects—updated daily.
RichardHanSecure SQL Server interaction for AI assistants
Top 99.1% on SourcePulse
A Model Context Protocol (MCP) server for Microsoft SQL Server, this project enables AI assistants to securely interact with databases. It provides a controlled interface for listing tables, reading data, and executing SQL queries (SELECT, INSERT, UPDATE, DELETE), enhancing security and structure for AI-driven database operations.
How It Works
The server acts as a secure intermediary, translating AI requests into SQL commands. It supports various authentication methods, including SQL, Windows, and Azure AD, and is compatible with both LocalDB and Azure SQL Database instances. This abstraction layer allows AI assistants to perform database operations safely without direct, broad access.
Quick Start & Requirements
Installation can be performed using pip: pip install microsoft_sql_server_mcp. The server is then configured within claude_desktop_config.json using environment variables for connection details such as MSSQL_SERVER, MSSQL_DATABASE, MSSQL_USER, MSSQL_PASSWORD, or by setting MSSQL_WINDOWS_AUTH=true. Azure SQL Database and custom ports are also supported. Development requires cloning the repository and installing dependencies.
Highlighted Details
Maintenance & Community
No specific details regarding maintainers, community channels, or project roadmap are present in the provided README.
Licensing & Compatibility
The project is licensed under the MIT License, which is permissive and generally allows for commercial use and integration into closed-source applications.
Limitations & Caveats
The README emphasizes security best practices, recommending dedicated SQL users with minimal permissions and the use of Windows Authentication or encryption for sensitive data. The primary integration target appears to be Claude Desktop.
2 days ago
Inactive
microsoft