Introduction

DeepSeek Harness (DSH) adopts an “everything is a plugin” architecture. For agent developers who need to interact with the Perl ecosystem, retrieving package information, README files, or performing searches on CPAN (Comprehensive Perl Archive Network) often requires writing extra crawler logic. The xby-cpan-package-info plugin directly addresses this pain point by providing an MCP server interface.

Plugin Purpose

This is an MCP server plugin maintained by xby-skill. It encapsulates CPAN query capabilities, allowing agents to directly retrieve basic package information, dependencies, README documentation, and perform package searches.

Core Features

The plugin provides the following capabilities:
- set_xby_apikey: Set the API key in the chat session. The key is automatically persisted and remains valid after restarting the DSH process.
- get_readme_from_cpan: Retrieve the README content and usage examples for a specified package from CPAN.
- get_package_info_from_cpan: Retrieve basic package information and the dependency list.
- search_packages_from_cpan: Search for packages in the CPAN database.

Installation and Activation

Install this plugin using the DSH command-line tool.

dsh plugin --profile web add github:xby_skill/xby-cpan-package-info

Note: Before installing, ensure that the web profile for DSH is properly configured.

Configuration Prerequisites

The plugin requires interaction with an external service. Before use, visit the Xiaobenyang official website to register an account and obtain an API key. After obtaining it, call the set_xby_apikey command in the conversation to pass the key.

Usage Instructions

Because the plugin runs with the permissions of the current DSH process, it is recommended to review its source code and license (MIT) before installation. Once the key is configured, you can call the core features above through the corresponding MCP interfaces.

The plugin is hosted on GitHub. You can view more details or submit feedback by visiting the DeepSeek Harness ecosystem catalog.