Query operational databases from MCP clients with DBHub
Use DBHub to expose guarded, token-efficient database inspection and SQL tools to MCP clients across Postgres, MySQL, SQL Server, MariaDB, and SQLite.
npx skills add agentskillexchange/skills --skill query-operational-databases-from-mcp-clients-with-dbhub
DBHub is a zero-dependency MCP server for connecting agents to operational databases through a small, controlled tool surface. Use this skill when an MCP-compatible assistant needs to search schema objects, run bounded SQL, use reusable configured database tools, and inspect results without hand-rolling database glue for every agent.
What this skill actually does
Invoke it instead of direct ad hoc SQL access when the workflow needs MCP integration, multi-database support, read-only or timeout guardrails, and a token-efficient schema exploration path. The scope boundary is guarded database access for MCP clients; it is not a generic database client, backend platform, or SQL library listing.
Inputs and prerequisites: Node.js 22.5 or newer or Docker, database DSN/configuration, MCP-compatible client.
Setup notes: Run with npx @bytebase/dbhub@latest –transport http –port 8080 –dsn or use the documented Docker image; configure read-only mode, row limits, timeouts, SSH/SSL, and custom tools as appropriate before exposing it to an MCP client.
Source and verification boundary: use https://dbhub.ai as the canonical reference before running the workflow; keep commands, API calls, CLI usage, and generated outputs reviewable against that upstream source.
Framework fit: publish this as a MCP workflow only when the operator can invoke the documented toolchain directly, rather than treating the upstream project as a generic product listing.