Run, configure, script, validate, or troubleshoot DatabaseMcpServer in CLI mode / 命令行模式 (not MCP stdio client setup). Use for `DatabaseMcpServer tool|config|init|-web`, config discovery and `DB_CONFIG_PATH`, `databases.json` vs `cli-state.json`, `switch_database` vs `config use`, `--config` / `--yes`, exit-code and stdout/stderr triage, PowerShell SQL/JSON quoting, source-vs-global-tool version mismatches, `batch_sql_query`, `batch_execute_commands`, browser config management, or reproducible CLI smoke tests. Chinese triggers include CLI 测试、切换数据库、当前连接没变、重载配置、PowerShell 转义、批量查询、批量执行、打开配置网页、退出码排查。
2026-07-15