加载中…
MCP server for SQL Server metadata, parameterized queries, plan analysis, and writes opt-in.
Microsoft SQL Server 是 ChatHome Skills 收录的 MCP 条目,来源为 Official MCP Registry,质量分 78/100。 作为 Model Context Protocol 服务器,它向 Claude、Cursor、Copilot 等兼容 MCP 的 LLM 客户端暴露可直接调用的工具,让 agent 的能力超出模型内置范围。 该条目由 ChatHome Skills 的每日抓取从官方 registry 和 GitHub 发现查询中收录,每次运行都会重新核验仓库事实、新鲜度信号和安装元数据。 质量分综合了官方 registry 收录情况、可用安装命令、许可证完整性、仓库活跃度和 GitHub star 趋势,完整算法说明见来源页。安装命令已列于上方,可直接复制使用。 在将 Microsoft SQL Server 加入生产 agent 工作流前,请核对上方的最近更新日期和仓库状态——下方事实快照是最近一次抓取的时点值。
dnx Alyio.McpMssql@1.8.0 --yes运行此命令前,请先核对上游源码。
{
"_meta": {
"io.modelcontextprotocol.registry/official": {
"status": "active",
"isLatest": true,
"updatedAt": "2026-10-26T03:41:49.974364Z",
"publishedAt": "2026-10-26T03:41:49.974364Z",
"statusChangedAt": "2026-10-26T03:41:49.974364Z"
}
},
"server": {
"name": "io.github.alyiox/mcp-mssql",
"title": "Microsoft SQL Server",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "1.8.0",
"packages": [
{
"version": "1.8.0",
"transport": {
"type": "stdio"
},
"identifier": "Alyio.McpMssql",
"runtimeHint": "dnx",
"registryType": "nuget",
"registryBaseUrl": "https://api.nuget.org/v3/index.json",
"environmentVariables": [
{
"name": "MCPMSSQL_CONNECTION_STRING",
"format": "string",
"isSecret": true,
"description": "Default profile SQL Server connection string (often contains secrets). Optional if profiles are only in user appsettings."
},
{
"name": "MCPMSSQL_DESCRIPTION",
"format": "string",
"description": "Optional human-readable description for the default profile."
},
{
"name": "MCPMSSQL_QUERY_MAX_ROWS",
"format": "number",
"description": "Max rows per interactive query (default 500; ceiling 1000)."
},
{
"name": "MCPMSSQL_QUERY_COMMAND_TIMEOUT_SECONDS",
"format": "number",
"description": "Interactive query command timeout in seconds (default 30)."
},
{
"name": "MCPMSSQL_QUERY_SNAPSHOT_MAX_ROWS",
"format": "number",
"description": "Max rows for snapshot queries (default 10000; ceiling 50000)."
},
{
"name": "MCPMSSQL_QUERY_SNAPSHOT_COMMAND_TIMEOUT_SECONDS",
"format": "number",
"description": "Snapshot query timeout in seconds (default 120)."
},
{
"name": "MCPMSSQL_ANALYZE_COMMAND_TIMEOUT_SECONDS",
"format": "number",
"description": "Execution plan analysis timeout in seconds (default 300; ceiling 600)."
},
{
"name": "MCPMSSQL_ALLOW_WRITE",
"format": "boolean",
"description": "Enable write commands (DDL/DML) via run_command on the default profile (default false). With no write-enabled profile the tool is not advertised at all. Soft guard only — prefer a db_datareader login for a hard read-only guarantee."
},
{
"name": "MCPMSSQL_WRITE_COMMAND_TIMEOUT_SECONDS",
"format": "number",
"description": "Write command timeout in seconds (default 60; ceiling 600)."
},
{
"name": "DOTNET_ENVIRONMENT",
"format": "string",
"description": "Set to Development to load dotnet user-secrets (local dev)."
}
]
}
],
"repository": {
"url": "https://github.com/alyiox/mcp-mssql",
"source": "github",
"subfolder": "src/Alyio.McpMssql"
},
"websiteUrl": "https://github.com/alyiox/mcp-mssql",
"description": "MCP server for SQL Server metadata, parameterized queries, plan analysis, and writes opt-in."
}
}