
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.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
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 · 采集于 2026-11-13 11:03:15 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
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.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
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.