A Microsoft SQL Server client implementing the Model Context Protocol (MCP). This server provides SQL query capabilities through a simple MCP
A Microsoft SQL Server client implementing the Model Context Protocol (MCP). This server provides SQL query capabilities through a simple MCP interface.
The SQL Server MCP client is built with .NET Core using the Model Context Protocol C# SDK (github.com/modelcontextprotocol/csharp-sdk). It provides tools for executing SQL queries, managing stored procedures, listing tables, and retrieving comprehensive schema information from SQL Server databases. The server is designed to be lightweight yet powerful, demonstrating how to create a robust MCP server with practical database functionality. It can be deployed either directly on a machine or as a Docker container.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| rowsAffected | Total rows affected by DML operations (always captured) |
| ioStats | Per-table IO statistics (only when includeIoStats was true on the start tool) |
| executionPlanXml | Actual XML execution plan (only when includeExecutionPlan was true on the start tool) |
| server_capabilities | Returns detailed information about the capabilities and features of the connected SQL Server instance. |
| get_command_timeout | Example request: json { "name": "get_command_timeout", "parameters": {} } |
| set_command_timeout | Parameters: - timeoutSeconds (required): New timeout in seconds (1-3600) |
| execute_query | Parameters: - query (required): The SQL query to execute. - timeoutSeconds (optional): Command timeout in seconds. Overrides the default timeout. - includeIoStats (optional): Include per-table IO statistics. Default is f |
| list_tables | Lists all tables in the connected SQL Server database with schema and row count information. |
| Variable | Description | Required |
|---|---|---|
| MSSQL_CONNECTIONSTRING | Configuration value read at startup. | Optional |
Inspect PostgreSQL schemas and run read-only queries with the archived MCP reference server. Review its maintenance status before choosing it.
Connect the Notion MCP server to search workspace content and work with pages and databases through Notion’s hosted OAuth service.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.