服务器生命周期监控添加福利群:解决AI开发者的「MCP实战痛点」一个模型上下文协议(MCP)服务器,使像 Claude 这样的 AI 助手能够通过 endoflife.date API 检查软件的生命周期结束(EOL)日期和支持状态。这有助于 AI 模型实时提供关于软件生命周期和安全状态的准确信息。
模型上下文协议 (MCP) 是一个系统,它允许像 Claude Desktop 这样的 AI 应用程序连接到外部工具和数据源。它为 AI 助手提供了与本地服务和 API 协作的标准方式,同时保持用户的控制权。
EOL MCP 服务器:
check_version
get_all_details(新!)
compare_versions
check_cve
list_products
check_software_status
compare_versions
analyze_security
natural_language_query
validate_version
{
"current_date": "2024-02-20T00:00:00.000Z",
"validations": {
"current": {
"version": "1.20",
"eol_check": {
"date": "2024-02-06",
"valid": false,
"days_remaining": -14,
"message": "Version 1.20 EOL date 2024-02-06 is invalid, -14 days from now"
},
"support": {
"status": "not supported",
"lts": "not LTS"
}
}
},
"recommendation": {
"needs_update": true,
"urgency": "critical",
"message": "Current version needs urgent upgrade - use a supported version"
}
}

{
"product": "go",
"current_date": "2024-02-20T00:00:00.000Z",
"cycles": [
{
"cycle": "1.22",
"releaseDate": "2024-02-06",
"eol": "2025-02-06",
"latest": "1.22.0",
"validation": {
"is_valid": true,
"days_to_eol": 351,
"is_supported": true,
"message": "Version 1.22 EOL date 2025-02-06 is valid, +351 days from now"
}
}
]
}

Human: Is Python 3.8 still good to use? Claude: Let me check the status of Python 3.8. [Uses check_version tool] Based on the EOL data, Python 3.8: - Security support ends: October 2024 - Current status: Security fixes only Recommendation: Consider upgrading to Python 3.11 for new projects.
Human: Any security concerns with Node.js 16? Claude: I'll analyze the security status of Node.js 16. [Uses check_version tool] [Uses check_cve tool] Found: - Support Status: LTS until September 2023 - Critical CVEs: 2 in last 6 months - CVSS Score Range: 7.5-9.8 Recommendation: Update to latest 16.x patch or consider Node.js 18 LTS.
Human: Which Ubuntu version should I use? Claude: I'll help you compare Ubuntu versions. [Uses version-comparison prompt] Analysis: - 22.04 LTS: Supported until 2027, recommended for new deployments - 20.04 LTS: Supported until 2025, stable and widely used - 18.04 LTS: Approaching EOL, plan migration Recommendation: Use 22.04 LTS for best long-term support.
在开始之前,请确保您已经安装了以下软件:
您可以运行以下命令来验证 Node.js 的安装:
node --version # Should show v18.0.0 or higher

git clone https://github.com/ducthinh993/mcp-server-endoflife
cd mcp-server-endoflife

npm install
npm run build
npm link

配置 Claude Desktop 以识别 EOL MCP 服务器:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
code %APPDATA%\Claude\claude_desktop_config.json
添加 EOL 服务器配置:
{
"mcpServers": {
"eol": {
"command": "npx",
"args": ["/path/to/eol-mcp-server/build/index.js"]
}
}
}

为了让更改生效:
找不到服务器
API 问题
连接问题
# macOS
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log

如果您遇到问题: