Feedback

DBHub (Universal Database Gateway) MCP Server Verified

@bytebase Claim

Basic information

Runtime
TypeScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
bytebase
Submitted by
Community
Quality
65
Stars
3.1K

About DBHub (Universal Database Gateway) MCP Server

DBHub: Universal database gateway to view SQLite database, run sequel queries & browse tables. Secure, safe, and easy-to-use SQLite browser.

DBHub (Universal Database Gateway) is a MCP server in the Databases category listed in the AddMCP.net directory, published by bytebase. It exposes 2 tools, including execute_sql, search_objects. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 3,111 GitHub stars. Source code is hosted on github.com. Related topics: agents, ai, anthropic, claude, claude-ai.

Setup

{
    "mcpServers": {
        "dbhub-demo": {
            "command": "npx",
            "args": [
                "-y",
                "@bytebase/dbhub",
                "--transport",
                "stdio",
                "--demo"
            ]
        }
    }
}

DBHub (Universal Database Gateway) MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "dbhub-demo": {
            "command": "npx",
            "args": [
                "-y",
                "@bytebase/dbhub",
                "--transport",
                "stdio",
                "--demo"
            ]
        }
    }
}

DBHub (Universal Database Gateway) MCP Server tools

  • execute_sql — Execute SQL queries on the sqlite database
  • search_objects — Search and list database objects (schemas, tables, columns, procedures, indexes) on the sqlite database

Overview

What is DBHub (Universal Database Gateway)?

Dbhub is a zero-dependency, token-efficient MCP (Model Context Protocol) server that allows MCP-compatible clients to connect to and explore various databases. It supports PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite through a single interface and is brought to you by Bytebase.

How to use DBHub (Universal Database Gateway)?

Install via Docker or NPM, then start with command-line arguments such as --transport, --port, and --dsn. For multi-database setups, use a TOML configuration file. Demo mode is available via --demo. The server also includes a built-in web interface (Workbench) for visual interaction.

Key features of DBHub (Universal Database Gateway)

  • Zero dependency and token efficient with only two MCP tools
  • Multi-database support: PostgreSQL, MySQL, MariaDB, SQL Server, SQLite
  • Multi-connection configuration via TOML files
  • Guardrails: read-only mode, row limiting, query timeout
  • Secure access: SSH tunneling and SSL/TLS encryption
  • Built-in web interface (Workbench) for query execution and tracing

Use cases of DBHub (Universal Database Gateway)

  • Connect Claude Desktop, Claude Code, Cursor, VS Code, or Copilot CLI to databases
  • Manage production, staging, and development databases from a single Dbhub instance
  • Execute SQL queries with transaction support and safety controls
  • Search and explore database schemas, tables, columns, indexes, and procedures
  • Define reusable, parameterized SQL operations as custom tools

Frequently asked questions

1 What databases does Dbhub support?

PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite.

2 How do I install Dbhub?

Use Docker (docker run --rm --init --name dbhub --publish 8080:8080 bytebase/dbhub) or NPM (npx @bytebase/dbhub@latest) with required flags like --transport, --port, and --dsn. A demo mode is also available.

3 Does Dbhub require authentication?

The HTTP transport does not authenticate HTTP clients. For production, bind to 127.0.0.1 and use a reverse proxy or firewall.

4 What safety controls does Dbhub provide?

Read-only mode, row limiting, and query timeout to prevent runaway operations.

5 Is there a web interface?

Yes, Dbhub includes a built-in Workbench that provides a visual way to execute queries, run custom tools, and view request traces without needing an MCP client.

Videos

Tutorials, guides, and showcases related to DBHub (Universal Database Gateway) MCP Server. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬