DBX: a 25 MB client that opens 100+ databases to agents
Tell Claude Code to count last week's orders and it queries through the connections you saved in a 25 MB DB client
- Who
- Built by t8y2 and contributors, for people who work across many kinds of databases and want their AI agents to use the same connections.
- When
- The repository opened on April 29, 2026. MCP server package 0.4.142 shipped on November 11, 2026.
- Where
- Desktop apps for macOS, Windows, Linux and a Docker web build; the separate MCP server works with Claude Code, Cursor, Windsurf.
What was hard
To ask an agent how many orders came in this week, you had to hand it the database address and password again. After that, nothing in one place decided whether it would only read, or could delete rows or change tables by mistake.
What it does about it
DBX started as a light database client that opens MySQL through Redis, MongoDB and ClickHouse in one app. A separately installed MCP server lets agents use the connections you already saved there. Which connections they see, and whether they get Read only, Data read/write or Full access, is set in one place in DBX settings, and the server checks it again on every request.



What people made with it
Their project's CLAUDE.md says to use dbx MCP first; exploring MySQL from Claude Code's plan mode, every read asked for confirmation, so they asked to split read and write tools.
一次计划阶段的数据探查往往要连续查询十几次(看表结构 → 看数据分布 → 抽样验证),用户被迫点十几次确认;
How it runs inside
- 1
Claude Code · Cursor → dbx-mcp (Rust)
npx -y @dbx-app/mcp-serverA small Node launcher finds the Rust dbx-mcp binary for your OS and CPU and starts it.packages/mcp-server/bin/dbx-mcp-server.js - 2
dbx-mcp (Rust) → Settings → MCP policy
Reload allowed connections and modeRead only, Data read/write or Full access is reread per request; connections off the allowlist stay hidden.crates/dbx-core/src/ai/mcp_policy.rs - 3
dbx-mcp (Rust) → Connections saved in DBX
dbx_execute_query (100 rows default)Runs SQL or a MongoDB command over a saved connection; max_rows raises the cap to 1000.crates/dbx-mcp/src/server.rs - 4
dbx-mcp (Rust) → You
Confirm risky SQL on the desktopUnder Full access, high-risk SQL such as broad deletes or DDL is shown in DBX for a person to decide.apps/desktop/src/components/mcp/McpSqlApprovalDialog.vue - 5
dbx-mcp (Rust) → Answer and DBX result grid
dbx_execute_and_showThe result goes back to the agent and also opens as a grid in the running DBX desktop app.crates/dbx-mcp/src/server.rs
What goes in, what comes out
Is it for you
Good for
- Developers moving between MySQL, PostgreSQL, Redis and MongoDB all day
- Letting Claude Code or Cursor read a database while writes stay blocked
- Teams sharing a Docker-hosted DBX web build with their agents
- Moving connection profiles over from DBeaver or Navicat
Not for
- The MCP server installs separately from the app; dbx_open_table and dbx_execute_and_show need the DBX desktop app running.
- Agent/JDBC databases need the matching agent, JDBC driver and a JRE.
- Native Linux builds need glibc; Alpine/musl is not supported yet.
- Issue #14727 reports a confirmation prompt on every read query in Claude Code's plan mode.
Reviewed by Devalley’s editor before publishing. How the column is made