Dbhub
@bytebase
About Dbhub
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"dbhub": {
"command": "docker",
"args": [
"run",
"--rm",
"--init",
"\\"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Dbhub?
Dbhub is a zero-dependency, token-efficient MCP (Model Context Protocol) server that allows MCP-compatible clients to connect to and explore various databases. It supports PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite through a single interface and is brought to you by Bytebase.
How to use Dbhub?
Install via Docker or NPM, then start with command-line arguments such as --transport, --port, and --dsn. For multi-database setups, use a TOML configuration file. Demo mode is available via --demo. The server also includes a built-in web interface (Workbench) for visual interaction.
Key features of Dbhub
- Zero dependency and token efficient with only two MCP tools
- Multi-database support: PostgreSQL, MySQL, MariaDB, SQL Server, SQLite
- Multi-connection configuration via TOML files
- Guardrails: read-only mode, row limiting, query timeout
- Secure access: SSH tunneling and SSL/TLS encryption
- Built-in web interface (Workbench) for query execution and tracing
Use cases of Dbhub
- Connect Claude Desktop, Claude Code, Cursor, VS Code, or Copilot CLI to databases
- Manage production, staging, and development databases from a single Dbhub instance
- Execute SQL queries with transaction support and safety controls
- Search and explore database schemas, tables, columns, indexes, and procedures
- Define reusable, parameterized SQL operations as custom tools
FAQ from Dbhub
What databases does Dbhub support?
PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite.
How do I install Dbhub?
Use Docker (docker run --rm --init --name dbhub --publish 8080:8080 bytebase/dbhub) or NPM (npx @bytebase/dbhub@latest) with required flags like --transport, --port, and --dsn. A demo mode is also available.
Does Dbhub require authentication?
The HTTP transport does not authenticate HTTP clients. For production, bind to 127.0.0.1 and use a reverse proxy or firewall.
What safety controls does Dbhub provide?
Read-only mode, row limiting, and query timeout to prevent runaway operations.
Is there a web interface?
Yes, Dbhub includes a built-in Workbench that provides a visual way to execute queries, run custom tools, and view request traces without needing an MCP client.
Frequently asked questions
What databases does Dbhub support?
PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite.
How do I install Dbhub?
Use Docker (`docker run --rm --init --name dbhub --publish 8080:8080 bytebase/dbhub`) or NPM (`npx @bytebase/dbhub@latest`) with required flags like `--transport`, `--port`, and `--dsn`. A demo mode is also available.
Does Dbhub require authentication?
The HTTP transport does not authenticate HTTP clients. For production, bind to `127.0.0.1` and use a reverse proxy or firewall.
What safety controls does Dbhub provide?
Read-only mode, row limiting, and query timeout to prevent runaway operations.
Is there a web interface?
Yes, Dbhub includes a built-in Workbench that provides a visual way to execute queries, run custom tools, and view request traces without needing an MCP client.
Basic information
More Databases MCP servers

nuzur
nuzur is a model-first database platform for MySQL and PostgreSQL. The MCP server lets any AI assistant or agent (Claude, Cursor, Gemini, or anything else that speaks MCP) design your schema, query your data, generate mi
Database Gateway
centralmindUniversal MCP-Server for your Databases optimized for LLMs and AI-Agents.
Multi Database MCP Server
FreePeakA powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.
MongoDB MCP Server
mongodb-jsA Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
Neon MCP Server
neondatabase-labsMCP server for interacting with Neon Management API and databases
Comments