In the plugin ecosystem of DeepSeek Harness (DSH), plugins are the core way to extend system functionality. When an agent needs to interact with a database to retrieve metadata or run queries, a dedicated tool is required for the task. The following section introduces xby-database-access-service, which addresses the problem of database metadata retrieval.

Plugin Overview

xby-database-access-service is a DSH plugin maintained by xby-skill. It belongs to the “Web Tools” category and is released under the MIT license.

Core Features

The plugin provides the following main capabilities:

  • set_xby_apikey: Set an API key in the chat. The system persists it automatically, and the key remains valid after a restart.
  • list_tables: List all tables in the database.
  • get_table_schema: Retrieve column information for a specified table.
  • sql_query: Provide an MCP Tool for executing SQL queries.

Installation and Activation

Use the following command to install the plugin:

dsh plugin --profile web add github:xby_skill/xby-database-access-service

Configuration

Before using the plugin, register at the Xiaobenyang official website and obtain an API key.

Typical Usage

  1. Set the key: Call the set_xby_apikey tool in the chat and pass the API key you obtained.
  2. List tables: Call list_tables to retrieve the list of database tables.
  3. Retrieve the schema: Call get_table_schema as needed to view the column definitions of a specific table.
  4. Run queries: Execute specific SQL statements through the sql_query MCP Tool.

Notes

  • The plugin runs with the permissions of the current dsh process. Ensure that you use it in a trusted database environment.
  • It is recommended to review the source code and license (MIT) before installation.