tsql-mcp-server
2
The SQL Server MCP Server is a protocol server designed to facilitate the interaction of Large Language Models with SQL Server databases. It supports secure and efficient database querying and schema inspection with features like SQL injection prevention and metadata caching.
SQL Server MCP Server
A Model Context Protocol server providing tools for interacting with SQL Server databases, allowing Large Language Models to query and inspect databases.
Features
- Database Querying
- Schema Inspection
- SQL Injection Prevention
- Resource Caching
Getting Started
- .NET 8.0 SDK required
- Install as a .NET tool or build from source
Available MCP Tools
- ExecuteQuery: Execute SQL queries
Security Considerations
- Use principle of least privilege
- Store credentials securely
- Use environment variables for sensitive data