Home › Databases & Data › DBHub
DBHub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (npm 1.6.1)
npx -y @bytebase/[email protected]
Or add to your MCP client config:
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/[email protected]"
],
"env": {
"DSN": "<YOUR_VALUE>",
"DB_PASSWORD": "<YOUR_VALUE>",
"SSH_PASSWORD": "<YOUR_VALUE>",
"SSH_PASSPHRASE": "<YOUR_VALUE>"
}
}
}
}
DSNsecret — Database connection string (e.g., postgres://user:pass@host:5432/db)DB_TYPE— Database type: postgres, mysql, mariadb, sqlserver, oracle, sqliteDB_HOST— Database hostnameDB_PORT— Database portDB_USER— Database usernameDB_PASSWORDsecret — Database passwordDB_NAME— Database name or SQLite file pathTRANSPORT— Transport mode: stdio or httpPORT— HTTP server port (default: 8080)ID— Instance identifier for tool namesSSH_HOST— SSH server hostnameSSH_PORT— SSH server port (default: 22)SSH_USER— SSH usernameSSH_PASSWORDsecret — SSH passwordSSH_KEY— Path to SSH private keySSH_PASSPHRASEsecret — SSH key passphraseSSH_AUTH_SOCK— Path to SSH agent socket
Related servers
Metabase
Lets AI clients search, explore, query, and visualize data in a Metabase instance.
context-mode
Free, local plugin that keeps tool output out of your coding agent's context window. Sandbox and SQLite FTS5 search, 99% fewer bytes in…
dbx
Query databases from AI agents using connections configured in DBX.
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
convex-backend
Convex database integration to introspect tables and functions and run one-off queries.
instant
Create, manage, and update applications on InstantDB, the modern Firebase.
Listed in wong2/awesome-mcp-servers (MIT)
Data from the Official MCP Registry