dbt-mcp vs restheart
并排对比,帮你在这两个 MCP server 之间做选择。
dbt-mcp by dbt-labs | restheart by SoftInstigate | |
|---|---|---|
| Stars | ★ 562 | ★ 875 |
| 30天用量 | — | — |
| 综合分 | 53 | 54 |
| 官方 | — | — |
| 分类 | 数据库开发者工具AI / LLM 工具 | 数据库AI / LLM 工具开发者工具 |
| 实现语言 | Python | Java |
| 最近提交 | 本月 | 本月 |
dbt-mcp · 概述
一个全面的 dbt Core、Fusion 和平台 MCP 服务器,提供 SQL、语义层和 dbt CLI 工具。
restheart · 概述
RESTHeart 是一个 MongoDB 后端,提供原生 MCP 服务器,让 AI 代理通过 REST 和 GraphQL API 访问数据。
dbt-mcp · 使用场景
- dbt 项目中 AI 驱动的数据分析和 SQL 生成
- 自动化 dbt 项目文档和模型血统分析
- 将 dbt 与 AI 代理集成以实现自动化数据建模和测试
restheart · 使用场景
- 通过 MCP 访问 MongoDB 数据的 AI 代理后端
- 无样板代码的 API 开发
- 使用 WebSocket 和 SSE 的实时应用
- 通过向现有 MongoDB 数据库添加现代 API 进行现代化改造
dbt-mcp · 安装
安装
Claude Desktop
添加到您的 Claude Desktop 配置中:
{
"mcpServers": {
"dbt": {
"command": "npx",
"args": ["@dbt-labs/dbt-mcp"],
"env": {
"DBT_PROJECT_DIR": "/path/to/your/dbt/project"
}
}
}
}其他 MCP 客户端
使用最新版本资源中提供的实验性 MCP 包 (dbt-mcp.mcpb)。遵循 [mcpb CLI](https://github.com/modelcontextprotocol/mcpb) 文档安装或检查包。
npm install -g @modelcontextprotocol/mcpb
mcpb install https://github.com/dbt-labs/dbt-mcp/releases/download/vX.X.X/dbt-mcp.mcpbrestheart · 安装
快速启动选项
**选项 1 — RESTHeart 云服务(无需安装)** 在 [cloud.restheart.com](https://cloud.restheart.com/signup) 注册完全托管服务
**选项 2 — Docker Compose(本地)**
curl https://raw.githubusercontent.com/SoftInstigate/restheart/master/docker-compose.yml --output docker-compose.yml && docker compose up --attach restheart默认凭据:admin / secret
**选项 3 — 原生可执行文件** 从 [docs/native-executables.md](https://github.com/SoftInstigate/restheart/blob/master/docs/native-executables.md) 下载 macOS、Linux 和 Windows 的预构建二进制文件
**Claude Desktop 设置** 在 Claude Desktop 设置中,添加自定义连接器,上下文 URL 为:https://sophia-api.restheart.com/mcp/restheart/
**Claude Code 设置**
claude mcp add --transport http sophia-restheart https://sophia-api.restheart.com/mcp/restheart