Skip to main content
Glama
EOL MCP Server

EOL MCP Server

by ducthinh993

EOL MCP 服务器 📅

模型上下文协议 (MCP) 服务器,使 Claude 等 AI 助手能够使用 endoflife.date API 检查软件生命周期终止 (EOL) 日期和支持状态。这有助于 AI 模型实时提供有关软件生命周期和安全状态的准确信息。

MCP 是什么?🤔

模型上下文协议 (MCP) 是一个允许 AI 应用(例如 Claude Desktop)连接到外部工具和数据源的系统。它为 AI 助手提供了一种标准化的方式,使其能够使用本地服务和 API,同时保持用户的控制权。

Related MCP server: Endoflife MCP Server

这个服务器是做什么的?🚀

EOL MCP 服务器:

  • 检查软件终止日期和支持状态

  • 扫描软件版本中的 CVE 漏洞

  • 提供版本比较和升级建议

  • 支持关于软件生命周期的自然语言查询

  • 处理多种软件产品(Python、Node.js、Ubuntu 等)

  • 缓存最近的查询以供快速参考

特色✨

核心功能

  • 实时 EOL 日期验证

  • 版本支持状态检查

  • 安全漏洞分析

  • 全面版本比较

  • 自然语言查询处理

  • 详细的生命周期验证

工具

  1. check_version

    • 获取 EOL 日期和支持状态

    • 检查最新补丁版本

    • 验证 LTS 状态

    • 验证支持时间表

  2. get_all_details (新!)

    • 获取全面的生命周期详细信息

    • 查看所有版本周期

    • 检查支持时间表

    • 获取验证结果

    • 计算剩余支持天数

  3. compare_versions

    • 比较当前版本与最新版本

    • 获取升级建议

    • 检查兼容性

    • 评估升级紧迫性

    • 验证升级路径

  4. check_cve

    • 安全漏洞扫描

    • 支持状态验证

    • 安全补丁验证

    • 供应商支持检查

  5. list_products

    • 浏览可用的软件

    • 使用过滤器搜索

    • 验证产品名称

    • 获取产品详细信息

提示

  1. check_software_status

    • 验证版本支持

    • 检查 EOL 日期

    • 获取安全状态

  2. compare_versions

    • 分析版本差异

    • 获取升级建议

    • 检查兼容性

  3. analyze_security

    • 安全漏洞分析

    • 支持状态检查

    • 补丁验证

  4. natural_language_query

    • 处理自然语言问题

    • 获取上下文响应

    • 智能版本检测

  5. 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"
      }
    }
  ]
}

对话示例💬

  1. 基本版本检查:

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.
  1. 安全分析:

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.
  1. 版本比较:

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

安装🛠️

  1. 克隆存储库:

git clone https://github.com/ducthinh993/mcp-server-endoflife
cd mcp-server-endoflife
  1. 安装依赖项:

npm install
  1. 构建项目:

npm run build
  1. 创建全局链接:

npm link

配置⚙️

1.Claude桌面配置

配置 Claude Desktop 以识别 EOL MCP 服务器:

对于 macOS:

code ~/Library/Application\ Support/Claude/claude_desktop_config.json

对于 Windows:

code %APPDATA%\Claude\claude_desktop_config.json

添加 EOL 服务器配置:

{
  "mcpServers": {
    "eol": {
      "command": "npx",
      "args": ["/path/to/eol-mcp-server/build/index.js"]
    }
  }
}

2. 重启 Claude Desktop

要使更改生效:

  1. 完全退出 Claude Desktop(不只是关闭窗口)

  2. 重新启动 Claude Desktop

  3. 查找🔌图标以验证 EOL 服务器是否已连接

故障排除

常见问题

  1. 未找到服务器

    • 验证 npm 链接是否正确设置

    • 检查 Claude Desktop 配置语法

    • 确保 Node.js 已正确安装

  2. API 问题

    • 检查 endoflife.date API 是否可以访问

    • 验证 API 响应格式是否未发生改变

    • 检查网络连接

  3. 连接问题

    • 完全重启Claude Desktop

    • 检查 Claude Desktop 日志:

      # macOS
      tail -n 20 -f ~/Library/Logs/Claude/mcp*.log

获取帮助

如果您遇到问题:

致谢🙏

Available Tools

5 tools
check_cveC

Scan for known security vulnerabilities and support status

Inputs: product (required), version (required), vendor.

check_versionB

Check EOL status and support information for software versions

Inputs: product (required), version.

compare_versionsC

Compare versions and get detailed upgrade analysis

Inputs: product (required), version (required).

get_all_detailsB

Get comprehensive lifecycle details for all versions of a product

Inputs: product (required).

list_productsC

Browse or search available software products

Inputs: filter.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no ambiguity: list_products for browsing, get_all_details for comprehensive lifecycle info, check_version for EOL status, compare_versions for upgrade analysis, and check_cve for security scanning. The descriptions clearly differentiate their functions, making misselection unlikely.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with snake_case naming (e.g., list_products, check_version, compare_versions). The naming is predictable and readable throughout the set, with no deviations in style or convention.

    Tool Count5/5

    With 5 tools, this server is well-scoped for its EOL and software lifecycle management purpose. Each tool earns its place by covering distinct aspects of the domain, from product listing to detailed analysis, without being too sparse or bloated.

    Completeness5/5

    The tool set provides complete coverage for the domain, including browsing products, retrieving lifecycle details, checking EOL status, comparing versions for upgrades, and scanning for vulnerabilities. There are no obvious gaps, and the tools support a full workflow from discovery to analysis.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      F
      maintenance
      Provides access to the endoflife.date API to query support and end-of-life information for thousands of software products. It enables users to retrieve detailed release schedules, lifecycle data, and product categories through natural language.
      7
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Software end-of-life intelligence for AI agents: EOL dates, support timelines and 0-100 upgrade risk scores for 480+ products. Check whether a version is still supported, score its risk, or audit an entire stack.
      5
      200 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables checking project files like Dockerfile, .nvmrc, and CI workflows to determine whether pinned runtime, database, and OS versions are still supported, providing end-of-life dates, latest patches, and upgrade targets for 470+ products.
      3
      1
      MIT