@dbx-app/mcp-server 0.4.79 → 0.4.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,7 +17,7 @@ The MCP protocol, connection loading, SQL safety, schema access, Redis support,
17
17
 
18
18
  ## Features
19
19
 
20
- - **17 MCP tools** for connection and database discovery, schemas, SQL, Redis, sessions, messages, and DBX UI integration
20
+ - **18 MCP tools** for connection and database discovery, schemas, SQL, Redis, sessions, messages, and DBX UI integration
21
21
  - **Precompiled native binaries** with no local Rust, Cargo, Python, or C/C++ build requirement
22
22
  - **No `better-sqlite3` runtime dependency** and no Node native-addon ABI coupling
23
23
  - **Local, Web, and Docker modes** using the same tool interface
@@ -153,6 +153,7 @@ Ask the MCP client to:
153
153
  | `dbx_get_routine_source` | Return the source of a stored procedure or function by name, with an optional `signature` for overloaded names |
154
154
  | `dbx_get_schema_context` | Return compact schema context suitable for an AI model |
155
155
  | `dbx_execute_query` | Execute SQL or a supported MongoDB shell command, returning at most 100 rows |
156
+ | `dbx_execute_batch` | Execute a SQL script containing multiple statements in one call, returning a result per statement (or a single merged result with `use_transaction` on a multi-statement script) |
156
157
  | `dbx_open_session` | Open a stateful SQL query session pinned to one backend connection |
157
158
  | `dbx_close_session` | Close a session and release its pinned connection resources |
158
159
  | `dbx_execute_redis_command` | Execute a Redis command |
@@ -435,7 +436,7 @@ MCP 协议、连接读取、SQL 安全检查、Schema、Redis、MongoDB、Web
435
436
 
436
437
  ### 主要能力
437
438
 
438
- - 17 个 MCP 工具,涵盖连接和数据库发现、Schema、SQL、Redis、会话、消息队列和 DBX 桌面集成
439
+ - 18 个 MCP 工具,涵盖连接和数据库发现、Schema、SQL、Redis、会话、消息队列和 DBX 桌面集成
439
440
  - 不依赖 `better-sqlite3`,没有 Node 原生模块 ABI 问题
440
441
  - 支持本地 DBX、DBX Web 和 Docker
441
442
  - 可选 Streamable HTTP 传输,使用 Bearer Token 保护;stdio 仍为默认方式
@@ -526,6 +527,7 @@ MCP 配置:
526
527
  | `dbx_describe_table` | 获取字段和表结构 |
527
528
  | `dbx_get_schema_context` | 获取适合 AI 使用的紧凑 Schema 上下文 |
528
529
  | `dbx_execute_query` | 执行 SQL 或支持的 MongoDB Shell 命令,最多返回 100 行 |
530
+ | `dbx_execute_batch` | 一次执行包含多条语句的 SQL 脚本,按语句返回结果(多语句脚本搭配 `use_transaction` 时返回单个合并结果) |
529
531
  | `dbx_open_session` | 为 SQL 连接打开固定后端连接的有状态查询会话 |
530
532
  | `dbx_close_session` | 关闭会话并释放固定连接资源 |
531
533
  | `dbx_execute_redis_command` | 执行 Redis 命令 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbx-app/mcp-server",
3
- "version": "0.4.79",
3
+ "version": "0.4.81",
4
4
  "description": "MCP server for DBX — query databases from Claude Code, Cursor, and other AI agents",
5
5
  "keywords": [
6
6
  "ai-agent",
@@ -28,12 +28,12 @@
28
28
  ],
29
29
  "type": "module",
30
30
  "optionalDependencies": {
31
- "@dbx-app/mcp-darwin-arm64": "0.4.79",
32
- "@dbx-app/mcp-darwin-x64": "0.4.79",
33
- "@dbx-app/mcp-linux-arm64-gnu": "0.4.79",
34
- "@dbx-app/mcp-linux-x64-gnu": "0.4.79",
35
- "@dbx-app/mcp-win32-arm64": "0.4.79",
36
- "@dbx-app/mcp-win32-x64": "0.4.79"
31
+ "@dbx-app/mcp-darwin-arm64": "0.4.81",
32
+ "@dbx-app/mcp-darwin-x64": "0.4.81",
33
+ "@dbx-app/mcp-linux-arm64-gnu": "0.4.81",
34
+ "@dbx-app/mcp-linux-x64-gnu": "0.4.81",
35
+ "@dbx-app/mcp-win32-arm64": "0.4.81",
36
+ "@dbx-app/mcp-win32-x64": "0.4.81"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^22.15.21",
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/t8y2/dbx",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.4.79",
9
+ "version": "0.4.81",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@dbx-app/mcp-server",
14
- "version": "0.4.79",
14
+ "version": "0.4.81",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  }