SQLServer-MCP
Verified Safeby HeathLoganCampbell
Overview
Exposes safe, read-focused SQL Server database exploration tools via an HTTP-based Model Context Protocol (MCP) server, primarily for consumption by MCP-compatible clients and agents, often for LLM-driven schema prompting.
Installation
dotnet run --project SqlServer-MCPEnvironment Variables
- ConnectionStrings__SqlServer
Security Notes
The server explicitly restricts `SqlRunQuery` to read-only SELECT statements, preventing write/update/delete operations. Connection strings are managed via standard configuration (appsettings.json or environment variables). 'TrustServerCertificate=True' is mentioned for local development, which should be used with caution in production environments. No 'eval' or obvious malicious patterns found in the provided source.
Similar Servers
mcp-mysql-server
Provides an MCP-compliant interface for AI models to securely interact with a MySQL database for CRUD operations, schema inspection, and performance analysis.
mssqlMCP
The SQL Server MCP (Model Context Protocol) Server enables AI assistants like GitHub Copilot within Visual Studio Code to interact with SQL Server databases, allowing for SQL query execution, detailed database metadata retrieval, and management of connections and security.
jewei-mssql-mcp-server
Provides a Micro-Agent Protocol (MCP) server for querying Microsoft SQL Server databases and retrieving table structures.
MsSqlMCP
Provides an MCP Server for SQL Server database schema inspection and safe, read-only query execution to AI clients.