Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
Indexed, not yet reviewed
We found DBHub in the official MCP registry. Our automated check passed on Nov 1, 2026 (it confirms the server is published and reachable), but no one at CuratedMCP has reviewed its code, permissions or credentials handling. Check what it can access before you give it keys. Scan your machine free to see every MCP server you have installed.
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub"
]
}
}
}| Environment variable | Required | What it is |
|---|---|---|
| DSNsecret | No | Database connection string (e.g., postgres://user:pass@host:5432/db) |
| DB_TYPE | No | Database type: postgres, mysql, mariadb, sqlserver, oracle, sqlite |
| DB_HOST | No | Database hostname |
| DB_PORT | No | Database port |
| DB_USER | No | Database username |
| DB_PASSWORDsecret | No | Database password |
| DB_NAME | No | Database name or SQLite file path |
| TRANSPORT | No | Transport mode: stdio or http |
| PORT | No | HTTP server port (default: 8080) |
| ID | No | Instance identifier for tool names |
| SSH_HOST | No | SSH server hostname |
| SSH_PORT | No | SSH server port (default: 22) |
| SSH_USER | No | SSH username |
| SSH_PASSWORDsecret | No | SSH password |
| SSH_KEY | No | Path to SSH private key |
| SSH_PASSPHRASEsecret | No | SSH key passphrase |
| SSH_AUTH_SOCK | No | Path to SSH agent socket |
Claim this page to get a full CuratedMCP listing: edit your description, see listing analytics, and add our README badge. Listing is free, and a person checks every submission before it goes live. We'll pre-fill the form from the registry.