From dbhub
Connects Claude to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse, and SQLite databases to execute SQL queries and search schema objects. Needs a database connection string (DBHUB_DSN).
Ships in dbhub. Installing the plugin adds it to Claude Code.
Copy this JSON into your .mcp.json to enable this server
Add to your .mcp.json:
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/[email protected]",
"--transport",
"stdio",
"--config",
"${CLAUDE_PLUGIN_ROOT}/dbhub.toml"
],
"env": {
"DBHUB_DSN": "${user_config.dsn}"
}
}
}
}Declared capabilities of this MCP server
Environment variables set when the server starts
DBHUB_DSN=${user_config.dsn}Command-line arguments passed to the server process
Server configuration and connection parameters
npxFirst indexed Dec 4, 2025
npx claudepluginhub bytebase/dbhub --plugin dbhub