
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that gives LLM agents structured access to Microsoft SQL Server, offering schema inspection and row-level CRUD tools with parameterized, logged operations.
MCP server for Microsoft SQL Server is cataloged as an MCP server attributed to terraco89. A Model Context Protocol server that gives LLM agents structured access to Microsoft SQL Server, offering schema inspection and row-level CRUD tools with parameterized, logged operations. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for Microsoft SQL Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
A single database per server instance, configured via environment variables.
Yes; all queries are parameterized and table and column names are validated against the live schema before any statement runs, so an agent cannot inject through identifiers.
README.md · 9c46d19faf9d · Fetched 2026-11-13 11:03:15 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
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.
Built because agents working against real business databases need more than "run this SQL string" — they need typed tools with predictable failure modes.
flowchart LR
A[MCP client<br/>Claude Desktop / Claude Code] -- stdio --> B[mcp-server-mssql]
B --> C[connection pool<br/>mssql driver]
C --> D[(SQL Server)]
B -. structured logs .-> E[logs/]
The server connects to a single database configured via environment variables and exposes six tools. All queries are parameterized — table and column names are validated against the live schema before any statement runs, so an agent cannot inject through identifiers.
| 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 |
User: "Which customers signed up this month?"
Agent calls
list_tables→ findsCustomers→ callsget_table_schema {"table_name": "Customers"}→ seesCreatedAt datetime2→ callsread_table_rows {"table_name": "Customers", "filters": {"CreatedAt": {">=": "2026-07-01"}}, "limit": 50}→ answers with the rows.
Requires Node.js 18+ and network access to a SQL Server instance.
git clone https://github.com/TerraCo89/mcp-server-mssql.git
cd mcp-server-mssql
npm install
cp .env.example .env # fill in connection details
npm run build
| Variable | Required | Notes |
|---|---|---|
MSSQL_HOST / MSSQL_PORT | yes / no | Port defaults to 1433 |
MSSQL_USER / MSSQL_PASSWORD | yes | SQL auth credentials |
MSSQL_DATABASE | yes | Single database per server instance |
MSSQL_ENCRYPT, MSSQL_TRUST_SERVER_CERTIFICATE | no | TLS options |
LOG_LEVEL | no | info by default |
{
"mcpServers": {
"mssql": {
"command": "node",
"args": ["/path/to/mcp-server-mssql/dist/server.js"],
"env": {
"MSSQL_HOST": "localhost",
"MSSQL_USER": "agent_reader",
"MSSQL_PASSWORD": "...",
"MSSQL_DATABASE": "MyDb"
}
}
}
}
Tip: point it at a least-privilege SQL login — the server can only do what the login can.
npm run dev # ts-node with live reload
npm test # jest test suite (src/*.test.ts, tests/)
npm run build # emit dist/
Docker: docker build -t mcp-server-mssql . then run with the same environment variables.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for Microsoft SQL Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-mssql)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.