CuratedMCP
Claude Desktop
npm

How to install DBHub in Claude Desktop

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.

Steps

  1. 1Install Node.js 18 or newer (for npx)
  2. 2In Claude Desktop open Settings → Developer → Edit Config
  3. 3Add the entry below. If the file already has "mcpServers", add just the inner entry
  4. 4Quit and reopen Claude Desktop

Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "dbhub": {
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/dbhub"
      ]
    }
  }
}
Environment variableRequiredWhat it is
DSNsecretNoDatabase connection string (e.g., postgres://user:pass@host:5432/db)
DB_TYPENoDatabase type: postgres, mysql, mariadb, sqlserver, oracle, sqlite
DB_HOSTNoDatabase hostname
DB_PORTNoDatabase port
DB_USERNoDatabase username
DB_PASSWORDsecretNoDatabase password
DB_NAMENoDatabase name or SQLite file path
TRANSPORTNoTransport mode: stdio or http
PORTNoHTTP server port (default: 8080)
IDNoInstance identifier for tool names
SSH_HOSTNoSSH server hostname
SSH_PORTNoSSH server port (default: 22)
SSH_USERNoSSH username
SSH_PASSWORDsecretNoSSH password
SSH_KEYNoPath to SSH private key
SSH_PASSPHRASEsecretNoSSH key passphrase
SSH_AUTH_SOCKNoPath to SSH agent socket

Install in other clients

About DBHub: repo, license and check results →

Maintain DBHub?

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.

    How to install DBHub MCP server in Claude Desktop | CuratedMCP