data-api-builder vs wren-engine
并排对比,帮你在这两个 MCP server 之间做选择。
data-api-builder by Azure | wren-engine by Canner | |
|---|---|---|
| Stars | ★ 1,410 | ★ 661 |
| 30天用量 | — | — |
| 综合分 | 53 | 53 |
| 官方 | — | — |
| 分类 | 数据库开发者工具云存储 | AI / LLM 工具数据库开发者工具 |
| 实现语言 | C# | Java |
| 最近提交 | 本月 | 本月 |
data-api-builder · 概述
Azure 数据 API 构建器为 Azure 数据库提供 REST 和 GraphQL 接口,即将支持 MCP 工具。
wren-engine · 概述
为AI代理提供的开放上下文引擎,在数据源之上提供业务上下文和语义层。
data-api-builder · 使用场景
- 为 Azure 数据库创建 REST 和 GraphQL API
- 为应用程序构建安全的数据访问层
- 在任何云中为本地数据库生成 API 端点
wren-engine · 使用场景
- 使用可信业务定义进行自然语言分析
- 能够回答跨受管企业数据问题的AI副驾驶
- 需要真实业务上下文而非仅模式转储的代码助手
data-api-builder · 安装
- 安装 .NET 8 或更高版本运行时: https://get.dot.net
- 安装 DAB 命令行工具:
``sh dotnet tool install microsoft.dataapibuilder -g ``
- 初始化和配置 DAB:
``sh dab init --database-type mssql --connection-string "@env('my-connection-string')" --host-mode development ``
- 添加您的数据库实体并启动服务器:
``sh dab add Todo --source "dbo.Todo" --permissions "anonymous:*" dab start ``
wren-engine · 安装
安装
通过MCP
- 克隆仓库:
git clone https://github.com/Canner/wren-engine - 进入MCP服务器目录:
cd wren-engine/mcp-server - 遵循README中的设置说明
通过AI代理
- 按照[安装指南](https://docs.getwren.ai/oss/engine/get_started/installation)
- 使用[jaffle_shop示例](https://docs.getwren.ai/oss/engine/get_started/quickstart)进行快速启动
Claude Desktop配置
添加到您的Claude Desktop config.json:
{
"mcpServers": {
"wren": {
"command": "uv",
"args": ["run", "mcp-server", "serve"],
"env": {
"WREN_ENGINE_PATH": "/path/to/wren-engine"
}
}
}
}