@dbx-app/mcp-server 0.4.62 → 0.4.64
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 +10 -0
- package/package.json +7 -7
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -198,6 +198,8 @@ Set `DBX_WEB_URL` to use a deployed DBX Web backend instead of local desktop sto
|
|
|
198
198
|
|
|
199
199
|
`DBX_WEB_PASSWORD` is the password used on the DBX Web login page. Desktop-local mode does not use it. Desktop UI tools are hidden in Web mode.
|
|
200
200
|
|
|
201
|
+
DBX Web requests honor the standard system proxy environment variables (`HTTP_PROXY`/`HTTPS_PROXY`/`ALL_PROXY`, bypass via `NO_PROXY`); an empty value means no proxy. Proxies requiring authentication use the `http://user:pass@host:port` URL form. Extra headers can be attached via `DBX_WEB_HEADERS` (a JSON object, e.g. `{"Authorization":"Bearer <token>"}`) — applied to every request, including authentication.
|
|
202
|
+
|
|
201
203
|
Docker and DBX Web also require the standalone DuckDB driver. Install it from Driver Manager after the first launch; when `/app/data` is persisted, the driver is stored under `/app/data/agents` and survives container upgrades.
|
|
202
204
|
|
|
203
205
|
### Windows portable DBX
|
|
@@ -264,6 +266,9 @@ SQL text is not included in normal MCP errors or logged by default. Enable tempo
|
|
|
264
266
|
| `DBX_DATA_DIR` | Override the local DBX data directory |
|
|
265
267
|
| `DBX_WEB_URL` | Use a DBX Web/Docker backend |
|
|
266
268
|
| `DBX_WEB_PASSWORD` | Authenticate to the DBX Web backend |
|
|
269
|
+
| `HTTP_PROXY` / `HTTPS_PROXY` / `ALL_PROXY` | Standard system proxy variables for DBX Web requests; empty value means no proxy. Auth via `http://user:pass@host:port` |
|
|
270
|
+
| `NO_PROXY` | Standard comma-separated bypass list for the proxy above |
|
|
271
|
+
| `DBX_WEB_HEADERS` | JSON object of extra HTTP headers for DBX Web requests, e.g. `{"Authorization":"Bearer token"}` |
|
|
267
272
|
| `DBX_MCP_ALLOW_WRITES` | Upgrade compatibility only: `0`/`false` keeps an unconfigured policy read-only |
|
|
268
273
|
| `DBX_MCP_SCOPE_CONNECTION_ID` | Compatibility scope for one connection ID |
|
|
269
274
|
| `DBX_MCP_SCOPE_CONNECTION_IDS` | Compatibility scope for multiple connection IDs |
|
|
@@ -489,6 +494,8 @@ MCP 配置:
|
|
|
489
494
|
|
|
490
495
|
Web 模式不会读取本机 DBX 桌面存储,也不会暴露桌面 UI 工具。
|
|
491
496
|
|
|
497
|
+
DBX Web 请求遵循标准系统代理环境变量:https 地址读取 `HTTPS_PROXY`/`https_proxy`,http 地址读取 `HTTP_PROXY`/`http_proxy`,`ALL_PROXY`/`all_proxy` 作为兜底,`NO_PROXY`/`no_proxy` 作为绕过列表。代理值为空或未设置时直连(不走代理)。需要认证的代理使用标准 `user:password@host:port` URL 形式,例如 `http://admin:admin123@127.0.0.1:7890`。如需为每次 DBX Web 请求附加自定义请求头(例如网关前的令牌认证),将 `DBX_WEB_HEADERS` 设置为 JSON 对象,键为请求头名称、值为字符串,例如 `{"Authorization":"Bearer <token>"}`,该头会附加到包括认证在内的每个请求。
|
|
498
|
+
|
|
492
499
|
### Agent/JDBC 数据库
|
|
493
500
|
|
|
494
501
|
达梦、人大金仓、Oracle、DB2、Hive、Trino、Snowflake、SAP HANA 等数据库通过 DBX Java Agent/JDBC 基础设施运行,而不是通过 Node.js 数据库驱动运行。
|
|
@@ -540,6 +547,9 @@ MongoDB 更新和删除在未启用完全访问时必须提供可验证有效的
|
|
|
540
547
|
| `DBX_DATA_DIR` | 覆盖本地 DBX 数据目录 |
|
|
541
548
|
| `DBX_WEB_URL` | 使用 DBX Web/Docker 后端 |
|
|
542
549
|
| `DBX_WEB_PASSWORD` | DBX Web 登录密码 |
|
|
550
|
+
| `HTTP_PROXY` / `HTTPS_PROXY` / `ALL_PROXY` | DBX Web 请求的标准系统代理变量;空值表示不走代理。认证格式 `http://user:pass@host:port` |
|
|
551
|
+
| `NO_PROXY` | 上述代理的标准逗号分隔绕过列表 |
|
|
552
|
+
| `DBX_WEB_HEADERS` | DBX Web 请求附加的请求头 JSON 对象,例如 `{"Authorization":"Bearer token"}` |
|
|
543
553
|
| `DBX_MCP_ALLOW_WRITES` | 仅用于升级兼容:`0`/`false` 使尚未配置的策略保持只读 |
|
|
544
554
|
| `DBX_MCP_SCOPE_CONNECTION_ID` | 兼容旧配置:限制到指定连接 ID |
|
|
545
555
|
| `DBX_MCP_SCOPE_CONNECTION_IDS` | 兼容旧配置:限制到多个连接 ID |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dbx-app/mcp-server",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.64",
|
|
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.
|
|
32
|
-
"@dbx-app/mcp-darwin-x64": "0.4.
|
|
33
|
-
"@dbx-app/mcp-linux-arm64-gnu": "0.4.
|
|
34
|
-
"@dbx-app/mcp-linux-x64-gnu": "0.4.
|
|
35
|
-
"@dbx-app/mcp-win32-arm64": "0.4.
|
|
36
|
-
"@dbx-app/mcp-win32-x64": "0.4.
|
|
31
|
+
"@dbx-app/mcp-darwin-arm64": "0.4.64",
|
|
32
|
+
"@dbx-app/mcp-darwin-x64": "0.4.64",
|
|
33
|
+
"@dbx-app/mcp-linux-arm64-gnu": "0.4.64",
|
|
34
|
+
"@dbx-app/mcp-linux-x64-gnu": "0.4.64",
|
|
35
|
+
"@dbx-app/mcp-win32-arm64": "0.4.64",
|
|
36
|
+
"@dbx-app/mcp-win32-x64": "0.4.64"
|
|
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.
|
|
9
|
+
"version": "0.4.64",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@dbx-app/mcp-server",
|
|
14
|
-
"version": "0.4.
|
|
14
|
+
"version": "0.4.64",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
}
|