dsh-plugin-sql-runner:在 DSH 中安全執行本地 SQLite 查詢

dsh-plugin-sql-runner 是 thegabopacheco-sudo 維護的 DSH 社區插件(admin-security),基於 node:sqlite 對本地 SQLite 提供 status、tables、query 三個 MCP 工具。默認以讀爲主,寫操作需 confirm:true 與路徑白名單,可通過 DSH_SQL_RUNNER_MODE=read-only 關閉寫能力,審計寫入 DSH_HOME 下 audit.jsonl。安裝命令爲 dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-sql-runner,需 Node >=20,MIT 許可。

閱讀全文