dsh-plugin-sql-runner: Securely Execute Local SQLite Queries in DSH

dsh-plugin-sql-runner is a DSH community plugin (admin-security) maintained by thegabopacheco-sudo. Built on node:sqlite, it provides three MCP tools—status, tables, and query—for interacting with local SQLite databases. It is read-oriented by default; write operations require `confirm: true` and a path whitelist. Write capabilities can be fully disabled by setting `DSH_SQL_RUNNER_MODE=read-only`. Audit logs are written to `audit.jsonl` under `DSH_HOME`. To install, run `dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-sql-runner`. It requires Node >= 20 and is licensed under MIT.

Read More