DBHub vs MySQL MCP Server Pro
A side-by-side comparison of two Databases servers — tools, transport, auth, maintenance, and copy-paste config for each.
| DBHub Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, and SQLite. Unverified stdio (local) No auth TypeScript | MySQL MCP Server Pro MySQL CRUD plus anomaly analysis: SQL optimization, health checks, lock and index diagnostics, with role-based permissions. Unverified stdio (local) OAuth Stale Python | |
|---|---|---|
| Category | Databases | Databases |
| Language | TypeScript | Python |
| Transport | stdio (local) | stdio (local) |
| Auth | None | OAuth |
| GitHub stars | 3.0k | 246 |
| Last commit | 1 month ago | 11 months ago |
| Verified | ||
| Actively maintained | ||
| Install | npx @bytebase/dbhub@latest --transport stdio --dsn "postgres://user:password@localhost:5432/dbname" | pip install mysql_mcp_server_pro |
| Repo | Open | Open |
Verdict
Pick DBHub if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.
Pick MySQL MCP Server Pro if you need the broadest set of tools.
Add DBHub
npx @bytebase/dbhub@latest --transport stdio --dsn "postgres://user:password@localhost:5432/dbname"Paste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"@bytebase/dbhub@latest",
"--transport",
"stdio",
"--dsn",
"postgres://user:password@localhost:5432/dbname"
]
}
}
}Add MySQL MCP Server Pro
pip install mysql_mcp_server_proPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"mysql-mcp-server-pro": {
"command": "uvx",
"args": [
"--from",
"mysql_mcp_server_pro",
"mysql_mcp_server_pro",
"--mode",
"stdio"
],
"env": {
"MYSQL_HOST": "192.168.x.xxx",
"MYSQL_PORT": "3306",
"MYSQL_USER": "root",
"MYSQL_PASSWORD": "root",
"MYSQL_DATABASE": "a_llm",
"MYSQL_ROLE": "admin"
}
}
}
}Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.
FAQ
DBHub or MySQL MCP Server Pro — which is better?
Pick DBHub if you prefer the more popular, battle-tested option, and you want zero-setup with no API key. Pick MySQL MCP Server Pro if you need the broadest set of tools.
Can I use both DBHub and MySQL MCP Server Pro?
Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.
Do DBHub and MySQL MCP Server Pro work with Claude, Cursor and Windsurf?
Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.