DBHub is a universal database gateway that implements the MCP server interface so assistants and IDEs can explore and query databases through typed tools. It supports multiple transports—stdio for desktop clients and HTTP for networked scenarios—making it flexible to embed or deploy. Configuration is environment-variable driven, with a DSN and per-engine settings covering Postgres, MySQL, MariaDB, SQL Server, and SQLite. Operational flags include read-only mode, row limits, and even SSH tunneling options for secure access into private networks. A demo mode ships with an in-memory SQLite “employee” dataset so users can try the tools immediately without provisioning a database. The project lives in the Bytebase org alongside database DevSecOps tooling, underscoring a production focus on safe and auditable DB interaction.

Features

  • MCP server for Postgres, MySQL, MariaDB, SQL Server, and SQLite
  • stdio and HTTP transports for local and remote clients
  • Read-only execution mode and row-limit controls
  • SSH tunnel support for secure connectivity
  • Demo dataset for instant evaluation
  • Env-driven configuration and npx one-liner startup

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow DBHub

DBHub Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DBHub!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Model Context Protocol (MCP) Servers

Registered

2025-10-08