DBHub runs on your own machine — the client starts it, so there is no endpoint to ping. 34 901 installs a week from npm. Last commit 26 Oct 2026.
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
We read the source, 6 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
return path.join(__dirname, 'toml', name);
'~/.ssh/id_rsa',
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add dbhub -- npx -y @bytebase/dbhub
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub"
]
}
}
}
[mcp_servers.dbhub]
command = "npx"
args = ["-y", "@bytebase/dbhub"]
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub"
]
}
}
}
{
"servers": {
"dbhub": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
DSN (Database connection string (e.g., postgres://user:pass@host:5432/db)), DB_TYPE (Database type: postgres, mysql, mariadb, sqlserver, oracle, sqlite), DB_HOST (Database hostname), DB_PORT (Database port), DB_USER (Database username), DB_PASSWORD (Database password), DB_NAME (Database name or SQLite file path), TRANSPORT (Transport mode: stdio or http), PORT (HTTP server port (default: 8080)), ID (Instance identifier for tool names), SSH_HOST (SSH server hostname), SSH_PORT (SSH server port (default: 22)), SSH_USER (SSH username), SSH_PASSWORD (SSH password), SSH_KEY (Path to SSH private key), SSH_PASSPHRASE (SSH key passphrase), SSH_AUTH_SOCK (Path to SSH agent socket).
Token-efficient MCP server for MySQL, PostgreSQL, and SQLite
Token-efficient MCP server for MySQL, PostgreSQL, and SQLite
MCP server for Databricks, BigQuery, PostgreSQL, MySQL, SQL Server, SQLite, MariaDB
Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention
MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools.
MCP server for secure database access (PostgreSQL, MySQL, SQLite)
SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.
Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.
Answers built from our own checks of this server.