dbhub vs wren-engine
并排对比,帮你在这两个 MCP server 之间做选择。
dbhub by bytebase | wren-engine by Canner | |
|---|---|---|
| Stars | ★ 2,769 | ★ 661 |
| 30天用量 | — | — |
| 综合分 | 57 | 53 |
| 官方 | — | — |
| 分类 | 数据库开发者工具运维基建 | AI / LLM 工具数据库开发者工具 |
| 实现语言 | TypeScript | Java |
| 最近提交 | 1 个月前 | 本月 |
dbhub · 概述
零依赖 MCP 服务器,高效连接多种数据库并提供 SQL 工具。
wren-engine · 概述
为AI代理提供的开放上下文引擎,在数据源之上提供业务上下文和语义层。
dbhub · 使用场景
- 开发者进行数据库探索和模式检查
- 在 CI/CD 管道中执行带安全控制的 SQL 查询
- 通过统一界面管理多个数据库和操作
wren-engine · 使用场景
- 使用可信业务定义进行自然语言分析
- 能够回答跨受管企业数据问题的AI副驾驶
- 需要真实业务上下文而非仅模式转储的代码助手
dbhub · 安装
安装
**Docker:**
docker run --rm --init \ --name dbhub \ --publish 8080:8080 \ bytebase/dbhub \ --transport http \ --port 8080 \ --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"**NPM:**
npx @bytebase/dbhub@latest --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"**演示模式:**
npx @bytebase/dbhub@latest --transport http --port 8080 --demoClaude Desktop 配置
将以下内容添加到您的 Claude Desktop 配置中:
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": ["@bytebase/dbhub@latest", "--transport", "stdio"]
}
}
}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"
}
}
}
}