DeepSeek Harness (DSH) provides plugin-based extension capabilities. When an agent needs to handle Magic: The Gathering-related data, hard-coding a database directly is neither flexible nor easy to maintain. xby-gathering-card-lookup-service solves this problem. It is a Model Context Protocol (MCP) server dedicated to querying and searching Chinese-language Magic card information.
The plugin is maintained by xby-skill and classified as an online tool. Through the standard DSH plugin interface, it mounts card lookup capabilities into the conversation flow.
Core Features¶
The plugin provides the following main interfaces:
set_xby_apikey: Sets the API key. The configuration is automatically persisted and remains effective after restart.get_card_by_set_and_number: Retrieves details for a single card by set code and collector number.search_cards: Searches cards using a query string, with support for paging and sorting.get_sets/get_set/get_set_cards: Queries and retrieves set data.hzls: Movable Type Shuffle. Supports combining input text with card images to create an image collage.
Installation¶
Install the plugin from GitHub using the official command:
dsh plugin --profile web add github:xby_skill/xby-gathering-card-lookup-service
Configuration and Usage¶
- Get Key: Visit the Xiaobenyang official website, register, and obtain an API key.
- Set Key: In the DSH chat, use the
set_xby_apikeyfeature to set the key. - Search Examples:
*t:creature c:r(red creature)
*pow>=5 or mv<2(power >= 5 or mana value < 2)
*o:"draw a card" -c:u(non-blue cards containing “draw a card”) - Parameter Notes:
* Paging:page(page number, default 1),page_size(items per page, default 20, maximum 100)
* Sorting:order(field names, comma-separated). The prefix-indicates descending order (e.g.,name,-mv)
* Other:unique(deduplication mode),priority_chinese(prioritize Chinese)
Notes¶
- The plugin runs with the permissions of the current DSH process.
- It is recommended to check the GitHub source code and license (MIT) before installing.
- The API key must be obtained from the Xiaobenyang official website.
This plugin is suitable for DSH agents that need to integrate a Magic knowledge base. For more details, see the plugin directory or the GitHub repository.