xby-db
Manifest validMCP Database Server is a service that provides secure database access for AI assistants and LLM-based tools, supporting SQLite, PostgreSQL, MySQL, and MariaDB, with query validation, audit logging, and security controls.
xby-db
DeepSeek Harness (DSH) 的插件:数据库访问服务
MCP Database Server 是一个为AI助手和基于LLM的工具提供安全数据库访问的服务,支持SQLite、PostgreSQL、MySQL和MariaDB,具有查询验证、审计日志和安全控制功能。
功能
- set_xby_apikey — 在聊天中设置 API 密钥(自动持久化,重启有效)
- db_tables — List all tables in the database, optionally filtered by schema. Returns qualified table names.
- db_describe_table — Get column information for a specific table including column names, data types, and nullability.
- db_execute — Execute a SQL statement. Supports SELECT (read), INSERT/UPDATE/DELETE (write if enabled), and DDL (if enabled). Use named parameters with :param syntax.
- db_explain — Get query execution plan and performance information using EXPLAIN. Helps analyze query performance and optimization opportunities.
安装
方式一:从 GitHub 直接安装(推荐)
# 格式: dsh plugin --profile <profile> add github:<owner>/<repo>
dsh plugin --profile web add github:xby_skill/xby-db
方式二:从本地目录安装(开发模式)
# 仅用于本地开发调试
dsh plugin --profile web add /absolute/path/to/xby-db
方式三:通过 cordis.patch.yml 开发调试
dsh web --profile web --patch /absolute/path/to/dsh-ocr-plugin/cordis.patch.yml
配置
获取 API 密钥
前往 小笨羊官网 注册并获取 API 密钥。
Comments
Loading…
Similar plugins
by xby-skill
一个通过模型上下文协议(MCP)提供DBLP计算机科学文献数据库访问的服务,支持学术文献检索、引用生成及格式化功能。
★ 0
MIT
TypeScript
Sep 2, 2026
dsh plugin --profile web add xby-dblpby xby-skill
Atlas Docs MCP服务器为AI助手提供库和框架的技术文档,将官方文档处理为适合LLM使用的Markdown版本,适用于Cursor、Cline、Windsurf等MCP兼容的LLM客户端。
★ 0
MIT
TypeScript
Sep 2, 2026
dsh plugin --profile web add xby-atlas-docsby xby-skill
一个提供全面域名研究工具(包括RDAP、WHOIS和DNS查询功能)的模型上下文协议(MCP)服务器。
★ 0
MIT
TypeScript
Aug 28, 2026
dsh plugin --profile web add xby-domain-lookupby xby-skill
Maven MCP Server是一个通过自然语言交互的AI驱动Maven依赖管理工具,提供版本检查、安全扫描和依赖分析功能。
★ 0
MIT
TypeScript
Aug 28, 2026
dsh plugin --profile web add xby-mvnby xby-skill
ChuckNorris MCP服务器是一个通过动态模式适配为大型语言模型提供增强提示的工具,主要用于安全研究和评估。
★ 0
MIT
TypeScript
Aug 28, 2026
dsh plugin --profile web add xby-chucknorrisby xby-skill
一个强大的模型上下文协议(MCP)服务器,提供对学术文献数据库的无缝访问,帮助研究人员使用LLM和MCP客户端(如Claude、Cursor等)加速文献综述过程。
★ 0
MIT
TypeScript
Aug 28, 2026
dsh plugin --profile web add xby-lit