DBHub MCP
v1.3.1io.github.bytebase/dbhub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
transport:stdio
runtime:npm
Target client
run in your project directory
claude mcp add dbhub -e DSN=<DSN> -e DB_TYPE=<DB_TYPE> -e DB_HOST=<DB_HOST> -e DB_PORT=<DB_PORT> -e DB_USER=<DB_USER> -e DB_PASSWORD=<DB_PASSWORD> -e DB_NAME=<DB_NAME> -e TRANSPORT=<TRANSPORT> -e PORT=<PORT> -e ID=<ID> -e SSH_HOST=<SSH_HOST> -e SSH_PORT=<SSH_PORT> -e SSH_USER=<SSH_USER> -e SSH_PASSWORD=<SSH_PASSWORD> -e SSH_KEY=<SSH_KEY> -e SSH_PASSPHRASE=<SSH_PASSPHRASE> -- npx -y @bytebase/dbhub
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs
This listing does not declare its tools. Connect the server and your client will discover them on the handshake.