MCPLow riskUnclaimed
DBHub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
bytebasebytebase/dbhub
server.json
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.bytebase/dbhub",
"description": "Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite",
"title": "DBHub",
"repository": {
"url": "https://github.com/bytebase/dbhub",
"source": "github"
},
"version": "1.5.0",
"packages": [
{
"registryType": "npm",
"identifier": "@bytebase/dbhub",
"version": "1.5.0",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Database connection string (e.g., postgres://user:pass@host:5432/db)",
"format": "string",
"isSecret": true,
"name": "DSN"
},
{
"description": "Database type: postgres, mysql, mariadb, sqlserver, oracle, sqlite",
"format": "string",
"name": "DB_TYPE"
},
{
"description": "Database hostname",
"format": "string",
"name": "DB_HOST"
},
{
"description": "Database port",
"format": "number",
"name": "DB_PORT"
},
{
"description": "Database username",
"format": "string",
"name": "DB_USER"
},
{
"description": "Database password",
"format": "string",
"isSecret": true,
"name": "DB_PASSWORD"
},
{
"description": "Database name or SQLite file path",
"format": "string",
"name": "DB_NAME"
},
{
"description": "Transport mode: stdio or http",
"format": "string",
"name": "TRANSPORT"
},
{
"description": "HTTP server port (default: 8080)",
"format": "number",
"name": "PORT"
},
{
"description": "Instance identifier for tool names",
"format": "string",
"name": "ID"
},
{
"description": "SSH server hostname",
"format": "string",
"name": "SSH_HOST"
},
{
"description": "SSH server port (default: 22)",
"format": "number",
"name": "SSH_PORT"
},
{
"description": "SSH username",
"format": "string",
"name": "SSH_USER"
},
{
"description": "SSH password",
"format": "string",
"isSecret": true,
"name": "SSH_PASSWORD"
},
{
"description": "Path to SSH private key",
"format": "string",
"name": "SSH_KEY"
},
{
"description": "SSH key passphrase",
"format": "string",
"isSecret": true,
"name": "SSH_PASSPHRASE"
},
{
"description": "Path to SSH agent socket",
"format": "string",
"name": "SSH_AUTH_SOCK"
}
]
}
]
}Permissions
DeclaredDetected
Runs code—
nodeInstalls—
npm:@bytebase/dbhub@1.5.0Runs install scripts—None
NetworkNoneNone
Needs credentials
DB_PASSWORDDSNSSH_PASSPHRASESSH_PASSWORDDB_PASSWORDDSNSSH_PASSPHRASESSH_PASSWORDOutside the workspace—None
Agent tools—None
Checks
Low risk · Nothing worth a warning was found.
Not reviewed by a person · Checked by rules; the model review is not switched on yet.
Versions
- #21.5.0latestOct 9, 2026
- #11.4.0Oct 7, 2026
DBHubOpen in Codeg