A comprehensive Model Context Protocol (MCP) server for SQL Server database operations. This server provides 10 powerful tools for database analysis, object discovery, and data manipulation through…
Sql Server Mcp is an MCP project maintained in the hendrickcastro/mcpql repository. The maintainer describes its purpose as “A comprehensive Model Context Protocol (MCP) server for SQL Server database operations. This server provides 10 powerful tools for database analysis, object discovery, and data…”. Read the project documentation for the complete scope.
The project provides a local client configuration using npx. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.
The example declares DB_AUTHENTICATION_TYPE, DB_SERVER, DB_NAME, DB_USER, DB_PASSWORD, DB_PORT, DB_ENCRYPT, DB_TRUST_SERVER_CERTIFICATE. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
{
"mcpServers": {
"mcpql": {
"command": "npx",
"args": [
"-y",
"hendrickcastro/mcpql"
],
"env": {
"DB_AUTHENTICATION_TYPE": "sql",
"DB_SERVER": "your_server",
"DB_NAME": "your_database",
"DB_USER": "your_username",
"DB_PASSWORD": "YOUR_DB_PASSWORD",
"DB_PORT": "1433",
"DB_ENCRYPT": "false",
"DB_TRUST_SERVER_CERTIFICATE": "true"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| DB_AUTHENTICATION_TYPE | Declared in the maintainer’s client configuration. | Check documentation |
| DB_SERVER | Declared in the maintainer’s client configuration. | Check documentation |
| DB_NAME | Declared in the maintainer’s client configuration. | Check documentation |
| DB_USER | Declared in the maintainer’s client configuration. | Check documentation |
| DB_PASSWORD | Declared in the maintainer’s client configuration. | Check documentation |
| DB_PORT | Declared in the maintainer’s client configuration. | Check documentation |
| DB_ENCRYPT | Declared in the maintainer’s client configuration. | Check documentation |
| DB_TRUST_SERVER_CERTIFICATE | Declared in the maintainer’s client configuration. | Check documentation |
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.