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¶
- Set the key: Call the
set_xby_apikeytool in the chat and pass the API key you obtained. - List tables: Call
list_tablesto retrieve the list of database tables. - Retrieve the schema: Call
get_table_schemaas needed to view the column definitions of a specific table. - Run queries: Execute specific SQL statements through the
sql_queryMCP Tool.
Notes¶
- The plugin runs with the permissions of the current
dshprocess. Ensure that you use it in a trusted database environment. - It is recommended to review the source code and license (MIT) before installation.