20MB lightweight database client for 70+ databases
Go to file
yavon007 4e1b35186b feat: add index type, included columns, filter, and comment support
- Add filter, index_type, included_columns, and comment fields to IndexInfo
- PostgreSQL: query pg_am for index type, use indnkeyatts to split key/included columns, retrieve index comments via obj_description()
- SQL Server: add type_desc, filter_definition, included columns via is_included_column
- MySQL: add INDEX_TYPE from information_schema.STATISTICS
- Oracle: add INDEX_TYPE from ALL_INDEXES
- DDL generation: add USING (PostgreSQL), type prefix + INCLUDE + WHERE (SQL Server), COMMENT ON INDEX (PostgreSQL)
- Frontend: update types, state mapping, SQL generation, and i18n translations
2026-05-03 20:10:35 +08:00
.github fix: use per-target Rust cache keys and align CI runner for cache reuse 2026-05-02 22:50:34 +08:00
docs feat: add MCP guide and welcome page MCP integration hint 2026-05-03 15:27:35 +08:00
mcp feat: update version to 0.1.3 and add server configuration 2026-05-03 14:59:20 +08:00
public feat: add SelectDB support and update related icons 2026-05-01 11:02:41 +08:00
src feat: add index type, included columns, filter, and comment support 2026-05-03 20:10:35 +08:00
src-tauri feat: add index type, included columns, filter, and comment support 2026-05-03 20:10:35 +08:00
tests feat: add index type, included columns, filter, and comment support 2026-05-03 20:10:35 +08:00
.gitignore chore: remove .mcp.json from tracking and add to gitignore 2026-05-03 14:46:45 +08:00
README.md docs: add MCP Server section to README and publish to MCP Registry 2026-05-03 15:01:06 +08:00
README.zh-CN.md docs: add MCP Server section to README and publish to MCP Registry 2026-05-03 15:01:06 +08:00
components.json feat: initial release 2026-04-29 18:09:23 +08:00
index.html feat: enhance loading experience and update window visibility settings 2026-04-29 18:33:41 +08:00
package.json chore: bump version to 0.3.9 2026-05-03 15:13:48 +08:00
pnpm-lock.yaml fix: 重新加入@babel/runtime依赖,原因是不加则CodeMirror-Theme会报错 2026-05-02 17:29:14 +08:00
tsconfig.json feat: initial release 2026-04-29 18:09:23 +08:00
vite.config.ts feat: enhance MySQL connection handling with bare option and optimize component imports 2026-05-02 23:25:39 +08:00

README.md

DBX

Open-source, lightweight, cross-platform database management tool.

English | 简体中文

Features

  • Multi-database — MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, ClickHouse, SQL Server, Oracle, MariaDB, TiDB, OceanBase, openGauss, GaussDB, KingBase, Vastbase, GoldenDB
  • Schema browser — Databases, schemas, tables, columns, indexes, foreign keys, triggers, with sidebar search & pin
  • Query editor — CodeMirror 6 with syntax highlighting, SQL autocomplete (tables & columns), Cmd+Enter execution, selected SQL execution, SQL formatting
  • AI SQL assistant — Natural language to SQL, explain, optimize, fix errors (Claude / OpenAI)
  • Data grid — Virtual-scrolled table with inline editing, sorting, search, pagination, column resize, row numbers, zebra stripes
  • Export — CSV, JSON, Markdown
  • File preview — Drag & drop Parquet, CSV, JSON files to preview data instantly (powered by DuckDB)
  • Redis browser — Key pattern search, value viewer for all data types (String, Hash, List, Set, ZSet, Stream)
  • MongoDB browser — Document CRUD with pagination, direct URL connection (Atlas, replica sets)
  • Query history — Persistent history with search, restore, one-click copy
  • Safety — Confirmation dialog for DROP / DELETE / TRUNCATE / ALTER
  • Auto-reconnect — Transparent retry on connection loss
  • SSH tunnel — Key and password authentication
  • Connection colors — Color-coded connections for visual identification
  • Auto-update — Built-in update checker with release notifications
  • Dark mode — Native title bar theme sync
  • i18n — English & 简体中文
  • Tiny — ~15 MB installer (no bundled Chromium)

AI Agent Integration (MCP)

DBX provides an MCP server that lets AI coding agents query your databases using connections already configured in DBX.

npx @dbx-app/mcp-server

Add to your .mcp.json:

{
  "mcpServers": {
    "dbx": { "command": "npx", "args": ["-y", "@dbx-app/mcp-server"] }
  }
}

Works with Claude Code, Cursor, Windsurf, and any MCP-compatible agent. Supports listing connections, browsing tables, executing SQL, and opening tables directly in DBX's UI.

See the MCP server README for details.

Screenshot

Install

Download the latest release from the Releases page.

Homebrew (macOS):

brew install --cask t8y2/tap/dbx

Scoop (Windows):

scoop bucket add dbx https://github.com/t8y2/scoop-bucket
scoop install dbx

macOS Note

DBX is not signed with an Apple Developer certificate. On first launch, macOS will block the app. To fix this:

xattr -cr /Applications/dbx.app

Or: System Settings → Privacy & Security → Open Anyway.

Getting Started

Prerequisites

Development

pnpm install
pnpm tauri dev

Build

pnpm tauri build

The installer will be in src-tauri/target/release/bundle/.

Tech Stack

Layer Technology
Framework Tauri 2
Frontend Vue 3 + TypeScript
UI shadcn-vue + Tailwind CSS
Editor CodeMirror 6
Backend Rust + sqlx / tiberius / redis-rs / mongodb

Community

LINUX DO

WeChat Group QQ Group

Contributors

Star History

Star History Chart

License

MIT