DBHub
by github.com/bytebase · v2.1.0 · updated Nov 21, 2026
Token-efficient MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse, SQLite
Run it locally
Install the package and point your AI client at it.
npm
npx -y @bytebase/[email protected]Environment variables
DSNsecretDatabase connection string (e.g., postgres://user:pass@host:5432/db)
DB_TYPEDatabase type: postgres, mysql, mariadb, sqlserver, oracle, clickhouse, sqlite
DB_HOSTDatabase hostname
DB_PORTDatabase port
DB_USERDatabase username
DB_PASSWORDsecretDatabase password
DB_NAMEDatabase name or SQLite file path
TRANSPORTTransport mode: stdio or http
PORTHTTP server port (default: 8080)
IDInstance identifier for tool names
SSH_HOSTSSH server hostname
SSH_PORTSSH server port (default: 22)
SSH_USERSSH username
SSH_PASSWORDsecretSSH password
SSH_KEYPath to SSH private key
SSH_PASSPHRASEsecretSSH key passphrase
SSH_AUTH_SOCKPath to SSH agent socket
More from github.com/bytebase
More MCP servers
Mcp Server Browser
github.com/bytedance
MCP server for browser use access
Mcp Server Commands
github.com/bytedance
An MCP server to run arbitrary commands
Mcp Server Filesystem
github.com/bytedance
MCP server for filesystem access
Mcp Server Search
github.com/bytedance
MCP server for web search operations
Byteplant Mcp
github.com/byteplant-devops
An MCP server that provides Email, Phone and Address Validation Services from Byteplant
16ane sandbox wallet
github.com/bytesbrains
Budget-capped agent wallet: pay x402 services in tANE, a free testnet token with no cash value