Skip to content

armgit / dbx

Public Imported from GitHub
0

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。

docs: add MCP Server section to README and publish to MCP Registry

t8y2468506318ab5
diff --git a/README.md b/README.md
index 052f1446b8..31dc87d3d2 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,28 @@
- **i18n** — English & 简体中文
- **Tiny** — ~15 MB installer (no bundled Chromium)
+## AI Agent Integration (MCP)
+
+DBX provides an [MCP server](mcp/) that lets AI coding agents query your databases using connections already configured in DBX.
+
+```bash
+npx @dbx-app/mcp-server
+```
+
+Add to your `.mcp.json`:
+
+```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](mcp/README.md) for details.
+
## Screenshot
<div align="center">
diff --git a/README.zh-CN.md b/README.zh-CN.md
index cc6d9f9e55..88d05ceeef 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -49,6 +49,28 @@
- **多语言** — English & 简体中文
- **极致轻量** — 安装包约 15 MB(不内嵌 Chromium)
+## AI 编程助手集成 (MCP)
+
+DBX 提供 [MCP Server](mcp/),让 AI 编程助手直接使用 DBX 中已配置的数据库连接查询数据。
+
+```bash
+npx @dbx-app/mcp-server
+```
+
+在 `.mcp.json` 中添加:
+
+```json
+{
+ "mcpServers": {
+ "dbx": { "command": "npx", "args": ["-y", "@dbx-app/mcp-server"] }
+ }
+}
+```
+
+支持 Claude Code、Cursor、Windsurf 等 MCP 兼容的 AI 助手。可列出连接、浏览表、执行 SQL,还能直接在 DBX 界面中打开表。
+
+详见 [MCP Server 说明](mcp/README.md)。
+
## 截图
<div align="center">