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

This commit is contained in:
t8y2 2026-05-03 15:01:06 +08:00
parent 06c584c38d
commit 468506318a
2 changed files with 44 additions and 0 deletions

View File

@ -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">

View File

@ -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">