A Model Context Protocol server that gives LLM agents safe, structured access to Microsoft SQL Server: schema inspection plus row-level CRUD, every operation parameterized and logged.
MS SQL Server MCP Server is an MCP project maintained in the terraco89/mcp-server-mssql repository. The maintainer describes its purpose as “A Model Context Protocol server that gives LLM agents safe, structured access to Microsoft SQL Server: schema inspection plus row-level CRUD, every operation parameterized and…”. Read the project documentation for the complete scope.
The project provides a local client configuration using node. 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 MSSQL_HOST, MSSQL_USER, MSSQL_PASSWORD, MSSQL_DATABASE. 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.
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 |
|---|---|
| list_tables | List all user tables in the configured database |
| get_table_schema | Column names, types, nullability, and defaults for a table |
| read_table_rows | Read rows with optional column selection, WHERE filters, ORDER BY, and LIMIT |
| create_table_records | Insert one or more rows (column/value validated against schema) |
| update_table_records | Update rows matching a filter; returns affected count |
| delete_table_records | Delete rows matching a filter; returns affected count |
{
"mcpServers": {
"mssql": {
"command": "node",
"args": [
"/path/to/mcp-server-mssql/dist/server.js"
],
"env": {
"MSSQL_HOST": "localhost",
"MSSQL_USER": "agent_reader",
"MSSQL_PASSWORD": "YOUR_MSSQL_PASSWORD",
"MSSQL_DATABASE": "MyDb"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| MSSQL_HOST | Declared in the maintainer’s client configuration. | Check documentation |
| MSSQL_USER | Declared in the maintainer’s client configuration. | Check documentation |
| MSSQL_PASSWORD | Declared in the maintainer’s client configuration. | Check documentation |
| MSSQL_DATABASE | Declared in the maintainer’s client configuration. | Yes |
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.