Spring AI MCP server to access information from https://api.spring.io

Spring AI MCP server to access information from https://api.spring.io

site icon
2025.01.28 5
JavaSpring 项目信息版本管理开发效率
Spring AI MCP server 是一个通过 MCP 协议访问 https://api.spring.io 数据的服务,主要用于提供 Spring 项目的发布版本和支持代际的信息。它可以帮助开发者快速获取 Spring 项目的版本信息和支持状态。
View on GitHub

Overview

基本能力

产品定位

Spring AI MCP server 是一个用于访问 Spring 项目信息的 MCP 服务器,主要服务于开发者和团队,帮助他们快速获取 Spring 项目的版本和支持信息。

核心功能

  1. 提供 Spring 项目的发布版本信息。
  2. 提供 Spring 项目的支持代际信息。
  3. 支持通过 MCP 协议查询 Spring 项目的版本和支持状态。

适用场景

  1. 开发者需要查询 Spring 项目的发布版本信息。
  2. 团队需要了解 Spring 项目的支持状态,以便制定升级计划。
  3. 自动化工具需要集成 Spring 项目的版本信息。

工具列表

  1. MCP 客户端:用于连接和查询 MCP 服务器的工具,支持通过命令行或集成开发环境(如 VSCode)使用。

常见问题解答

  1. 如何配置 MCP 客户端? 在 MCP 客户端配置中添加如下配置: json "spring-project-information": { "command": "java", "args": [ "-Dtransport.mode=stdio", "-Dspring.main.web-application-type=none", "-Dlogging.file.name=/spring-io-api-mcp.log", "-jar", "<path-to-project>/target/spring-io-api-mcp-0.0.1-SNAPSHOT.jar" ] }

使用教程

使用依赖

  1. 确保已安装 Java 运行环境。

安装教程

  1. 克隆项目代码。
  2. 使用以下命令构建项目: bash ./mwnw clean package

调试方式

  1. 启动 MCP 服务器后,可以通过 MCP 客户端发送查询请求,例如:
  2. Which versions of the spring-boot project got released?
  3. What is the latest version of the spring-boot project that got released?
  4. Until when is the latest version of spring-boot supported in the open-source?
  5. Until when is spring-boot 2.7.x supported in the open-source?
  6. Can you tell me if spring-data-core will have an updated release within the next 90 days

许可证

该项目遵循 Apache-2.0 开源许可条款,请参阅 Apache-2.0 了解完整条款。