DBHub
Connects AI models to SQL databases (PostgreSQL, MySQL, SQL Server, MariaDB, SQLite) via HTTP transport, enabling direct database interaction for tools like Claude, Cursor, and VS Code.
DBHub is a lightweight, dependency-free Model Context Protocol (MCP) server that implements the MCP 2024-11-05 specification. It provides a standardized HTTP interface, with optional stdio fallback, for modern AI systems to seamlessly interact with various SQL databases including PostgreSQL, MySQL, SQL Server, MariaDB, and SQLite. This empowers AI tools and development environments like Claude, Cursor, and VS Code to perform SQL operations, query schemas, and manage data efficiently, streamlining data-driven AI application development.
主な機能
01Robust security controls including read-only enforcement, query timeouts, and row limiting
02Full MCP 2024-11-05 specification implementation
03SSH Tunneling for secure access to remote databases behind bastion hosts
04Unified interface for PostgreSQL, MySQL, SQL Server, MariaDB, and SQLite
05Native HTTP/HTTPS transport for direct AI model integration
060 GitHub stars
ユースケース
01Enabling AI assistants like Claude and Cursor to execute SQL queries and explore database schemas directly.
02Providing a standardized HTTP API for any MCP-compliant AI client to interact with various SQL databases.
03Securely connecting AI development environments (e.g., VS Code with MCP extension) to multiple database types.