MCP Directory

CentralMind Gateway vs DBHub

A side-by-side comparison of two Databases servers — tools, transport, auth, maintenance, and copy-paste config for each.

 CentralMind Gateway

Auto-generate a secure, LLM-optimized MCP server or REST API for your database in minutes.

Unverified
stdio (local)
No auth
Stale
Go
DBHub

Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, and SQLite.

Unverified
stdio (local)
No auth
TypeScript
CategoryDatabasesDatabases
LanguageGoTypeScript
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars5293.0k
Last commit1 year ago1 month ago
Verified
Actively maintained
Installdocker run --platform linux/amd64 ghcr.io/centralmind/gateway:v0.2.18 startnpx @bytebase/dbhub@latest --transport stdio --dsn "postgres://user:password@localhost:5432/dbname"
RepoOpen Open

Verdict

Pick CentralMind Gateway if you want the official, vendor-maintained server.

Pick DBHub if you prefer the more popular, battle-tested option.

Add CentralMind Gateway

Install / run
docker run --platform linux/amd64 ghcr.io/centralmind/gateway:v0.2.18 start

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "centralmind-gateway": {
      "command": "PATH_TO_GATEWAY_BINARY",
      "args": [
        "start",
        "--config",
        "PATH_TO_GATEWAY_YAML_CONFIG",
        "mcp-stdio"
      ]
    }
  }
}

Add DBHub

Install / run
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"
      ]
    }
  }
}

FAQ

CentralMind Gateway or DBHub — which is better?

Pick CentralMind Gateway if you want the official, vendor-maintained server. Pick DBHub if you prefer the more popular, battle-tested option.

Can I use both CentralMind Gateway and DBHub?

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 CentralMind Gateway and DBHub work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.