dsh-sql
Database tools for agents: list/query/exec/schema/stats/health across SQLite/MySQL/PostgreSQL, with lexer-grade read-only protection, row caps, CSV/JSON query output and an approval-gated write path.
数据库工具:sql_list/query/exec/schema/stats/health,SQLite/MySQL/PostgreSQL 三引擎,词法级只读保护、行数钳制、CSV/JSON 查询输出与写审批门。
How to install
dsh plugin add dsh-sql About
English dsh-sql **你的 agent 会查库了**:SQLite / MySQL / PostgreSQL 三引擎,只读白名单 + 写审批门。 DSH(DeepSeek Harness)工程师级数据库插件:四个工具覆盖连接管理、只读查询、写操作与结构探查。 安装 bash dsh plugin --profile web add dsh-sql 配置 yaml id: sql name: 'dsh-sql' config: connections: name: local engine: sqlite file: E:\data\app.db # 或 :memory: name: prod engine: postgres host: db.internal database: app # password: xxx # 推荐环境变量 DSH_SQL_PASSWORD_PROD name: legacy engine: mysql host: 127.0.0.1 port: 3306 user: root database: legacy maxRows: 1000 # 查询返回行数上限(1-10000) queryTimeoutMs: 60000 # 单次查询超时(默认 60 秒,5 秒 - 10 分钟) execTimeoutMs: 120000 # 单次写操作…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 8
- mo. downloads
- 1.6K
- Last push
- 2026-09-18
- Created
- 2026-08-14
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- database, deepseek-harness, dsh-plugin, sql, sqlite
Related plugins
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
davinci-resolve-mcp
samuelgursky/davinci-resolve-mcp
MCP server integration for DaVinci Resolve Studio
ssh-mcp
tufantunc/ssh-mcp
MCP server exposing SSH control for Linux servers via Model Context Protocol.