MCP ServerSTDIOOfficialv0.21.1

DBHub MCP Server

Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB

io.github.bytebase/dbhub

Hosted URL

https://github.com/bytebase/dbhub

Transport

STDIO

Auth

No auth required

Connect to DBHub

Hosted endpoint — paste into any MCP client.

https://github.com/bytebase/dbhub

Environment variables

Configuration this server reads at startup.

  • DSNSecret

    Database connection string (e.g., postgres://user:pass@host:5432/db)

  • DB_TYPE

    Database type: postgres, mysql, mariadb, sqlserver, sqlite

  • DB_HOST

    Database hostname

  • DB_PORT

    Database port

  • DB_USER

    Database username

  • DB_PASSWORDSecret

    Database password

  • DB_NAME

    Database name or SQLite file path

  • TRANSPORT

    Transport mode: stdio or http

  • PORT

    HTTP server port (default: 8080)

  • ID

    Instance identifier for tool names

  • SSH_HOST

    SSH server hostname

  • SSH_PORT

    SSH server port (default: 22)

  • SSH_USER

    SSH username

  • SSH_PASSWORDSecret

    SSH password

  • SSH_KEY

    Path to SSH private key

  • SSH_PASSPHRASESecret

    SSH key passphrase

Resources

Where to find authoritative docs and source for DBHub.

Try DBHub with 30+ AI models

Open MCP Agent Studio and connect this server to Claude, GPT, Gemini, DeepSeek and more — no install required.

Open Agent Studio

Related servers

More on MCP Playground