DBHub
io.github.bytebase/dbhub ยท version 1.6.0
Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
https://github.com/bytebase/dbhubQuick facts
- Listing: Community
- Published Nov 7, 08:04 UTC
- Transport: stdio
- Package: npm
@bytebase/dbhub1.6.0 - Listed by cosmic-mcp: Nov 8, 18:59 UTC
Details
- Repository: https://github.com/bytebase/dbhub
- npm: https://www.npmjs.com/package/@bytebase/dbhub
- Needs settings:
DSNDB_TYPEDB_HOSTDB_PORTDB_USERDB_PASSWORDDB_NAMETRANSPORTPORTIDSSH_HOSTSSH_PORTSSH_USERSSH_PASSWORDSSH_KEYSSH_PASSPHRASESSH_AUTH_SOCK
Setup snippets
Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.
Run it locally (npm)
npx -y '@bytebase/[email protected]'Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"dbhub": {
"args": [
"-y",
"@bytebase/[email protected]"
],
"command": "npx",
"env": {
"DB_HOST": "<your db host>",
"DB_NAME": "<your db name>",
"DB_PASSWORD": "<your db password>",
"DB_PORT": "<your db port>",
"DB_TYPE": "<your db type>",
"DB_USER": "<your db user>",
"DSN": "<your dsn>",
"ID": "<your id>",
"PORT": "<your port>",
"SSH_AUTH_SOCK": "<your ssh auth sock>",
"SSH_HOST": "<your ssh host>",
"SSH_KEY": "<your ssh key>",
"SSH_PASSPHRASE": "<your ssh passphrase>",
"SSH_PASSWORD": "<your ssh password>",
"SSH_PORT": "<your ssh port>",
"SSH_USER": "<your ssh user>",
"TRANSPORT": "<your transport>"
}
}
}
}Claude Code
claude mcp add 'dbhub' -- npx -y '@bytebase/[email protected]'Cursor (.cursor/mcp.json)
{
"mcpServers": {
"dbhub": {
"args": [
"-y",
"@bytebase/[email protected]"
],
"command": "npx",
"env": {
"DB_HOST": "<your db host>",
"DB_NAME": "<your db name>",
"DB_PASSWORD": "<your db password>",
"DB_PORT": "<your db port>",
"DB_TYPE": "<your db type>",
"DB_USER": "<your db user>",
"DSN": "<your dsn>",
"ID": "<your id>",
"PORT": "<your port>",
"SSH_AUTH_SOCK": "<your ssh auth sock>",
"SSH_HOST": "<your ssh host>",
"SSH_KEY": "<your ssh key>",
"SSH_PASSPHRASE": "<your ssh passphrase>",
"SSH_PASSWORD": "<your ssh password>",
"SSH_PORT": "<your ssh port>",
"SSH_USER": "<your ssh user>",
"TRANSPORT": "<your transport>"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"dbhub": {
"args": [
"-y",
"@bytebase/[email protected]"
],
"command": "npx",
"env": {
"DB_HOST": "<your db host>",
"DB_NAME": "<your db name>",
"DB_PASSWORD": "<your db password>",
"DB_PORT": "<your db port>",
"DB_TYPE": "<your db type>",
"DB_USER": "<your db user>",
"DSN": "<your dsn>",
"ID": "<your id>",
"PORT": "<your port>",
"SSH_AUTH_SOCK": "<your ssh auth sock>",
"SSH_HOST": "<your ssh host>",
"SSH_KEY": "<your ssh key>",
"SSH_PASSPHRASE": "<your ssh passphrase>",
"SSH_PASSWORD": "<your ssh password>",
"SSH_PORT": "<your ssh port>",
"SSH_USER": "<your ssh user>",
"TRANSPORT": "<your transport>"
},
"type": "stdio"
}
}
}Related servers
- AI for Database Verified domain
Ask your databases questions in plain English, run read-only SQL and set up data alerts. - AI2SQL Verified domain
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema - AICasePredict Verified domain
Search a large legal database of 325M+ US court records: cases, attorneys, judges and courts. - APC Security Reference Server
Reference MCP server for synthetic APC action-security evaluation and local SQLite sandbox testin... - AdoMcp
Database MCP server for schema discovery, comments, and SQL queries. - Agent Swarm
Full Agent Swarm API and MCP server with local SQLite storage for multi-agent orchestration.