dbhub vs OpsLens
并排对比,帮你在这两个 MCP server 之间做选择。
dbhub by bytebase | OpsLens by Sherin-SEF-AI | |
|---|---|---|
| Stars | ★ 2,769 | ★ 6 |
| 30天用量 | — | — |
| 综合分 | 57 | 40 |
| 官方 | — | — |
| 分类 | 数据库开发者工具运维基建 | 运维基建可观测性Notion 集成 |
| 实现语言 | TypeScript | Python |
| 最近提交 | 1 个月前 | 2 个月前 |
dbhub · 概述
零依赖 MCP 服务器,高效连接多种数据库并提供 SQL 工具。
OpsLens · 概述
OpsLens 利用 MCP 将 Notion 转变为 AI 驱动的 incident 响应指挥中心。
dbhub · 使用场景
- 开发者进行数据库探索和模式检查
- 在 CI/CD 管道中执行带安全控制的 SQL 查询
- 通过统一界面管理多个数据库和操作
OpsLens · 使用场景
- AI 驱动的 incident 分类与严重程度评估
- 跨 Notion、Slack 等系统的 incident 关联分析
- 运行手册发现和自动化修复指导
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"]
}
}
}OpsLens · 安装
安装
OpsLens 可以使用 Docker 部署或直接运行 Python。
- 克隆仓库:
git clone https://github.com/Sherin-SEF-AI/OpsLens.git
cd OpsLens- 安装依赖:
pip install -r requirements.txt- 设置环境变量:
创建 .env 文件,包含你的 Notion 集成令牌和其他配置。
- 运行应用程序:
python main.pyClaude Desktop 集成
将以下内容添加到 Claude Desktop config.json 中,将 OpsLens 作为 MCP 服务器集成:
{
"mcpServers": {
"opslens": {
"command": "python",
"args": ["path/to/opslens/main.py"],
"env": {
"NOTION_TOKEN": "your-notion-token"
}
}
}
}