@dbx-app/mcp-server 0.4.96 → 0.4.97

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.
Files changed (3) hide show
  1. package/README.md +10 -0
  2. package/package.json +7 -7
  3. package/server.json +2 -2
package/README.md CHANGED
@@ -157,6 +157,9 @@ Ask the MCP client to:
157
157
  | `dbx_open_session` | Open a stateful SQL query session pinned to one backend connection |
158
158
  | `dbx_close_session` | Close a session and release its pinned connection resources |
159
159
  | `dbx_execute_redis_command` | Execute a Redis command |
160
+ | `dbx_salesforce_current_user` | Show the Salesforce user and org behind a connection, including the "Modify All Data" flag |
161
+ | `dbx_salesforce_prepare_write` | Prepare one Salesforce record write and return a summary plus a single-use confirm token |
162
+ | `dbx_salesforce_apply_write` | Apply a prepared Salesforce write using its confirm token |
160
163
  | `dbx_peek_messages` | Read Kafka messages without committing consumer offsets |
161
164
  | `dbx_send_message` | Send a message to a supported message queue topic |
162
165
  | `dbx_open_table` | Open a table in the running DBX desktop application |
@@ -170,6 +173,8 @@ When connection scoping is enabled, mutating connection tools and desktop UI too
170
173
 
171
174
  `dbx_list_databases` returns only database names allowed by the selected connection's MCP database scope. `dbx_send_message` is available when message-queue support is included in the server build.
172
175
 
176
+ Salesforce connections take SOQL through `dbx_execute_query` and list objects through `dbx_list_tables`. `dbx_execute_batch` and `dbx_open_session` are refused: SOQL is read-only, and every call is a stateless REST request with no session to pin. A record write is a two-step confirmed operation — `dbx_salesforce_prepare_write` returns a summary plus a single-use `confirm_token` that expires after 5 minutes, a person approves that summary, and `dbx_salesforce_apply_write` sends exactly the prepared statement. Preparing needs the per-connection **Allow DML** switch in DBX Settings → MCP, which is off by default, and Salesforce cannot roll an applied write back.
177
+
173
178
  ## Execution Modes
174
179
 
175
180
  ### Local native mode
@@ -537,6 +542,9 @@ MCP 配置:
537
542
  | `dbx_open_session` | 为 SQL 连接打开固定后端连接的有状态查询会话 |
538
543
  | `dbx_close_session` | 关闭会话并释放固定连接资源 |
539
544
  | `dbx_execute_redis_command` | 执行 Redis 命令 |
545
+ | `dbx_salesforce_current_user` | 显示连接背后的 Salesforce 用户与组织,包括 “Modify All Data” 标志 |
546
+ | `dbx_salesforce_prepare_write` | 准备一条 Salesforce 记录写入,返回摘要和一次性确认令牌 |
547
+ | `dbx_salesforce_apply_write` | 使用确认令牌应用已准备的 Salesforce 写入 |
540
548
  | `dbx_peek_messages` | 读取 Kafka 消息,不提交消费位点 |
541
549
  | `dbx_send_message` | 向支持的消息队列 Topic 发送消息 |
542
550
  | `dbx_open_table` | 在 DBX 桌面端打开表 |
@@ -548,6 +556,8 @@ MCP 配置:
548
556
 
549
557
  `dbx_list_databases` 只返回该连接 MCP 数据库范围内允许访问的名称。`dbx_send_message` 仅在 Server 构建时包含消息队列支持时可用。
550
558
 
559
+ Salesforce 连接通过 `dbx_execute_query` 执行 SOQL,通过 `dbx_list_tables` 列出对象。`dbx_execute_batch` 与 `dbx_open_session` 会被拒绝:SOQL 只读,且每次调用都是无状态 REST 请求,没有可固定的会话。写入记录是两步确认操作——`dbx_salesforce_prepare_write` 返回摘要和一次性 `confirm_token`(5 分钟后过期),由人确认该摘要后,`dbx_salesforce_apply_write` 才会发送那条已准备好的语句。准备写入需要在 DBX 设置 → MCP 中为该连接开启 **允许 DML**(默认关闭),且 Salesforce 无法回滚已应用的写入。
560
+
551
561
  ### 本地数据目录
552
562
 
553
563
  - macOS:`~/Library/Application Support/com.dbx.app/dbx.db`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbx-app/mcp-server",
3
- "version": "0.4.96",
3
+ "version": "0.4.97",
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.96",
32
- "@dbx-app/mcp-darwin-x64": "0.4.96",
33
- "@dbx-app/mcp-linux-arm64-gnu": "0.4.96",
34
- "@dbx-app/mcp-linux-x64-gnu": "0.4.96",
35
- "@dbx-app/mcp-win32-arm64": "0.4.96",
36
- "@dbx-app/mcp-win32-x64": "0.4.96"
31
+ "@dbx-app/mcp-darwin-arm64": "0.4.97",
32
+ "@dbx-app/mcp-darwin-x64": "0.4.97",
33
+ "@dbx-app/mcp-linux-arm64-gnu": "0.4.97",
34
+ "@dbx-app/mcp-linux-x64-gnu": "0.4.97",
35
+ "@dbx-app/mcp-win32-arm64": "0.4.97",
36
+ "@dbx-app/mcp-win32-x64": "0.4.97"
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.96",
9
+ "version": "0.4.97",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@dbx-app/mcp-server",
14
- "version": "0.4.96",
14
+ "version": "0.4.97",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  }