MCP Catalogs
首页

dbhub vs restheart

并排对比,帮你在这两个 MCP server 之间做选择。

dbhub
by bytebase
restheart
by SoftInstigate
Stars★ 2,769★ 875
30天用量
综合分5754
官方
分类
数据库开发者工具运维基建
数据库AI / LLM 工具开发者工具
实现语言TypeScriptJava
最近提交1 个月前本月

dbhub · 概述

零依赖 MCP 服务器,高效连接多种数据库并提供 SQL 工具。

restheart · 概述

RESTHeart 是一个 MongoDB 后端,提供原生 MCP 服务器,让 AI 代理通过 REST 和 GraphQL API 访问数据。

dbhub · 使用场景

  • 开发者进行数据库探索和模式检查
  • 在 CI/CD 管道中执行带安全控制的 SQL 查询
  • 通过统一界面管理多个数据库和操作

restheart · 使用场景

  • 通过 MCP 访问 MongoDB 数据的 AI 代理后端
  • 无样板代码的 API 开发
  • 使用 WebSocket 和 SSE 的实时应用
  • 通过向现有 MongoDB 数据库添加现代 API 进行现代化改造

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 --demo

Claude Desktop 配置

将以下内容添加到您的 Claude Desktop 配置中:

{
  "mcpServers": {
    "dbhub": {
      "command": "npx",
      "args": ["@bytebase/dbhub@latest", "--transport", "stdio"]
    }
  }
}

restheart · 安装

快速启动选项

**选项 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
对比内容由 README + GitHub 公开数据自动生成,定期更新。