@dbx-app/mcp-server 0.4.78 → 0.4.80

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
- - **15 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
@@ -149,8 +149,11 @@ Ask the MCP client to:
149
149
  | `dbx_remove_connection` | Remove a connection from DBX storage |
150
150
  | `dbx_list_tables` | List tables, views, collections, or message queue topics |
151
151
  | `dbx_describe_table` | Return columns and table metadata |
152
+ | `dbx_list_routines` | List stored procedures and functions in a schema, with an optional `routine_type` filter (PROCEDURE or FUNCTION) |
153
+ | `dbx_get_routine_source` | Return the source of a stored procedure or function by name, with an optional `signature` for overloaded names |
152
154
  | `dbx_get_schema_context` | Return compact schema context suitable for an AI model |
153
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) |
154
157
  | `dbx_open_session` | Open a stateful SQL query session pinned to one backend connection |
155
158
  | `dbx_close_session` | Close a session and release its pinned connection resources |
156
159
  | `dbx_execute_redis_command` | Execute a Redis command |
@@ -433,7 +436,7 @@ MCP 协议、连接读取、SQL 安全检查、Schema、Redis、MongoDB、Web
433
436
 
434
437
  ### 主要能力
435
438
 
436
- - 15 个 MCP 工具,涵盖连接和数据库发现、Schema、SQL、Redis、会话、消息队列和 DBX 桌面集成
439
+ - 18 个 MCP 工具,涵盖连接和数据库发现、Schema、SQL、Redis、会话、消息队列和 DBX 桌面集成
437
440
  - 不依赖 `better-sqlite3`,没有 Node 原生模块 ABI 问题
438
441
  - 支持本地 DBX、DBX Web 和 Docker
439
442
  - 可选 Streamable HTTP 传输,使用 Bearer Token 保护;stdio 仍为默认方式
@@ -524,6 +527,7 @@ MCP 配置:
524
527
  | `dbx_describe_table` | 获取字段和表结构 |
525
528
  | `dbx_get_schema_context` | 获取适合 AI 使用的紧凑 Schema 上下文 |
526
529
  | `dbx_execute_query` | 执行 SQL 或支持的 MongoDB Shell 命令,最多返回 100 行 |
530
+ | `dbx_execute_batch` | 一次执行包含多条语句的 SQL 脚本,按语句返回结果(多语句脚本搭配 `use_transaction` 时返回单个合并结果) |
527
531
  | `dbx_open_session` | 为 SQL 连接打开固定后端连接的有状态查询会话 |
528
532
  | `dbx_close_session` | 关闭会话并释放固定连接资源 |
529
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.78",
3
+ "version": "0.4.80",
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.78",
32
- "@dbx-app/mcp-darwin-x64": "0.4.78",
33
- "@dbx-app/mcp-linux-arm64-gnu": "0.4.78",
34
- "@dbx-app/mcp-linux-x64-gnu": "0.4.78",
35
- "@dbx-app/mcp-win32-arm64": "0.4.78",
36
- "@dbx-app/mcp-win32-x64": "0.4.78"
31
+ "@dbx-app/mcp-darwin-arm64": "0.4.80",
32
+ "@dbx-app/mcp-darwin-x64": "0.4.80",
33
+ "@dbx-app/mcp-linux-arm64-gnu": "0.4.80",
34
+ "@dbx-app/mcp-linux-x64-gnu": "0.4.80",
35
+ "@dbx-app/mcp-win32-arm64": "0.4.80",
36
+ "@dbx-app/mcp-win32-x64": "0.4.80"
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.78",
9
+ "version": "0.4.80",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@dbx-app/mcp-server",
14
- "version": "0.4.78",
14
+ "version": "0.4.80",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  }