Spring项目信息查询服务

通过实现MCP服务器,提供Spring项目版本发布和支持周期的信息查询服务。

  • by martinlippert
  • Java
  • 本地部署
  • 9 星标
  • 更新于
在 GitHub 查看 martinlippert/spring-io-api-mcp

使用说明

Spring AI MCP服务器访问信息https://api.spring.io

使用Spring AI MCP实现MCP服务器,以从以下位置访问Spring项目的数据https://api.spring.io. 为发布版本和支持代提供数据。

构建项目

./mwnw clean package

配置客户端以使用此MCP服务器

将配置添加到MCP服务器配置中(例如,使用VSCode时在Cline中):

    "spring-project-information": {
      "command": "java",
      "args": [
        "-jar",
        "<path-to-project>/target/spring-io-api-mcp-0.0.2-SNAPSHOT.jar"
      ]
    }

示例提示

MCP服务器提供有关Spring项目版本和支持代的信息,因此 你可以问这样的问题:

Which versions of the spring-boot project got released?

或

What is the latest version of the spring-boot project that got released?

要获取有关支持范围的详细信息,您也可以询问此信息:

Until when is the latest version of spring-boot supported in the open-source?

或

Until when is spring-boot 2.7.x supported in the open-source?

或

Can you tell me if spring-data-core will have an updated release within the next 90 days