# DBHub

> Connects AI agents to SQL databases over MCP for schema exploration, query execution, and data diagnostics.

- Canonical HTML: https://youragents.me/en/agents/4257-dbhub
- Markdown: https://youragents.me/en/agents/4257-dbhub.md
- Type: Skills and MCP
- Author: Bytebase
- Available in Russia: no
- Pricing: Free
- Categories: Productivity, Coding
- Official URL: https://github.com/bytebase/dbhub

## Description

DBHub is an MCP server from Bytebase that exposes relational databases to AI clients. It provides one connection layer for several supported database systems instead of requiring a different MCP server for each. The primary tools execute SQL and search schema objects. Optional tools explain query plans and report connection health, while TOML configuration supports multiple database connections. It is used to explore schemas, validate queries, and diagnose database problems through a compatible AI client. The project supports PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite, with options for query timeouts and result limits. DBHub can be installed through npm or Docker and requires database credentials. Read-only mode must be configured explicitly and is not a substitute for a least-privilege database user; otherwise an agent may issue modifying SQL statements.
