Home / Databases / dbhub
D dbhub MCP server by bytebase · ★ 3.6k · updated today
Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.
Install dbhub Choose your AI client and copy the config.
Claude Desktop Cursor VS Code Windsurf Claude Code Codex Cline Command
Add to claude_desktop_config.json — macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Then restart Claude. Setup guide
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"@bytebase/dbhub@latest",
"--transport",
"http",
"--port",
"8080",
"--dsn",
"\"postgres://user:password@localhost:5432/dbname?sslmode=disable\""
]
}
}
}Copy Or add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project). Setup guide
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"@bytebase/dbhub@latest",
"--transport",
"http",
"--port",
"8080",
"--dsn",
"\"postgres://user:password@localhost:5432/dbname?sslmode=disable\""
]
}
}
}Copy Or add to .vscode/mcp.json in your workspace. Setup guide
{
"servers": {
"dbhub": {
"type": "stdio",
"command": "npx",
"args": [
"@bytebase/dbhub@latest",
"--transport",
"http",
"--port",
"8080",
"--dsn",
"\"postgres://user:password@localhost:5432/dbname?sslmode=disable\""
]
}
}
}Copy Cascade → Actions → Open MCP config file (often ~/.config/devin/mcp_config.json). Setup guide
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"@bytebase/dbhub@latest",
"--transport",
"http",
"--port",
"8080",
"--dsn",
"\"postgres://user:password@localhost:5432/dbname?sslmode=disable\""
]
}
}
}Copy Run in your terminal: Setup guide
claude mcp add dbhub -- npx @bytebase/dbhub@latest --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"Copy CLI or add to ~/.codex/config.toml. Setup guide
codex mcp add dbhub -- npx @bytebase/dbhub@latest --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"Copy [mcp_servers.dbhub]
command = "npx"
args = ["@bytebase/dbhub@latest", "--transport", "http", "--port", "8080", "--dsn", "\"postgres://user:password@localhost:5432/dbname?sslmode=disable\""]Copy Cline panel → Configure MCP Servers, or ~/.cline/data/settings/cline_mcp_settings.json. Setup guide
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"@bytebase/dbhub@latest",
"--transport",
"http",
"--port",
"8080",
"--dsn",
"\"postgres://user:password@localhost:5432/dbname?sslmode=disable\""
]
}
}
}Copy Run the server directly:
npx @bytebase/dbhub@latest --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"Copy Before you install: Install command taken from the project README. Check the README for any required environment variables.
Related Databases servers
25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
MCP Toolbox for Databases is an open source MCP server for databases.
T by TabularisDB · TypeScript
Open-source desktop SQL workspace with 3 built-in database drivers and 16 shipped plugins, including SQL Server, DuckDB, ClickHouse and Redis. Built-in MCP server for Claude, Cursor and Devin, SQL notebooks and visual EXPLAIN.
Instant REST and MCP APIs for PostgreSQL and MySQL 8, on existing or new databases. CRUD, custom SQL routes, auth and ACL without writing a backend. Low-code, ⚡ realtime, high-performance. Native MySQL support since v2.5.
Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
Official Supabase server: manage projects, run SQL, apply migrations, inspect logs and generate TypeScript types from your AI assistant.
Details GitHub stars 3,639 Last commit 13 Oct 2026 (today) Status Maintained (≤ 90 days) License MIT Language TypeScript Transport Local (stdio) API key Not mentioned Documented for Claude Desktop · Claude Code · Cursor · VS Code Created Mar 2025 Maintain this server? Claim the listing to fix details, add a logo and get a “Listed on HookMCP” badge.
Claim this listing
Compare alternatives Other MCP servers for the same job:
Data: github-search, official-registry. Refreshed 2026-10-14. Data is collected automatically — review the code and permissions before installing.