SQL Server MCP 服务器
为 Windsurf IDE 提供 SQL Server 集成功能的独立 MCP 服务器。
快速入门
- 构建项目:运行
dotnet build
- 配置应用:
- 将
appsettings.example.json
复制为appsettings.json
- 修改连接字符串和其他设置
- 将
- 在 Windsurf 中配置 MCP 服务器:
- 更新
windsurf_mcp_config.json
文件,指定生成的可执行文件路径
- 更新
- 发布(可选):使用
dotnet publish
创建独立可执行文件 - 支持的操作包括数据库连接、查询执行、存储过程调用等。