DBHub

Minimal Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB

stdioofficialapplication

Package Details

Transportstdio

Environment Variables

DSN(str)
Secret

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

DB_TYPE(str)

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

DB_HOST(str)

Database hostname

DB_PORT(num)

Database port

DB_USER(str)

Database username

DB_PASSWORD(str)
Secret

Database password

DB_NAME(str)

Database name or SQLite file path

TRANSPORT(str)

Transport mode: stdio or http

PORT(num)

HTTP server port (default: 8080)

ID(str)

Instance identifier for tool names

SSH_HOST(str)

SSH server hostname

SSH_PORT(num)

SSH server port (default: 22)

SSH_USER(str)

SSH username

SSH_PASSWORD(str)
Secret

SSH password

SSH_KEY(str)

Path to SSH private key

SSH_PASSPHRASE(str)
Secret

SSH key passphrase