CPAN-Package-Info
# CPAN包信息服务器 CPAN Package Info
一个MCP服务器,用于获取CPAN包的README内容、元数据和搜索功能。
An MCP server for obtaining the README content, metadata and search function of CPAN packages.## 工具列表 Tool List
本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。 本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。
| 工具 Tool | 描述 Description |
|-------|--------------------|
| get_readme_from_cpan | Get package README and usage examples from CPAN |
| get_package_info_from_cpan | Get package basic information and dependencies from CPAN |
| search_packages_from_cpan | Search for packages in CPAN |
## 检查服务 ## Inspector
工具在线测试: [https://mcp.xiaobenyang.com/inspector/1777316659560451](https://mcp.xiaobenyang.com/inspector/1777316659560451)
Online Tool test [https://mcp.xiaobenyang.com/inspector/1777316659560451](https://mcp.xiaobenyang.com/inspector/1777316659560451)
## 服务配置 MCP Server Config
> #### 如何获取 XBY-APIKEY ? How to get XBY-APIKEY ?
> 访问小笨羊科技网站 [https://xiaobenyang.com](https://xiaobenyang.com),注册用户即可获得APIKEY
> Visit XiaoBenYang website [https://xiaobenyang.com](https://xiaobenyang.com), register and get the APIKEY.
### SSE
```json
{
"mcpServers": {
"CPAN包信息服务器": {
"headers": {
"XBY-APIKEY": "<YOUR_XBY_APIKEY>"
},
"type": "sse",
"url": "https://mcp.xiaobenyang.com/1777316659560451/sse"
}
}
}
```
### STREAMABLE HTTP
```json
{
"mcpServers": {
"CPAN包信息服务器": {
"headers": {
"XBY-APIKEY": "<YOUR_XBY_APIKEY>"
},
"type": "streamable_http",
"url": "https://mcp.xiaobenyang.com/1777316659560451/mcp"
}
}
}
```
### STDIO
```json
{
"mcpServers": {
"CPAN包信息服务器": {
"command": "npx",
"args": [
"-y",
"xiaobenyang-mcp"
],
"env": {
"XBY_APIKEY": "<YOUR_XBY_APIKEY>",
"mcpId": "1777316659560451",
},
"transport": "stdio"
}
}
}
```
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: get_package_info_from_cpan retrieves basic metadata and dependencies, get_readme_from_cpan focuses on documentation and examples, and search_packages_from_cpan handles discovery. There is no overlap in functionality, making tool selection straightforward for an agent.
All tool names follow a consistent verb_noun_from_cpan pattern (e.g., get_package_info_from_cpan, get_readme_from_cpan, search_packages_from_cpan). This uniformity enhances readability and predictability, with no deviations in naming conventions.
With 3 tools, the count is appropriate for the server's purpose of retrieving CPAN package information. It covers core needs like info, documentation, and search, though it might feel slightly thin if additional operations like version history or author details were expected, but it remains reasonable.
The tool set provides good coverage for basic CPAN package interactions, including info, documentation, and search. Minor gaps exist, such as no tools for downloading packages, checking updates, or managing dependencies, but agents can work around these for most common use cases.