OlympHill
dbhub logo

dbhub通用数据库 MCP 服务器,连接 MySQL、PostgreSQL、SQL Server、MariaDB。

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

DBHub 是一个零依赖、令牌使用高效的 MCP 服务器,实现了 Model Context Protocol (MCP) 服务器接口。它允许 MCP 兼容客户端通过单一接口连接并探索不同的数据库。DBHub 支持包括 PostgreSQL、MySQL、MariaDB、SQL Server 和 SQLite 在内的多种数据库,并提供执行 SQL 查询、搜索和探索数据库模式与表、以及定义可重用的 SQL 操作等功能。该工具自带网页界面用于交互数据库工具,并支持只读模式、行数限制、查询超时、SSH 隧道以及 SSL/TLS 加密。用户可以通过 Docker 或 Node.js 安装 DBHub,并可在 demo 模式下进行测试。工具默认在所有网络接口上暴露,生产环境应绑定至 127.0.0.1 并通过反向代理或防火墙限制访问。

主要功能

  • execute_sql:执行 SQL 查询
  • search_objects:搜索并探索数据库模式
  • Custom tools:定义可重用的 SQL 操作
  • Workbench:用于交互数据库工具
  • 多数据库支持:PostgreSQL、MySQL、MariaDB、SQL Server 和 SQLite

价格

模型
Free
评分
暂无评价

使用场景

数据库开发

DBHub 允许开发者同时连接多个数据库,并在支持事务和安全控制的情况下执行 SQL 查询。

数据库探索

DBHub 提供内置的网页界面用于交互数据库工具,帮助用户探索数据库模式、表、列、索引和存储过程。

优点 & 缺点

优点

  • 零依赖,令牌使用高效
  • 通过单一接口支持多种数据库
  • 多连接及并发数据库连接
  • 防止失控操作的安全护栏
  • 通过 SSH 隧道和 SSL/TLS 加密实现安全访问

缺点

  • 需要 MCP 兼容客户端
  • 对 HTTP 客户端缺乏内置身份验证

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

Do I need special client software to interact with DBHub?

Yes, DBHub implements the Model Context Protocol (MCP) server interface, so you’ll need MCP‑compatible clients to connect and use its features; it does not provide built‑in HTTP authentication for generic web clients.

Asked by Nils Johansson · Nov 1, 2025

What deployment options are available for installing DBHub?

You can install DBHub via Docker or directly with Node.js, and it includes a built‑in web interface; a demo mode is also provided for quick testing without any configuration.

Asked by Kalinda Reddy · Oct 26, 2025

How do I secure connections to my databases when using DBHub?

DBHub offers SSH tunneling and SSL/TLS encryption for secure access, and you can also run it in read‑only mode, set row limits, and define query timeouts to protect against runaway operations.

Asked by Aaliyah Johnson · Oct 25, 2025

What databases can DBHub connect to and how many can I use simultaneously?

DBHub supports PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite, allowing you to open multiple connections and work with several databases at the same time through a single MCP interface.

Asked by Oscar Lindqvist · Oct 19, 2025

提问

服务配缩器 的替代品