DBHub

io.github.bytebase/dbhub

Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "dbhub": {
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/dbhub@1.6.0"
      ],
      "env": {
        "DSN": "<your DSN>",
        "DB_PASSWORD": "<your DB_PASSWORD>",
        "SSH_PASSWORD": "<your SSH_PASSWORD>",
        "SSH_PASSPHRASE": "<your SSH_PASSPHRASE>"
      }
    }
  }
}
Environment variables
  • DSNsecretDatabase connection string (e.g., postgres://user:pass@host:5432/db)
  • DB_PASSWORDsecretDatabase password
  • SSH_PASSWORDsecretSSH password
  • SSH_PASSPHRASEsecretSSH key passphrase

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Databases
Version
1.6.0
Registry
active
Published
11/7/2026
Browse all Databases →

Add the badge to your site

Show visitors that DBHub is listed here — it’s also the link we check for a free listing.

DBHub — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-bytebase-dbhub?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="DBHub — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![DBHub — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-bytebase-dbhub?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.