@dbx-app/mcp-server
能做什么:连接多种数据库跑查询:列连接、描述表结构、执行单条或批量 SQL、管理事务与 Redis 命令,并把结果带回对话继续分析。
什么时候接:边写 SQL 边看真实数据,核对字段含义与样例值,或让 AI 先跑一条验证再写进代码的时候,省去切客户端。
注意:需数据库连接串,建议配只读账号、别给写权限;begin/commit 与 execute_batch 可写,误操作会改真实数据。
可用工具
dbx_add_connectionAdd a new database connection to DBXdbx_begin_transactionBegin a transaction on a transaction-enabled native MySQL sessiondbx_close_sessionClose a stateful query session and release its pinned backend connectiondbx_commit_transactionCommit the active transaction; committed is reported only after MySQL acknowledges COMMITdbx_describe_tableGet column definitions for a tabledbx_duplicate_connectionDuplicate a DBX connection with its complete settings, credentials, tunnels, and sidebar groupdbx_execute_and_showExecute a SQL query in DBX desktop app UI and show results there. Requires DBX to be running.dbx_execute_batchExecute a SQL script containing multiple statements in one call and return a result per statement. Statements are split with a database-dialect-aware parser, so semicolons inside strings, comments and stored procedures are handled. Stops atdbx_execute_queryExecute a SQL query on a database connection (default 100 rows; pass max_rows to return up to 1000 rows; larger values are clamped; MongoDB shell commands and multi-statement scripts routed through the batch executor stay at 100 rows). Fordbx_execute_redis_commandExecute a Redis command on a Redis connection. Use the db argument to select a logical database instead of sending SELECT. Use SCAN rather than KEYS when enumerating keys.dbx_get_routine_sourceGet the full source text of a stored procedure or functiondbx_get_schema_contextGet compact table and column context for writing SQLdbx_list_connectionsList database connections configured in DBX. Returns connection IDs, names, group paths, database types, endpoints, selected databases, and saved connection notes.dbx_list_databasesList database names available through a DBX connection. When the connection has a database allowlist, returns only the databases allowed by DBX MCP settings; use this before listing tables if the connection has no default database.dbx_list_routinesList stored procedures and functions for a database schemadbx_list_tablesList tables and views for a database connectiondbx_open_sessionOpen a stateful query session pinned to a single backend connection. Returns a session ID for dbx_execute_query: USE, SET CATALOG, session variables and temporary tables persist across calls within the session. Close with dbx_close_sessiondbx_open_tableOpen a table in DBX desktop app. Requires DBX to be running.dbx_peek_messagesRead up to 100 Kafka messages without committing consumer offsets. Defaults to the latest 20 messages. Returns JSON with base64 payloads, UTF-8 previews, metadata, incomplete (partial broker read), and outputTruncated (256 KiB message outpudbx_remove_connectionRemove a database connection from DBXdbx_rollback_transactionRoll back the active transaction. Cleanup remains available after write-policy revocation.dbx_salesforce_apply_writeStep 2 of 2 for a Salesforce write: execute exactly the write prepared by dbx_salesforce_prepare_write, identified by its confirm_token. The token is single-use, expires 5 minutes after it was issued, and is bound to that one statement — adbx_salesforce_current_userShow the Salesforce identity behind a DBX connection: the connected user, their profile, whether that profile holds "Modify All Data" (which bypasses field-level security and record sharing), and the org. Read-only. Call it before preparingdbx_salesforce_prepare_writeStep 1 of 2 for a Salesforce write: prepare an insert, update or delete of exactly ONE record. Nothing is sent to Salesforce. The call validates the request against DBX MCP policy and returns a human-readable summary plus a single-use confidbx_send_messageSend a base64-encoded message to a Kafka, RocketMQ, or RabbitMQ topic/queue
安装
npx -y @dbx-app/mcp-server@0.4.131
配置到 Claude / Cursor
{
"mcpServers": {
"dbx-app-mcp-server": {
"command": "npx",
"args": [
"-y",
"@dbx-app/mcp-server@0.4.131"
]
}
}
}来源
- 来源:t8y2/dbx
- 许可:Apache-2.0
- npm 周下载:5,531
- 更新日期:2026-10-29
所属合集
同分类其他 MCP
资料来自官方仓库与 MCP 接口探测,以官方最新文档为准;安装第三方 MCP server 前请自行评估安全风险。