MCP·6A161E
B

dbhub

By bytebase·Visit Source
Universal database gateway for MCP
April 18, 2025
Today
3 Clicks
About dbhub

Universal database gateway for MCP. dbhub is a Model Context Protocol (MCP) server maintained by bytebase. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 4 tools, including run_query, list_connectors, generate_sql and explain_db, that an agent can call directly. It is categorized under Tool/Gateway and Database/SQL.

What is this MCP

DBHub is a Model Context Protocol (MCP) server that acts as a universal gateway between MCP-compatible clients (like Claude Desktop or Cursor) and various database backends including PostgreSQL, MySQL, SQL Server, and SQLite.

How to use this MCP

DBHub can be run via Docker or npm, supporting both stdio and SSE transports. It requires a database connection string (DSN) or can run in demo mode with a sample employee database. Configuration can be done via command line, environment variables, or .env files.

What this MCP can be used for

This MCP enables AI tools to explore database schemas, execute queries, generate SQL, and explain database elements across multiple database systems through a standardized interface, facilitating database-aware AI interactions.

Repository Info
Stars:
3001
Forks:
252
Watchers:
3001
Last Updated: Today

AIMCP authority

DR and traffic signal for the AIMCP public domain.

FAQ

Frequently asked questions

What is the dbhub MCP server?

dbhub is a Model Context Protocol server from bytebase. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.

How do I connect dbhub to my AI client?

Add dbhub to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.

What tools does dbhub provide?

dbhub provides 4 tools: run_query, list_connectors, generate_sql and explain_db.

Is dbhub free to use?

dbhub is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.

Sponsored

Vernclaw Plugins for OpenClaw

Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.