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 许可。

阅读全文