D
DBHub
Universal database MCP server supporting Postgres, MySQL, SQLite, and more.
Last updated July 18, 2026
DatabaseLocal · stdioTypeScript3.2k
Overview
DBHub is a universal database gateway MCP server that implements the Model Context Protocol against multiple database engines — PostgreSQL, MySQL, SQL Server, SQLite, and MariaDB — through one consistent DSN-based connection interface.
Use cases
Connect to a Postgres, MySQL, or SQLite database with one DSN string, no per-engine setup.
Let an agent explore table schemas across a database it hasn't seen before.
Swap the underlying database engine without changing how the agent calls tools.
Install
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub@latest",
"--transport",
"stdio",
"--dsn",
"postgres://user:password@localhost:5432/dbname"
]
}
}
}FAQ
PostgreSQL, MySQL, SQL Server, SQLite, and MariaDB, all through the same DSN-style connection string and tool interface.