dbhub
MCP通用数据库网关. dbhub is a Model Context Protocol (MCP) server maintained by bytebase. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 4 tools, including run_query, list_connectors, generate_sql and explain_db, that an agent can call directly. It is categorized under Tool/Gateway and Database/SQL.
什么是MCP
DBHub是一个模型上下文协议(MCP)服务器,充当MCP兼容客户端(如Claude Desktop或Cursor)与多种数据库后端(包括PostgreSQL、MySQL、SQL Server和SQLite)之间的通用网关。
如何使用这个MCP
DBHub可通过Docker或npm运行,支持stdio和SSE两种传输方式。它需要数据库连接字符串(DSN),也可以使用示例员工数据库以演示模式运行。配置可通过命令行、环境变量或.env文件完成。
这个MCP的用途
该MCP使AI工具能够通过标准化接口探索数据库模式、执行查询、生成SQL并解释跨多种数据库系统的数据库元素,从而促进支持数据库感知的AI交互。
AIMCP authority
DR and traffic signal for the AIMCP public domain.
Frequently asked questions
What is the dbhub MCP server?
dbhub is a Model Context Protocol server from bytebase. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.
How do I connect dbhub to my AI client?
Add dbhub to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.
What tools does dbhub provide?
dbhub provides 4 tools: run_query, list_connectors, generate_sql and explain_db.
Is dbhub free to use?
dbhub is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.
Vernclaw Plugins for OpenClaw
Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.
